frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

You can now directly sync Postgres with Redis

https://github.com/redfly-ai-org/redfly.ai
22•vijaymohan1979•1y ago

Comments

yohannparis•1y ago
No Pricing information nor an open-source project. I don't know what to do with this product.
jasonlotito•1y ago
Assuming the link to the repo is correct: it's open source.

https://github.com/redfly-ai-org/redfly.ai/blob/main/LICENSE

bradleyjkemp•1y ago
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

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
maxmcd•1y ago
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.
_1tem•1y ago
There’s also Polyscale as a service.
vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
henning•1y ago
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.
porridgeraisin•1y ago
> Yes, I realize the source is there

It isn't actually. The codein the repo just seems to be some scaffolding.

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
hangonhn•1y ago
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?

foxyv•1y ago
The reason for this is that AES is not an authenticated algorithm so there is no way to determine if the ciphertext has been modified since encryption. The ciphertext could be modified/corrupted and you wouldn't know.

Also, AES is deterministic and will encrypt the same data the same way every time. This means if you are encrypting a lot of fields you will be able to do statistical attacks. Using an initialization vector with AES GCM is similar to salting a hash. This way there is no statistical method to determine the contents of the ciphertext.

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
solatic•1y ago
Can someone ELI5 where this is going to be valuable?

If you set up Postgres read replicas, make sure your queries are covered by appropriate indexes, and your hot queries are handled by Postgres from RAM anyway - do you really need a separate Redis cache?

I feel like anytime I'm going to pull in Redis for a cache, it's going to be for data that I'm not interested in having guaranteed persistency for, like session tokens, and so it'll be for data that I wouldn't be storing in Postgres anyway?

lotharcable•1y ago
Probably useful for sharing stuff with services that already have access to redis, but you don't want to add SQL client dependencies for and/or don't want to give access to your database.

But you want to be able to store/have single source of authority and update them using a SQL database.

This would then eliminate the need to maintain a separate lambda or cron job or something like that to keep them in sync.

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
672•anonymousiam•8h ago•241 comments

OpenAI's WebRTC problem

https://moq.dev/blog/webrtc-is-the-problem/
144•atgctg•1d ago•33 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
259•speckx•8h ago•113 comments

The React2Shell Story

https://lachlan.nz/blog/the-react2shell-story/
59•mufeedvh•10h ago•5 comments

Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7/8 (802.11 n/AC/ax/be/bn)

https://www.wiisfi.com/
103•homebrewer•2d ago•40 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
291•willmeyers•10h ago•98 comments

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
468•defrost•14h ago•95 comments

Bitter Lessons from the ISSpresso

https://mceglowski.substack.com/p/bitter-lessons-from-the-isspresso
22•zdw•2d ago•4 comments

AWS North Virginia data center outage – recovery to take hours

https://www.cnbc.com/2026/05/08/aws-outage-data-center-fanduel-coinbase.html
145•christhecaribou•23h ago•94 comments

You gave me a u32. I gave you root. (io_uring ZCRX freelist LPE)

https://ze3tar.github.io/post-zcrx.html
145•MrBruh•7h ago•88 comments

Light without electricity? Glowing algae could make it possible

https://www.colorado.edu/today/2026/05/06/light-without-electricity-glowing-algae-could-make-it-p...
24•geox•2d ago•8 comments

Can LLMs model real-world systems in TLA+?

https://www.sigops.org/2026/can-llms-model-real-world-systems-in-tla/
34•mad•10h ago•3 comments

When is your birthday? The math behind hash collisions

https://0xkrt26.github.io/math_behind_security/2026/05/08/birthday-problem.html
23•denismenace•6h ago•3 comments

Teaching Claude Why

https://www.anthropic.com/research/teaching-claude-why
100•pretext•8h ago•30 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
377•ColinWright•15h ago•151 comments

Serving a website on a Raspberry Pi Zero running in RAM

https://btxx.org/posts/memory/
196•xngbuilds•11h ago•82 comments

Mythical Man Month

https://martinfowler.com/bliki/MythicalManMonth.html
4•ingve•1d ago•0 comments

Mux (YC W16) Is Hiring

https://www.mux.com/jobs
1•mmcclure•5h ago

Looking at the data behind prediction markets

https://asteriskmag.com/issues/14/are-prediction-markets-good-for-anything
60•kqr•1d ago•29 comments

Meta Shuts Down End-to-End Encryption for Instagram Messaging

https://www.pcmag.com/news/meta-shuts-down-end-to-end-encryption-for-instagram-dms-messaging
165•tcp_handshaker•5h ago•115 comments

Rumors of my death are slightly exaggerated

1554•CliffStoll•2d ago•240 comments

Tesla Model Y Passes NHTSA's New 'Advanced Driver Assistance System' Tests

https://www.nhtsa.gov/press-releases/tesla-model-y-first-vehicle-pass-nhtsa-new-advanced-driver-a...
48•amanaplanacanal•3h ago•39 comments

Mojo 1.0 Beta

https://mojolang.org/
295•sbt567•1d ago•186 comments

Human typing habits and token counts

https://pankajpipada.com/posts/2026-05-08-human-habits-tokens/
12•ppipada•13h ago•2 comments

US Government releases first batch of UAP documents and videos

https://www.war.gov/UFO/
240•david-gpu•14h ago•368 comments

Non-determinism is an issue with patching CVEs

https://flox.dev/blog/achieving-rapid-cve-remediation-in-an-era-of-escalating-vulnerabilities/
39•mathewpregasen•5h ago•12 comments

Hosting a site on a Raspberry Pi

https://m4rt.nl/blog/hosting-on-a-pi
16•swiftdust•1d ago•3 comments

People Hate AI Art

https://mccue.dev/pages/5-8-26-ai-art
70•3dedb728-3f77•2h ago•41 comments

Poland is now among the 20 largest economies

https://apnews.com/article/poland-economy-growth-g20-gdp-26fe06e120398410f8d773ba5661e7aa
910•surprisetalk•14h ago•736 comments

How do I deal with memory leaks? (2022)

https://www.stroustrup.com/bs_faq2.html#memory-leaks
77•theanonymousone•9h ago•65 comments