-
Ruby
Counting Distinct Values With HyperLogLog
Counting distinct values is a trivial matter with small datasets, but it gets dramatically harder for streams with millions of…
Read More » -
Ruby
Surrogate WebSockets Alongside Rails
ActionCable is coming to Rails 5 and brings with it the promise of using WebSockets directly in Rails. Ruby has…
Read More » -
Web Dev
Kafka, Logs, and the Policy of Truth
Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a…
Read More » -
Web Dev
7 Tips for Continuously Deploying Single Page Apps
Single page apps deliver fantastically rich user experiences, and they open up an entirely different avenue for continuous deployment. Separating…
Read More » -
Ruby
Alternative Service Communication Using Pub/Sub
The HTTP protocol was designed for synchronous communication between two entities — for instance, a browser requesting a stylesheet or…
Read More » -
Ruby
Folding Postgres Window Functions into Rails
You’ve heard of window functions in PostgreSQL, but you aren’t quite sure what they are or how to use them.…
Read More »