What's the best approach for creating an embedded Postgresql to be used in production?

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • otj-pg-embedded

    Java embedded PostgreSQL component for testing

  • The DB is not usually huge and shouldn't scale, so we thought it's fine to use an embedded DB. Since we're already using Postgresql it makes sense to use Postgres as the embedded DB, but I noticed Spring boot doesn't seem to support it like H2, after searching further online I've found a repo https://github.com/opentable/otj-pg-embedded that uses docket containers approach to "embedd" the db to our java code.

  • sqlite-jdbc

    SQLite JDBC Driver

  • There is https://github.com/xerial/sqlite-jdbc, a full packaged sql lite for Java. We use it in production apps to store local user profile data. It works, is stable.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts