|
|
|
|
|
by mcherm
3530 days ago
|
|
For what it's worth, what we've been doing is building a separate service for talking to the database, which itself maintains a single common database connection pool. I can't say yet whether that turns out to be a good idea or a poor one. (I'm not the one who designed and built it.) One notable feature of our implementation is that it eliminates all possibility of using transactions -- a design oversight that worries me. |
|
This has the added effect of making your system more reliable because you'll be using queues and you have a shorter window when a process can die and hang a db connection that is trying to roll back.