tutorialdb
tutorialdb copied to clipboard
Implementing HIT Count
The hit can be used to query most popular tutorials for the (week, day etc).
Would you want a HIT counter for the website as a whole (how many visitors) or HIT counters for each tutorials?
It is supposed to be based on the tutorials.
what should be a minimum unit of hit? for example, should we track each hit or hit counts per hour or per day?
what should be a minimum unit of hit? for example, should we track each hit or hit counts per hour or per day?
Tracking each hit may be a good idea for now, we may move further to make it complex later on For now the goal should be
- Increase count of a tutorial hit as soon as the user clicks on it.
- Update the necessary fields in the db
@Bhupesh-V please review #89
can I work on this?
@Swarag-N there is already an open pull request.