Skip to content

Instantly share code, notes, and snippets.

@risha700
risha700 / DJANGO_TWISTED_HAPROXY.md
Created October 3, 2021 08:25 — forked from sspross/DJANGO_TWISTED_HAPROXY.md
Serving Django and Twisted using HAproxy

Serving Django and Twisted using HAproxy

Why?

Because we wanted to achive the following while developing a webapp using websockets:

Static serving (nginx), Django application (gunicorn) and Websockets service (twisted)

  • on the same IP
@risha700
risha700 / .md
Last active March 13, 2024 23:02

Q1.

// Q1

// Toy class
class Toy {
    constructor(id, name, price, category) {