0
I came to a question, to store data of events and browsing that the user performs on the site, would it be possible to only send to the bank after the end of the day, the actions that users have performed during the day, or save only when he close the tab of the site? Is it possible? And would it have any advantage of doing this instead of registering as the user was doing the action? My doubt in this is to generate a lot of weight on the server, making requests at all times and with several logged in users.
In theory if the data needs to be stored the best is to write immediately in the database because it guarantees integrity. The volume of "log" would be very large ?
– Motta
It would register the link, ip and time, and id of the user if logged in. This with each change in the url. With some simultaneous users.
– LocalHost
Why not add these values to a variable and every X time with the logged in user you send this data to the database?
– Leo Letto
So... I thought more or less about this logic, but I wanted to know if it would bring benefits to do this, and how it would be better to make this storage before passing to the bank.
– LocalHost
The problem is the risk of losing in a fall , needing to log into thesis the best would be to record straight into the bank.
– Motta
This way you will only be generating more problems yet. how will you ensure that the data will be saved?
– Geferson
Really, it’s something to think about...
– LocalHost