9 ms·
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 seem
by bo0tzz 4y ago
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).
- enneff 4y agoModern 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?
- bigDinosaur 4y agoDB for most easily handling concurrency I would assume. Not that it would actually matter how you implemented it in this scenario.