The previous like mechanism was based on counting the number of users that likes the program/university.
However, this is very inefficient as the system needs to count the number of documents every time.
Therefore, I made a new collections to store the statistics of the program.
About
The previous like mechanism was based on counting the number of users that likes the program/university. However, this is very inefficient as the system needs to count the number of documents every time. Therefore, I made a new collections to store the statistics of the program.