5 ms·
One thing that comes to mind is for shared connection pools when you have thousands of workers connecting to the same stateful service.
by rbjorklin 5y ago
One thing that comes to mind is for shared connection pools when you have thousands of workers connecting to the same stateful service.
- TekMol 5y agoWhich use case requires such a setup?
- lazide 5y agoMost databases (unfortunately), and since a ton of web apps use databases for state.. That said, many such databases are (or already have) rolled out connection pool proxies for reasons like this, so meh.
- lanstin 5y agoWeb front end backed by data base with expensive login, so you cache connections. Two tier architecture it would be called.
- Spivak 5y agoMySQL comes to mind. Unlike Postgres where connections are expensive MySQL encourages loading up the server with hundreds of simultaneous connections per server. Like anything, it’s possible to split this work out to a separate process but the IPC overhead is a lot.