-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Description
I noticed that the quickstart image currently starts PostgreSQL whenever stellar-core is enabled, and maintains a separate core database for stellar-core's data.
However, stellar-core supports SQLite, and captive-core (used by both Horizon and RPC) already uses SQLite successfully within this same image.
With RPC becoming more prevalent as the primary interface (vs Horizon), there may be scenarios where users run stellar-core and RPC instead of stellar-core, Horizon, and RPC - in which case PostgreSQL would be running solely for core's database.
If stellar-core switched to SQLite instead:
- PostgreSQL would only start when Horizon is enabled
- The image would be lighter/simpler for core+RPC configurations which will probably become the default configuration in the future
- This aligns with how captive-core already operates
Concerns:
- Users running persistent mode might expect to query core's PostgreSQL database directly
- This would be a breaking change for existing persistent volumes that have a
coredatabase - I've made breaking changes to the image before without hearing complaints, so it's hard to gauge if anyone actually relies on this
Questions:
- Is anyone querying stellar-core's database directly via PostgreSQL?
- Would switching to SQLite for stellar-core cause issues for your workflow?
Looking for feedback before considering any changes.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done