socket

Multi-core twisted with systemd socket activation

2 minute read Published: 2017-04-26

With a stateless Twisted app you can scale by adding more instances. Unless you are explicitly offloading to subprocesses you will often have spare cores on the same box as your existing instance. But to exploit them you end up running haproxy or faking a load balancer with iptables. Are there any other options?