Hacker Newsnew | past | comments | ask | show | jobs | submit | acejam's commentslogin

That's why you run Redis Sentinel in production

That you do. Until you realise that there is only a single writer in that scenario, it doesn’t address any sharding concerns, you need to use compatible clients that opt into the sentinel protocol, during failover you’ll see client errors… there’s lots of room for improvement on redis HA.

With the amount of problems I had using Redis Sentinel, I really wish there was another way. On multiple occasions, with completely different deployments, it got itself into a non-repairable state where the only option was to drop it and setup the replicas manually. I was hoping someone would do a Patroni-like project for Redis, but I've not found it yet. I've moved all persistent data to PostgreSQL and use a number of Valkeys behind Envoy proxy as a cache.

I suggest you to take a look at rdsync (https://github.com/yandex/rdsync), exactly what you want: Patroni-like high-availability tool for Valkey/Redis. Uses ZooKeeper for external coordination. We use it in our large deployment and with a couple patches you will forged about the need to take manual actions to resolve broken states.

At which scale would you recommend this over a Sentinel setup?

To be honest - at any scale, this really does help me not wake up at night to fix broken states by hand as sometimes on-call engineer. Although note that rdsync is mainly for Valkey up to 9.1, there were Redis patches for 7.2 (last BSD version).

Would love to see what that Intercom replacement looks like! :)


> Crypto is a cesspool.

Wait until you hear about the US Dollar.


Why not just use Claude Code's native "Remote Control" feature?

https://code.claude.com/docs/en/remote-control


Even with a dedicated IP, SendGrid has always had poor deliverability.

I switched to Postmark years ago and never looked back.


It amazes me that people still use and recommend Cloudflare's DNS servers for resolution. Cloudflare DNS does not support EDNS Client Subnet. As a result, DNS queries resolved by their service are likely to return IP addresses for many CDNs that are physically farther away from you, leading to a slower internet browsing and viewing experience.

Sacrificing performance for a faster lookup time makes no sense in 2026. This is the one area where I continue to use Google DNS as it just works. Use anything but Cloudflare in this case, please.

Parent pro-tip: Next time the iPad is having Bluey episode playback issues, check to see if you're actually using Cloudflare DNS.


Without ECS, the CDN will default to the closest one to the resolver, and cloudflare has resolvers in all major cities.

Given that the vast majority of us live in or near a major city, it means that your vaguely gloom and doom commentary doesn't apply.

If you live in the boondocks or if CDN matching misbehaves for some reason, by all means run benchmarks!

But all other things being equal, Cloudflare's privacy policy is better than Google's.


I'm near a major city. Your comments unfortunately do not align with my experience, nor the experience of several people that I know. Testing has confirmed this.


450 million pageviews on Vercel = $46,000

450 million pageviews on a single 16c/32t OVH box with nginx and a 3 Gbps connection = $245


450m page views in 1 month is only 173 requests per second. You can do that on a much cheaper box.


You're assuming an extremely consistent traffic rate, with zero spikes....


Sure, but my point is that 450m requests is just not a lot. Humans are bad at big numbers, and this number sounds like a scary amount of traffic, my point is that it is a very boring amount of traffic even on modest hardware.

I personally wouldn't stick it on a single VPS because we can do way better than that in terms of reliability, but the point stands that you don't need very much in terms of resources to serve this.


Sure, you are only proving my point even further. I just happen to have a personal policy of "no boxes in prod under 16 cores". :)


why?


Having someone on-call 24/7 to keep that $245 box running: $400K.


To run a $245 box, you'd need an entire team with Kubernetes experience — at least one Scrum Master included. Under $2M, I’d say it’s impossible.


Yeah... lol, because cloud setups never fall over. Ever.


While I agree with your comment about learning more by doing the work yourself, you don't need to be a billionaire to acquire one of these. Yes, they are expensive. A typical pro-level WRC spec WRX STI rally car from Vermont SportsCar goes for about $600k. They are actually very reliable though. And thats a bargain compared to just about any modern hypercar.

Rally cars also must be street legal because they are driven on public roads between stages.


Source? Links?


https://www.google.com/search?q=microk8s+dqlite+site%3Agithu...

Click on the various catastrophic issues. Observe how many are closed with no resolution. Canonical is great but Microk8s is not.


> You could have done this 20 years ago with public/private keys, certificate authority and ah yeah i think you know how our ca system works right? :P

This comment made me chuckle a little bit because blockchain has been around since at least 2009, which was ~15 years ago.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: