Ahoy
Dev tools
rails analytics
SHOW HN2014
How HN took it
3 positive, 6 neutral or asking, 0 mixed, 4 critical, out of 13 comments about the project. Thread score -0.04.
Idea: 2 for, 2 againstPerformance: 0 for, 1 againstDocs: 0 for, 1 againstExecution: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Keeps analytics data in the application database, easy to reconcile
From 2 comments
nice work. one of the biggest problems with external tracking services (mixpanel/kissmetrics/google analytics) is reconciling the data with what's present in your database. this…
apoorvamehta on HNMy e-commerce company started tracking all page visits in the database about a year ago, it's been one of the best decisions we've made. It's amazing to have all of your data in…
joevandyk on HN
Easy setup and integration
From 1 comment
Easy setup and integration so far!
sbeckeriv on HN
Objections
Heavy database writes on every visit under high traffic
From 2 comments
Won't this absolutely hammer your database with real-time writes?
ShaneOG on HNAny 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?
rschmitty on HN
Third-party tools offer live visualisation and more features out of the box
From 1 comment
Most of these analytics providers also allow you send data from your server that you can then correlate with your visit data. While I think solutions like this works initially,…
chandraonline on HN
Requests
Move logging to background jobs or Redis
From 3 comments
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?
rschmitty on HNExcellent point. This type of logging should go into the background.
bbwharris on HNRedis, 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…
nthj on HN
Option to write visits only on chosen actions such as sign-up
From 1 comment
This looks great! I was just thinking I needed something like this a couple days ago, and then this popped up on HN today. I will definitely check it out. I haven't had a chance…
diasks2 on HN
Add specs
From 1 comment
Nice work Andrew. No specs though? :(
rahilsondhi on HN
Questions
Is session data stored in a cookie before being written to the db?
From 1 comment
This looks great! I was just thinking I needed something like this a couple days ago, and then this popped up on HN today. I will definitely check it out. I haven't had a chance…
diasks2 on HN
What is the load impact on the existing app?
From 1 comment
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?
rschmitty on HN
Alternatives named
Splunk or log analysis
From 1 comment
Why not just log your visits and explore them in something like Splunk?
rosslazer on HN
Mixpanel, Kissmetrics, Google Analytics
From 2 comments
nice work. one of the biggest problems with external tracking services (mixpanel/kissmetrics/google analytics) is reconciling the data with what's present in your database. this…
apoorvamehta on HNI'm not familiar with the other analytics providers, but can't you track certain events (like orders and charges) and bind properties to them using Mixpanel? This could help you…
chourobin on HN