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

They can't in their (Disqus) case because they're aggregating all the stats per day into a single value. I guess they could do it 'per account TZ' since the account name is in the key, but that means TZ calc on each write (not that that will make a huge difference in perf).

For a generic solution with easy TZ calc, you need to aggregate your stats into hourly values instead (or half hourly if you care about those wacky non-aligned timezones). The increased fetches don't matter because you can just mget them.



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

Search: