Hi, I’m in the process of cleaning up a really messy multi-tennant app, and one of the things I’m doing is making a control panel application that all our application clusters will talk to for getting customer specific (ie site specific) config info and service discover info. This means the web servers will be hitting the control panel on every request, so that should be super quick and able to handle as much traffic as we need. The response however will be very small and simple (what’s your db, what modules are you using, are you in maintenance, etc). I benchmarked doing the control panel db in elixir hitting a materialized view in mysql for data and got great results, way faster than just doing it in Python (8 times more load actually). I’m wondering if even better results would be achieved by cutting out the DB and having the control panel app talk to genservers for each customer install. Wondering if anyone has experience on what kind of throughput and latency we get from messages to and from genservers versus hitting a database. (I could see per customer genservers being useful in other ways too).
Thanks!
iain