Skip to content

Replace ateredis with atepg - #940

Open
Jet Chiang (supreme-gg-gg) wants to merge 10 commits into
agent-substrate:mainfrom
supreme-gg-gg:feat/remove-redis
Open

Replace ateredis with atepg#940
Jet Chiang (supreme-gg-gg) wants to merge 10 commits into
agent-substrate:mainfrom
supreme-gg-gg:feat/remove-redis

Conversation

@supreme-gg-gg

Copy link
Copy Markdown
Collaborator

Summary

A follow up to #640 where we introduced PostgreSQL as an alternative storage backend, selected conditionally in ateapi.

  • Deleted ateredis, its tests, and its dependencies
  • Removed Redis backend selection and configuration so ateapi always connects to Postgres
  • Replaced Valkey resources with Postgres in the standard and Kind deployment paths and simplified install script
  • Replaced miniredis fixtures with isolated Postgres testcontainers and added centralized helpers for seeding resources
  • Renamed Redis-specific debug flush command to backend-neutral debug-clear-store in CLI
  • Updated comments and docs where applicable

Benchmarking

Extensive benchmarking have been performed to evaluate Redis vs Postgres, and results can be found in these two documents:

@supreme-gg-gg Jet Chiang (supreme-gg-gg) changed the title Replace ateredis with atepg [Draft] Replace ateredis with atepg Aug 13, 2026
@supreme-gg-gg Jet Chiang (supreme-gg-gg) changed the title [Draft] Replace ateredis with atepg Replace ateredis with atepg Aug 13, 2026
@supreme-gg-gg
Jet Chiang (supreme-gg-gg) marked this pull request as ready for review August 14, 2026 15:37

@EItanya Eitan Yarmush (EItanya) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very large PR, but so far this is my main comment

Comment thread cmd/ateapi/main.go
…ocs to remove redis reference

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>
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>
…'re only using postgres

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.

2 participants