News for hackers. Stuff that matters.
Re:Show HN: Visit tracking for Rails by rschmitty on Thursday March 20, 2014 @08:19PM (#7439852)
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?

Re:Show HN: Visit tracking for Rails by nthj on Thursday March 20, 2014 @10:54PM (#7440377)
Redis, 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.

Re:Show HN: Visit tracking for Rails by bbwharris on Thursday March 20, 2014 @10:24PM (#7440291)
Excellent point. This type of logging should go into the background.