Skip to content

Optimize Postgres storage concurrent connection count #328

@khawarizmus

Description

@khawarizmus

Context:

The official documentation recommends 100 to 200 concurrent connections per container.. There is an undocumented configuration that allows us to increase the number of concurrent connections per Powersync instance

api:
  parameters:
    max_concurrent_connections: 1000

The team has made a 10-5X improvements on the number of concurrent connections possible for Powersync useing MongoDB as a storage since then.

See:

For more context see this Discord thread

This is issue is to track similar improvement but for Postgres. It is also aims to help the team do a better triage.

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