The problem can be solved in two different directions - accepting fewer immigrants or building more housing (perhaps both for some stretch of time to ensure that citizens can afford housing and build families).
Long-term though I don't see a way for the Anglosphere to thrive unless immigration increases, given low birth rates.
> An engineer with no such customer awareness and instead an incessant obsession with optimizing everything that can be optimized, might try to optimize for speed… when it’s likely the consumer cares more about: cleanliness, energy rating and capacity.
1. Redis is atomic, so we use the SETNX operation to ensure that only one write succeeds.
2. We have HLLs in Redis, so we just issue a PFCOUNT and store the result of that in Cassandra as an integer value. We don't use counters in Cassandra.
Hey folks, I'm the author of this blog post. I'll mainly be answering questions in /r/programming about this but I'll try to get back to HN later in the day.
Are there any future plans to expand the analytic power of views beyond just a number - like breakdowns about referrers or locations of viewers? Seeing analytic functionality similar to Twitter would be really interesting for Reddit posts.