Related field limitation

Hi
i want to implement a vew counter in one of my tables (articles) and was wandering is it ok to design it like this:

every user clicks to open the article i will add user relation to the relation in the article table.

will this cause an issue when i have thousands of users in the relation? will that impact performance when i do count for the users in that relation?

any suggestion are welcome :grinning:

Hi @mohammad_altoiher

I donโ€™t see any problems with your design, and also I can advice you aggregation function API https://backendless.com/docs/js/data_count.html

for getting Articles list where each object might have a count of clicked/visited users

Regards, Vlad

2 Likes