2 ms·
I log to redis and scrape the logs to SQL for long-term storage. Memory is fairly cheap now adays so it works out for my app. If I had a lot of logging to do t
by true_religion 12y ago
I log to redis and scrape the logs to SQL for long-term storage. Memory is fairly cheap now adays so it works out for my app.
If I had a lot of logging to do though, I'd use elasticsearch since that's what I run for my main DB. It handles sharding beautifully.