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•11mo ago

Comments

yohannparis•11mo ago
No Pricing information nor an open-source project. I don't know what to do with this product.
jasonlotito•11mo 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•11mo 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•11mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
maxmcd•11mo 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•11mo ago
There’s also Polyscale as a service.
vijaymohan1979•11mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
vijaymohan1979•11mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
henning•11mo 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•11mo ago
> Yes, I realize the source is there

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

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

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
305•sam-bee•4h ago•126 comments

We found an undocumented bug in the Apollo 11 guidance computer code

https://www.juxt.pro/blog/a-bug-on-the-dark-side-of-the-moon/
250•henrygarner•5h ago•127 comments

Claude Code is locking people out for hours

https://github.com/anthropics/claude-code/issues/44257
69•sh1mmer•30m ago•57 comments

Dropping Cloudflare for Bunny.net

https://jola.dev/posts/dropping-cloudflare
185•shintoist•2h ago•89 comments

Cloudflare targets 2029 for full post-quantum security

https://blog.cloudflare.com/post-quantum-roadmap/
23•ilreb•1h ago•3 comments

Show HN: A cartographer's attempt to realistically map Tolkien's world

https://www.intofarlands.com/atlasofarda
81•intofarlands•3h ago•15 comments

Every GPU That Mattered

https://sheets.works/data-viz/every-gpu
217•jonbaer•6h ago•122 comments

You can't cancel a JavaScript promise (except sometimes you can)

https://www.inngest.com/blog/hanging-promises-for-control-flow
29•goodoldneon•2h ago•19 comments

Identify a London Underground Line just by listening to it

https://tubesoundquiz.com/
124•nelson687•5h ago•35 comments

9 Mothers (YC P26) Is Hiring – Lead Robotics and More

https://jobs.ashbyhq.com/9-mothers?utm_source=x8pZ4B3P3Q
1•ukd1•1h ago

Wi-Fi That Can Withstand a Nuclear Reactor: This receiver chip can take it

https://spectrum.ieee.org/robotics-in-nuclear-industry
49•voxadam•4d ago•2 comments

Show HN: Stop paying for Dropbox/Google Drive, use your own S3 bucket instead

https://locker.dev
164•Zm44•4h ago•132 comments

My Experience as a Rice Farmer

https://xd009642.github.io/2026/04/01/My-Experience-as-a-Rice-Farmer.html
270•surprisetalk•5d ago•128 comments

SQLite in Production: Lessons from Running a Store on a Single File

https://ultrathink.art/blog/sqlite-in-production-lessons
63•thunderbong•3d ago•34 comments

Blackholing My Email

https://www.johnsto.co.uk/blog/blackholing-my-email/
118•semyonsh•6h ago•11 comments

Global Physics Photowalk: 2025 winners revealed

https://www.quantamagazine.org/global-physics-photowalk-2025-winners-revealed-20260401/
5•ibobev•3d ago•0 comments

Running Out of Disk Space in Production

https://alt-romes.github.io/posts/2026-04-01-running-out-of-disk-space-on-launch.html
101•romes•4d ago•44 comments

DeiMOS – A Superoptimizer for the MOS 6502

https://aransentin.github.io/deimos/
44•Aransentin•4h ago•13 comments

AI may be making us think and write more alike

https://dornsife.usc.edu/news/stories/ai-may-be-making-us-think-and-write-more-alike/
154•giuliomagnifico•4h ago•149 comments

Haunting Photos Show the Aftermath of the Kursk Submarine Disaster in 2000

https://rarehistoricalphotos.com/kursk-submarine-disaster-photos/
82•mooreds•4d ago•19 comments

Show HN: Pion/handoff – Move WebRTC out of browser and into Go

https://github.com/pion/handoff
58•Sean-Der•3h ago•11 comments

Floating point from scratch: Hard Mode

https://essenceia.github.io/projects/floating_dragon/
67•random__duck•2d ago•14 comments

Breaking the console: a brief history of video game security

https://sergioprado.blog/breaking-the-console-a-brief-history-of-video-game-security/
59•sprado•5h ago•15 comments

Sam Altman may control our future – can he be trusted?

https://www.newyorker.com/magazine/2026/04/13/sam-altman-may-control-our-future-can-he-be-trusted
1746•adrianhon•1d ago•716 comments

Record wind and solar saved UK from gas imports worth £1B in March 2026

https://www.carbonbrief.org/analysis-record-wind-and-solar-saved-uk-from-gas-imports-worth-1bn-in...
71•mindracer•3h ago•34 comments

Show HN: Ghost Pepper – Local hold-to-talk speech-to-text for macOS

https://github.com/matthartman/ghost-pepper
427•MattHart88•19h ago•189 comments

Three hundred synths, 3 hardware projects, and one app

https://midi.guide/blog/three-hunded-synths-one-app/
97•ductionist•10h ago•13 comments

Issue: Claude Code is unusable for complex engineering tasks with Feb updates

https://github.com/anthropics/claude-code/issues/42796
1249•StanAngeloff•1d ago•683 comments

NanoClaw's Architecture Is a Masterclass in Doing Less

https://jonno.nz/posts/nanoclaw-architecture-masterclass-in-doing-less/
31•timbilt•1h ago•3 comments

Second Revision of 6502 Laptop

https://codeberg.org/TechPaula/LT6502b
93•uticus•4d ago•17 comments