Skip to content

ateapi: Support Postgres as alternative persistence backend - #640

Draft
Jet Chiang (supreme-gg-gg) wants to merge 5 commits into
agent-substrate:mainfrom
supreme-gg-gg:feat/postgres
Draft

ateapi: Support Postgres as alternative persistence backend#640
Jet Chiang (supreme-gg-gg) wants to merge 5 commits into
agent-substrate:mainfrom
supreme-gg-gg:feat/postgres

Conversation

@supreme-gg-gg

@supreme-gg-gg Jet Chiang (supreme-gg-gg) commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Opening this draft PR for initial review and comments for adding Postgres for ateapi data store.

Slack discussion: https://cloud-native.slack.com/archives/C0B6M3E2J3D/p1785183769252679

Benchmark results for Postgres vs Redis: https://docs.google.com/document/d/12-ko_BFHcBo_nJkx9f4B7zMbiiWKC2saGhMhZG3aQ-s/edit?usp=sharing

Benchmarks are not included in this PR, but you can reproduce the results by following the doc above

Limitations and questions:

  • This draft does not yet handle migrations, what would be our requirements regarding schema migrations?
  • It currently uses testcontainers for testing Postgres, but as a result it adds a lot of dependencies
  • Do we want to support user migration between Redis and Postgres

Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
…h backends

Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant