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

Have you tried just doing it the naive way? Databases are damned fast, and actually hitting pageview counts of "thousands at a time" is pretty unlikely (it seems like being on the HN front page gets you about 10 hits per second at peak).


Modern computers can easily mutate text thousands of times a second. Think about what a browser does instantly when you load a page.

Also what would you need a database for? Why not write to a text file?


DB for most easily handling concurrency I would assume. Not that it would actually matter how you implemented it in this scenario.




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

Search: