im working in an online game project using php . with 9000 users as
start who register so far
anyway to make some reports about the users (example best users with
higest points ... worrest users with low points and so on) one of
co-workers with me suggest to use array insted of store the data in the
database everytime user do an action .
the idea is when a user was to see any reports the users ID will store
in an array and will calculate the points and store them in this array
(users id is the key for this array) .. then sort this array the way we
want and list it
i like the idea but i think about the loading what if there is million
user for example should it be problem ??
im new in php that why i ask this
thanks in advance
start who register so far
anyway to make some reports about the users (example best users with
higest points ... worrest users with low points and so on) one of
co-workers with me suggest to use array insted of store the data in the
database everytime user do an action .
the idea is when a user was to see any reports the users ID will store
in an array and will calculate the points and store them in this array
(users id is the key for this array) .. then sort this array the way we
want and list it
i like the idea but i think about the loading what if there is million
user for example should it be problem ??
im new in php that why i ask this
thanks in advance
Comment