Skip to content

betarixm/rtl

Repository files navigation

rtl

CSE@POSTECH

Screenshot

rtl is realtime lottery framework for POSTECH. It selects one of the participants counted in realtime using Django Channels.

Return-to-Libc intended 😆

TL;DR

docker-compose up --build --scale core-asgi=8 --scale core-wsgi=4 -d

Scale up the services as much as you need. The asgi service handles the websocket protocol, and the wsgi service handles the HTTP protocol. Don't forget to modify .env to suit your environment.

Structure

Core

It is the main engine of rtl. Django Channels is a key part for real-time aggregation. This engine uses two types of servers for deployment. The websocket protocol is handled by the asgi application of this engine, which is served by Daphne. HTTP is handled by the wsgi part, served by gunicorn. Each of these is routed through the load balancer specified in the docker-compose.yml.

App

This is rtl's frontend engine. Using CRACO, React and Tailwind CSS are applied to this engine. This is based on typescript.

Use Cases

  • POSTECH-KAIST Science War Victory Celebration 2021 Link
  • Introducing My Research 2021 Link
  • POSTECH President's League of Legends Championship Link