crdbpool
crdbpool copied to clipboard
node aware connection pooling for CockroachDB
Right now, the integration tests for this library live in authzed/spicedb and use lots of spicedb-specific testing utilities. They should be moved here and run on PRs.
Alternatives to consider: - a separate pgxpool with small lifetimes (re-use pgx's jitter, make less connection garbage by using pre-allocated connections) - detect if we have admin permission and directly...
Stack Log ``` $ go mod tidy go: finding module for package github.com/authzed/crdbpool go: found github.com/authzed/crdbpool in github.com/authzed/crdbpool v0.1.0 go: blockchain-indexer/pkg/storage imports github.com/authzed/crdbpool: no Go source files ``` Dependencies ```...