Commit 60073ec
authored
Replace ateredis with atepg (agent-substrate#940)
## Summary
A follow up to agent-substrate#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:
-
https://docs.google.com/document/d/10K0wB6aTeFkJCL4HN3NbLJCdFGoLYdhIcqkFnqFHkKc/edit?usp=sharing
-
https://docs.google.com/document/d/12-ko_BFHcBo_nJkx9f4B7zMbiiWKC2saGhMhZG3aQ-s/edit?usp=sharing
---------
Signed-off-by: Jet Chiang <pokyuen.jetchiang-ext@solo.io>1 parent 8f3b500 commit 60073ec
317 files changed
Lines changed: 306 additions & 92081 deletions
File tree
- .github/workflows
- LICENSES
- github.com
- alicebob/miniredis/v2
- fpconv
- geohash
- gopher-json
- hyperloglog
- metro
- dgryski/go-rendezvous
- redis/go-redis/v9
- yuin/gopher-lua
- go.uber.org/atomic
- benchmarking/locust/common
- cmd
- ateapi
- internal
- actoridentity
- controlapi
- functionaltest
- store
- atepg
- ateredis
- storecontract
- storetest
- workercache
- kubectl-ate
- internal/cmd
- podcertcontroller/internal
- podidentitysigner
- servicednssigner
- docs
- dev
- hack
- manifests/ate-install
- base
- kind
- postgres
- pkg/proto/ateapipb
- vendor
- github.com
- alicebob/miniredis/v2
- fpconv
- geohash
- gopher-json
- hyperloglog
- metro
- proto
- server
- size
- dgryski/go-rendezvous
- redis/go-redis/v9
- auth
- internal
- auth/streaming
- hashtag
- hscan
- interfaces
- maintnotifications/logs
- otel
- pool
- proto
- rand
- routing
- util
- maintnotifications
- push
- yuin/gopher-lua
- ast
- parse
- pm
- go.uber.org/atomic
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
This file was deleted.
Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 0 additions & 21 deletions
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments