rtl
is realtime lottery framework for POSTECH. It selects one of the participants counted in realtime
using Django Channels.
Return-to-Libc intended 😆
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.
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.
This is rtl
's frontend engine. Using CRACO, React
and Tailwind CSS are applied to this engine. This is based on typescript.