-
|
Today I realized that Redis was used for entity storage and was quite shocked. Redis cannot be a reliable and durable store for entities. At best, it can be a caching layer. I understand that Redis can save to disk, but it's still not as reliable as an RDBMS. Was there a particular technical decision that led to this? Are there any plans to provide a more durable storage layer, such as PostgreSQL? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi there! It was an intentional technical decision from our side to use Redis for entity storage. With the right configuration, we believe it can be highly available and reliable, similar to RDBMS. We decided to decouple entity storage & log storage, using different technology, learning from our experience building Hookdeck, specifically around the log storage. We intended to use ClickHouse for that purpose and decided that Redis can be a reliable option for entity storage as well as other KV usage to simplify the stack. The alternative would have been Redis for KV, Postgres for entity, and ClickHouse for log storage, which is doable but a bit more complex than necessary. With that in mind, supporting another option such as PostgreSQL for entity storage is something we considered but it's currently not on our immediate roadmap. If this is something you and the community strongly prefer, we can consider and re-prioritize accordingly. Hope that gives you some insights into our decision making and please let us know if you have anything else in mind. We'd love to learn more if you have resources documenting Redis shortcomings or issues with its reliability. |
Beta Was this translation helpful? Give feedback.
Hi there!
It was an intentional technical decision from our side to use Redis for entity storage. With the right configuration, we believe it can be highly available and reliable, similar to RDBMS.
We decided to decouple entity storage & log storage, using different technology, learning from our experience building Hookdeck, specifically around the log storage. We intended to use ClickHouse for that purpose and decided that Redis can be a reliable option for entity storage as well as other KV usage to simplify the stack. The alternative would have been Redis for KV, Postgres for entity, and ClickHouse for log storage, which is doable but a bit more complex than necessary.
With that in min…