5 ms·
Is the 5-minute expiration correct? I thought it was more like ~1 hour.
by jonas21 2mo ago
Is the 5-minute expiration correct? I thought it was more like ~1 hour.
- s0ck_r4w 2mo agoYou can set the retention globally (whole session) to 1 hour which will actually make it more expensive. The default is 5 minutes. *UPD:* actually it appears the default is authentication-dependent. API key gets 5 minutes, subscriptions - 1 hour.
- foota 2mo agoClaiming that it's more expensive isn't true, it's workload dependent. Filling the cache (worst case) 12 times in an hour is much more expensive than caching it for an hour, and the cheapest is to have your 5m cache refilled by a ping like this is doing. Imo it's their fault for not having pricing that aligns incentives.