Lev Kokotov

Lev Kokotov

Founder/CEO · PgDog
Company
PgDog
Location
San Francisco, United States

Lev Kokotov and PgDog: a sharding, pooling and load-balancing engine for Postgres

Lev Kokotov is the founder and CEO of PgDog in San Francisco. A second-time technical founder, Kokotov sharded Postgres at Instacart in 2020 during a period of peak growth and previously built PostgresML.

Visit website →

Is this your profile? Claim it to manage what it says.

The PgDog story

PgDog is a scaling engine for PostgreSQL that understands SQL and can distribute queries automatically between databases, without requiring changes to an application's code or schema. It is built to work with managed databases such as AWS RDS.

Beyond sharding, PgDog also works as a connection pooler and load balancer, acting as a replacement for tools like PgBouncer and RDS Proxy: it can share a small number of Postgres connections across more than 100,000 clients, distribute reads between replicas, detect replication lag and hardware failures, and move write traffic to a new primary during a failover, all through one endpoint. The company says PgDog handles 3M+ queries per second and 50,000+ transactions per second per thread in production.

PgDog has raised a $5.5M seed round, according to the company. It is based in San Francisco and went through Y Combinator's Spring 2025 batch.

More founders