ENGINEERING 158 upvotes 2015

How we built analytics.usa.gov

158 pts
Hacker News Signal
2015 · Shared by @taylorbuley
How we built analytics.usa.gov by @taylorbuley

Retrospective Overview & Key Insights

Distilled reflections, business mechanics, and tactical takeaways:

In this technical retrospective (2015), @taylorbuley shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Community Discussions & Critical Reviews

Key perspectives, counter-arguments, and peer founder insights debated on Hacker News (44 total discussions):

ER @err4nt Peer Contributor

This is truly beautiful! I have also been experimenting with building HTML pages that load all content from a BaaS provider. I can host a single static HTML page on S3 and include a login view and content editor view in the same file to let authenticated users make changes to the content that loads into the page for public users.

I was so impressed by your dashboard earlier, to read that you built it using the same techniques (empty page,populated by JSON) makes me really happy!

DI @diminoten Peer Contributor

Just a technical question, but is '90daysago' and 'yesterday' a common way of representing time in the node world, or are they just trying to show a generic case?

Also I know there's some turmoil in the Node.js/IO.js fork, what kind of practical implications does this have on projects like these?

GA @gandalfu Peer Contributor

Why will the US government send all their traffic stats to Google? Why not use piwik? http://piwik.org/ ↗

Im I being too paranoid? This is after all third party software served by the government.

VI @vijayr Peer Contributor

Testers often assumed any three-digit number was actually short for a six-digit number.

This is interesting, I haven't come across this before. What is the best way to display big numbers? 550K or 550,000? 5M or 5,000,000?

GE @gesman Peer Contributor
> visitor IP addresses are anonymized before they are ever stored in Google Analytics..

That applies to data available to GA user. Google of course has access to more detailed data.

HISTORICAL ERA Cloud & Mobile Era (2014–2019)
COMMUNITY SCORE 158 points
TOTAL DISCUSSIONS 44 comments
TOPICS & TECH STACK: