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

It's a nice solution, but doesn't seem to solve the problem they present at the start of the article. "What we wanted was a way to keep at least 24 hours worth of entries at all times"; but their solution only stores the last MAX_CIRCULAR_LOG_ROWS entries.


Ah yes, good point. Luckily we have a regular rate of messages and we knew that 2 million would be enough to always have roughly 24 hours worth.




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

Search: