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

A recent experience with ChatGPT 5.5 Pro

https://gowers.wordpress.com/2026/05/08/a-recent-experience-with-chatgpt-5-5-pro/
319•_alternator_•7h ago•171 comments

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
1044•anonymousiam•15h ago•358 comments

Using Claude Code: The unreasonable effectiveness of HTML

https://twitter.com/trq212/status/2052809885763747935
147•pretext•5h ago•83 comments

Mythical Man Month

https://martinfowler.com/bliki/MythicalManMonth.html
162•ingve•2d ago•110 comments

OpenAI’s WebRTC problem

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

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
642•defrost•22h ago•125 comments

What causes lightning? The answer keeps getting more interesting

https://www.quantamagazine.org/what-causes-lightning-the-answer-keeps-getting-more-interesting-20...
57•Tomte•2d ago•6 comments

America's carpet capital: an empire and its toxic legacy

https://apnews.com/projects/pfas-forever-stained/
18•rawgabbit•2d ago•2 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
335•speckx•16h ago•133 comments

AWS North Virginia data center outage – resolved

https://www.cnbc.com/2026/05/08/aws-outage-data-center-fanduel-coinbase.html
227•christhecaribou•1d ago•147 comments

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

https://www.wiisfi.com/
242•homebrewer•2d ago•62 comments

The React2Shell Story

https://lachlan.nz/blog/the-react2shell-story/
145•mufeedvh•17h ago•8 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
344•willmeyers•17h ago•108 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
452•ColinWright•22h ago•158 comments

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

https://ze3tar.github.io/post-zcrx.html
186•MrBruh•14h ago•109 comments

Teaching Claude Why

https://www.anthropic.com/research/teaching-claude-why
166•pretext•16h ago•79 comments

Can LLMs model real-world systems in TLA+?

https://www.sigops.org/2026/can-llms-model-real-world-systems-in-tla/
85•mad•17h ago•20 comments

The soul of maintaining a new machine

https://books.worksinprogress.co/book/maintenance-of-everything/communities-of-practice/the-soul-...
53•akkartik•3d ago•5 comments

Roadside Attraction

https://theoffingmag.com/essay/roadside-attraction/
22•aways•14h ago•3 comments

Bitter Lessons from the ISSpresso

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

Serving a website on a Raspberry Pi Zero running in RAM

https://btxx.org/posts/memory/
224•xngbuilds•19h ago•89 comments

Mojo 1.0 Beta

https://mojolang.org/
349•sbt567•1d ago•221 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...
75•geox•2d ago•22 comments

All my clients wanted a carousel, now it's an AI chatbot

https://adele.pages.casa/md/blog/all-my-clients-wanted-a-carousel-now-it-s-an-ai-chatbot.md
93•edent•2h ago•40 comments

PortalVR Motion – use any VR content in 2D with 3D tracked Joy-Cons

https://portalvr.io/motion
20•gfodor•2d ago•1 comments

US Government releases first batch of UAP documents and videos

https://www.war.gov/UFO/
299•david-gpu•22h ago•437 comments

All means are fair except solving the problem

https://yosefk.com/blog/all-means-are-fair-except-solving-the-problem.html
57•akkartik•2d ago•46 comments

How to Optimize MongoDB Query Performance with Indexes

https://visualeaf.com/blog/mongodb-query-optimization-indexes/
10•RoxiHaidi•2d ago•1 comments

EU calls VPNs "a loophole that needs closing" in age verification push

https://cyberinsider.com/eu-calls-vpns-a-loophole-that-needs-closing-in-age-verification-push/
214•muse900•4h ago•158 comments

When is your birthday? The math behind hash collisions

https://0xkrt26.github.io/math_behind_security/2026/05/08/birthday-problem.html
48•denismenace•14h ago•8 comments