Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bo0tzz
on Nov 11, 2022
|
parent
|
context
|
favorite
| on:
Each visit to the page deteriorates the main image
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
on Nov 11, 2022
[–]
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?
bigDinosaur
on Nov 12, 2022
|
parent
[–]
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: