Skip to content

Add connection pool #25

Open
Open
@puzpuzpuz

Description

@puzpuzpuz

Many of our users write to QuestDB as a part of HTTP request processing. The simplest way to do that is to open a new connection on each HTTP request, but this has high overhead and also puts no limit on the number of active connections. We should implement a connection pool similar to the pg's one: https://github.com/brianc/node-postgres/blob/b03c071d2d15af259e1e008e9628191c865e58fa/packages/pg-pool/index.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions