This is a proof-of-concept of a live online interface. Everything you see here is synchronized across the entire world for everyone, anywhere, in real-time.
When someones flips a toggle, everyone in the entire world will see the page instantly change.
Test it out by opening new tabs, getting everyone nearby on their smartphones, and interacting with the toggles all at the same time.
Note: doing this usually ends in complete chaos with toggles flipping up and down and team "all-toggles-on" fighting team "all-toggles-down". YMMV.
If you have a reasonably good internet connection (and I hope you do), you will notice that this thing is very fast.
To be precise, it is so fast that the only bottleneck is your internet connection to the server.
You might have noticed the request processing time above is counted in microseconds (µs). The average server processing time for a toggle has been optimized down to less than 1µs on a good machine and around 8µs on a slower machine (also known as my cheap server).
This means that on its good days this server can process more than 300,000 requests in the time it takes you to blink once!
This includes processing your request, updating the new state, sharing it with everyone, measuring performance time, etc. Once you include the fact that the website is running on my $5/month instance atrociously not fit for this purpose, you understand that this is an amazing result: Faster than a Lightning Bolt!
Dark magic and full moons.
More seriously, this is achieved through careful selection of technologies and a solid application of software engineering craftmanship.
The full writeup is in progress and hopefully will be published soon-ish in the section about the website. I will get to it eventually...
Meanwhile, if you are interested, please reach out. You have made it this far so you are either someone I know or a curious person and I would love to chat!