Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just don't see the harm in a short TTL. Most apps are "bursty" so a 1 minute TTL is more than ample, basically giving them a 1 time penalty on the first request then nothing for the rest of the requests.

1 minute is a long time, you can do a ton of requests in 60,000 milliseconds.

On the flip side, setting the TTL long can be a disaster. You can't fix it after the fact. If you have a 1 hour TTL then that's potentially 1 hour before the changes needed to fix a service fully take effect. That's 1 hour of helplessness.



It would be nice if failure to connect / TLS handshake failure invalidated the entire related network stack cache for that link. If that were the case I wouldn't mind higher TTLs.


Surely we can live with 5-10 minutes for most things, though, right?


I don't see why not. I just don't see there being a huge difference between 1 and 10 minutes in the grand scheme of tech.


That's an order of magnitude which can make a pretty big difference when demand spikes.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: