How many microservices does it take to turn on a lightbulb

@sn0w I know this is a joke, but when I see a lot of corporative names in a panel, my brain simply disconnects :blobmelt:

@sn0w Whoever designed that system architecture is either afraid for their job or they're have no idea what they're doing.

Alors du coup, l'ampoule de 10W, faut combien de watts pour l'éteindre ? En fait c'est peut-être mieux pour la planète de ne plus éteindre nous lumières...

Oops, did not realise you weren't French...

So, how many What are needed to turn off one 10W lightbulb? Maybe leaving our lights on would be more eco-friendly...

@sn0w I had a chuckle at this. Then I realised it wasn't a joke.

@sn0w 200. 195 to pad the design, 4 to build the database schema and 1 to actually turn on the bulb :)

Haha. It isn't *that* complicated tbh.

The actual hot path to turn on the light on is two services and a redis server to act as the messaging queue.

The other part of that diagram is analytics (i.e. how they make money off you).

That said, it could all be replaced with one Home Assistant server running locally.

Sign in to participate in the conversation

Welcome to! This is a small instance for people who love cofe ☕. You're more than welcome to join and hang out with us. The instance is not focused on any particular topic, but the most frequent ones are Anime, Gaming and Programming. Rules and other details can be found here. Our Terms of Service are here.

Note: is an experimental instance. The updates are frequent and rolling, and there *will* be tweaks to the codebase. If you sign up you should expect downtimes, glitches, or bugs from time to time.