frontpage.
newsnewestaskshowjobs

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

Fingerprints are the new cookies

https://royfish.dev/fingerprints-are-the-new-cookies
168•royfish•5h ago•75 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
97•cainxinth•4h ago•44 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
419•jttnr•10h ago•178 comments

Calculus with Julia

https://jverzani.github.io/CalculusWithJuliaNotes.jl/
32•subset•1d ago•1 comments

Cartographers of North Korea (2019)

https://cartographers-nk.wonyoung.so/
208•edent•8h ago•38 comments

No portable way to detect string-to-float conversion errors in standard C

https://sebsite.pw/w/20261009-strtod.html
9•signa11•1d ago•1 comments

Tattoos you can turn on and off

https://www.livescience.com/technology/cool-chemistry-trick-allows-new-tattoos-to-turn-on-and-off
33•MortyDev•7h ago•10 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
32•acley•3h ago•3 comments

The gap in shared understanding of LLM capability is widening

https://twitter.com/karpathy/status/2109361546505966046
323•albertzeyer•8h ago•495 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
47•smilelamp•5h ago•0 comments

Vectorized CLZ and CTZ

https://purplesyringa.moe/blog/vectorized-clz-and-ctz/
26•zX41ZdbW•1d ago•3 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
348•Anon84•15h ago•395 comments

Google is illegaly cutting forest to build data centers

https://www.theguardian.com/technology/2026/oct/06/google-datacentres-finland-temporary-halt-envi...
258•heyimada•5h ago•67 comments

Chapter 1 of "Ways of Seeing" by John Berger (1972)

https://www.ways-of-seeing.com/ch1
93•rafael859•10h ago•14 comments

Passkeys are a trap

https://nonfunctional.substack.com/p/passkeys-are-a-trap-do-not-use-them
393•laurex•6h ago•219 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
42•TedHaley•4h ago•8 comments

Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos

https://www.cell.com/matter-light/fulltext/S3117-5848(26)00119-5
35•Bluestein•19h ago•4 comments

Recursive self-improvement through collective intelligence

https://pub.sakana.ai/mass/
82•hardmaru•6h ago•44 comments

So, You’d Like To Sell Your Print Issues Of The Onion?

https://theonion.com/archivehunt/
280•mooreds•8h ago•38 comments

I guess I'm using WebP now?

https://anderegg.ca/2026/10/08/i-guess-im-using-webp-now
92•Brajeshwar•2d ago•92 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
397•gregsadetsky•10h ago•197 comments

500B tokens later: Letting AI agents decompile a first-person shooter

https://momo5502.com/posts/2026-10-09-game-decompilation/
185•davikr•1d ago•129 comments

Show HN: BetterWispr – Free, open-source dictation for Mac

https://betterwispr.com/
174•kartik017•16h ago•101 comments

apsw: Another Python SQLite Wrapper

https://github.com/rogerbinns/apsw
75•tosh•11h ago•16 comments

HashiCorp archives the Boundary open source repo

https://github.com/hashicorp/boundary
56•vmatsiiako•4h ago•12 comments

ClickHouse C – Talk to ClickHouse using its native binary protocol

https://github.com/ClickHouse/clickhouse-c
19•saisrirampur•5h ago•1 comments

FlowCE: Calculus on your TI-84 Plus CE

https://tommyb3ll.github.io/FlowCE/
38•jgx0•1d ago•18 comments

How I reverse engineered a commercial spatial audio effect

http://epestr.com/blog/reverse-engineering-a-commercial-spatial-audio-effect/
112•epestr•13h ago•35 comments

Shredding JSON columns gave Logfire up to 1000x faster queries

https://pydantic.dev/articles/dynamic-shredding-2026-01-26
13•acossta•6h ago•8 comments

Safe SIMD in Rust, even on the inside

https://shnatsel.github.io/safe-simd-in-rust-even-on-the-inside/
51•ravenical•1d ago•2 comments