I want to write a top articles system.
I want to filter some content (articles/etc..) by number of views.
If I insert in database with views=views+1
every time when a user view that link, I think it's slowly and it's a bad practice.
An example of another site that does this is YouTube. It updates this table only at a certain interval, so the views aren't updated live. Is this a good practice to do this?