Skip to content

optimize db connection pool  #5

@siddontang

Description

@siddontang

Now, xcodis use different connection pool for different dbs, this is may be horrible if we want to support 1024 dbs or more.

We may need another better connection pool management. like

  • every server has a connection pool not db.
  • use a LIFO cache to store a connection for a db. if no associated db connection, we may use random and then do SELECT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions