Re:ArangoDB: Multi-model highly available NoSQL database
by grumpydba on Thursday January 17, 2019 @02:07AM
(#18928950)
That's why you need a connection pool. That's true for all database systems.
[ Parent
| on HN ]
Re:ArangoDB: Multi-model highly available NoSQL database
by cbsmith on Thursday January 17, 2019 @02:37AM
(#18929063)
Not all databases systems require a connection pool, though it is often a good idea.
Re:ArangoDB: Multi-model highly available NoSQL database
by grumpydba on Thursday January 17, 2019 @03:04AM
(#18929162)
I disagree. I've faced incidents on oracle/sql server/postgres/sybase instances when several hundreds of connections where spawned.
You definitely need to think about pooling fro the beginning of the design of your application.
Re:ArangoDB: Multi-model highly available NoSQL database
by cbsmith on Thursday January 17, 2019 @04:37AM
(#18929516)
Yes, all of those databases allocate query memory for queries at connection time, and consequently don't scale efficiently for large number of idle clients. That's not all databases. Some don't do that. Some don't even do connections period.
Connection pools are a necessary work around for a specific design decision with the system software. They can be helpful other problems as well, but they aren't necessarily a requirement.