I am building a functionality similar to leesangwon:connections package to be able to monitor all the connected visitors or users to the website/app.
In the connections package @leesangwon firstly adds a connection to the db but then deletes it from it… I thought about storing it there either forever or for a specific amount of time (to be able to solve any account related issues, if there are any).
The questions are:
- How big the db will be eventually, if, say, during the day a user can have up to 100-150 connections… (as every browser reload or opening a new tab is technically a ‘connection’)? Won’t it be ‘unreasonably big’ eventually?
- Is it a ‘normal’ practice from legal point of view? Isn’t it considered a spying on users?
Asking here just in case you might ever faced such issues…