Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Optimize DB performance at the connection pool level #195

@i-norden

Description

@i-norden

Test the following, incorporate improvements:

  • Increase MaxIdleConns

  • Separate connection pools for backfill, sync, and serve processes

  • Increase max_connections in postgresql.conf

  • Prioritize sync db connections over backfill connections (sql/sqlx.DB does not provide this level of control natively, this is much more involved than any of the above)

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