Open bf4 opened 10 years ago
Comment by fd Sunday Feb 05, 2012 at 14:42 GMT
This sounds like a good idea. I seem to have similar problems. After tracking 30-40k events/h for 24h results in 120Mb of RSS in Redis.
My TTLs are set to 60 sec (maybe to high; I don't know) Here is the snippet for collecting the stats: https://github.com/mrtesla/alice-router/blob/107781adab663d54687ef32e1b7f4645938805cc/router.js#L323
Issue by kazjote Sunday Feb 05, 2012 at 09:46 GMT Originally opened as https://github.com/paulasmuth/fnordmetric/issues/57
As it causes a lot of confusion, I think we should document how to set TTLs properly, optimize defaults and provide some redis usage benchmarks for various gauges and traffic schemas.
For example: If somebody has higher traffic, he can reduce events TTL and sacrifice user history length but reduce Redis memory usage.