Hacker GitHub

← All repos

zonkyio/embedded-postgres

View on GitHub ↗ ★ 489 Java

Java embedded PostgreSQL component for testing

7 mentions on Hacker News by 5 people: 0 stories, 7 comments · first 2023-01-19 · latest 2025-06-06

Mentions per year 7 mentions · busiest year 2023 (3)
20082026
  1. For Clojure and Java apps, check out Zonky ( https://github.com/zonkyio/embedded-postgres ). It provides a similar experience on the JVM, but instead of containers or WASM, you're running an embedded native binary.
    comment by perrygeo · 2025-06-06 · in Test Postgres in Python Like SQLite
  2. …I don’t think there’s that much interest, but it is doable. EDIT: https://github.com/zonkyio/embedded-postgres
  3. There's a similar JVM version here: https://github.com/zonkyio/embedded-postgres It's well maintained and seems to do what it says on the tin. I start it up once across all the suites (managing DB state as required in the suite) and the…
  4. You can just run postgres natively: https://github.com/zonkyio/embedded-postgres-binaries + https://github.com/zonkyio/embedded-postgres or through WASM: https://github.com/electric-sql/pglite
    comment by alright2565 · 2024-02-28 · in Testcontainers
  5. Little use if you’re not on the JVM but I’ve had great success with Embedded Postgres: https://github.com/zonkyio/embedded-postgres Each test just copies a template database so it’s ultra fast and avoids the need for complicated reset…
  6. …have to be as slow as people like to make out - Embedded Postgres is quite fast, for example: https://github.com/zonkyio/embedded-postgres Same with network services - it's not slow to chat to localhost and you'll find more issues testing…
  7. …file part) and starts surprisingly fast. That would totally work for a little proof of concept ( https://github.com/zonkyio/embedded-postgres )