2 ms·
Any stats on how much of a load this puts on the existing app? Could this send to redis or a delayed job and be eventually consistent to database for non-logge
by rschmitty 13y ago
Any stats on how much of a load this puts on the existing app?
Could this send to redis or a delayed job and be eventually consistent to database for non-logged in users?
- bbwharris 13y agoExcellent point. This type of logging should go into the background.
- nthj 13y agoRedis, yes. Perfect for this kind of thing. delayed_job might make less sense, since delayed_job still INSERTs to the database. I haven't benchmarked it specifically but I'd have to guess your time savings to store the information in a postgresql job queue vs the visits table would be negligible at best.