Live data from Hacker News

You can now directly sync Postgres with Redis

github.com

1–10 of 21 posts

Re: You can now directly sync Postgres with Redis

#5
post #4

Since db cache consistency is a complex research space with things like https://readyset.io/ and https://www.usenix.org/system/files/conference/nsdi13/nsdi13... it would be great to hear more specifics about what this is giving up in order to sidestep all that complexity.

There’s also Polyscale as a service.

Re: You can now directly sync Postgres with Redis

#7
It'd be nice to see documentation of how it works. Is it using a replication channel for Postgres? The write-ahead log? It looks like it does schema introspection and then works off that. How does it handle schema changes? How does this work in scenarios where you have multi-master replication? What's the compatibility with popular Postgres extensions like PostGIS? What happens if the database is rebooted or crashes? Yes I realize the source is there.

Re: You can now directly sync Postgres with Redis

#8

No Pricing information nor an open-source project. I don't know what to do with this product.

Assuming the link to the repo is correct: it's open source. https://github.com/redfly-ai-org/redfly.ai/blob/main/LICENSE

I believe this is another case of abusing GitHub for visibility, not actually doing anything meaningful open source

The code in the repo just seems to be connection code ("provides a way for anybody to test our Redis synchronization service on demand") rather than the sync service itself

Re: You can now directly sync Postgres with Redis

#9
Did you really mean to leave your AES key in the code in RedflyEncryptionKeys?

> public const string AesKey = ...

Also, the way AES is used in the code is not good practice. It seems to be using plain AES ( https://learn.microsoft.com/en-us/dotnet/api/system.security... ), which isn't meant to be used bare like that. It needs to be coupled with a digest algorithm to protect the ciphertext. Maybe use AesGcm instead?

Post reply on HN