I will go straight to the point.
There is a site on which there may be a potentially large number of users (more than a thousand, for example). And each user has a certain "counter", which is increased by a certain amount regardless of whether the user is online or not .
Also, at the same time, this amount must be constantly kept in the database in its current form.
So how can this be implemented? Is it realizable at all? Is it scalable?
I heard about a package like celery , will it go for this task? Or maybe this problem is solved somehow differently?
начальное значение + прошедшее_время * скорость_счёта? - MBoскорость счёта может меняться?If the law is known, then it will probably be easy to calculate. If changes occur due to some event (including timer / time), then upon the occurrence of this event the current counter is calculated according to the current law, recorded as a new base value. - MBo