Live data from Hacker News

Roll Your Own Analytics

pcmaffey.com

1–10 of 105 posts

Re: Roll Your Own Analytics

#5
Hi HN, if anyone's wondering how this is performing with the 1st page crush... tldr; trial by fire, but it works :)

Since I posted it 2 hrs ago:

* logged 1200 sessions (this doesn't include folks who bounce before the page loads.)

* 8 "lock acquisition" errors from Google App script, which basically means it timed out trying to get a slot from too many concurrents

* 10 minutes of lambda runtime (Netlify gives 100hrs / month free)

* 590 ms average network latency

I'll update the post with full details on performance once the dust settles.

Re: Roll Your Own Analytics

#6
Nice! Good job! A bit too long to read everything, but liked the intro.

One issue though. I've reached the end and had no idea what to do from there (aka you don't have a scrollbar OMG). First time I've used Page Up to go back up on a site :)))

Re: Roll Your Own Analytics

#7
Your site has no visible scroll bar. What was your design reason for hiding it? It's probably one of the most useful controls to use on a site. You should track its usage with your own analytics.

Or for now, track how many people moved their mouse to where they expected to see and use a scroll bar, noticed there was none and then closed the page.

Re: Roll Your Own Analytics

#9
post #5

Hi HN, if anyone's wondering how this is performing with the 1st page crush... tldr; trial by fire, but it works :) Since I posted it 2 hrs ago: * logged 1200 sessions (this doesn't include folks who bounce before the page loads.) * 8 "lock acquisition" errors from Google App script, which basically means it timed out trying to get a slot from too many concurrents * 10 minutes of lambda runtime (Netlify gives 100hrs…

I think you're more likely to hit Netlify's limit of 125k requests per month vs the 100hr limit.
Post reply on HN