-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Currenly we have a pool of threads to resolve queries at DNode, and each has a threadlocal cached connection for each partition. So we can potentially have pool_size * num_partitions number of SQLite connections opened. That is too much, and it is also ineffective, as it is very unlikely to use a cached connection.
Change current system to use SQLite Job Queues to solve this problem. See https://code.google.com/p/sqlite4java/wiki/JobQueue
The idea is to try to minimize the number of cached connections, having a flexible pool of connections per partition that can adapt to load.
Metadata
Metadata
Assignees
Labels
No labels