Friday Blast #47
What I talk about when I talk about logging (2018) - there’s a lot to productionizing an Internet application which has to do with “logging”. This article is a tour of all the boxes which need to be ticked for a good setup.
Eight-bit floating point (2018) - floating point isn’t limited to the common float
and double
types of most programming languages. Rather it’s a system of encoding numbers with variable precision. In this case just 8 bits. The graph with the distribution of numbers between IEEE and posit encoding is particularly enlightening. The same effect of having a higher density in more “common” intervals happens for regular encodings, just at much larger scales.
Black-box auditing - verifying end-to-end replication integrity between MySQL and Redshift (2018) - this one hits close to home. Checking system correctness above and beyond what testing offers is one of my hobbies. See NValidate for some work I published from my time at StackOverflow. Yelp’s case study is similar - they’re looking to make sure that they have the same data in MySQL as in Redshift. At it’s core the system does a number of queries and hash comparisons to find out possible cases of inconsistencies. Well worth a read.
Google Cloud Platform - the good, bad and ugly (it’s mostly good) (2018) - an overview from a medium-sized user of GCP of what works and what doesn’t. Echoes my experience as well, though I have more good things to say about their hosted Kubernetes offering and not so much experience with monitoring. The general idea is that GCP has less services, but they can be used in more ways than one (the comparison between Pub/Sub and SQS, SNS, MQ, Kinesis Data Streams, Kinesis Data Firehose, DynamoDB Streams is particularly apt), and they’re generally higher quality.
How Silicon Valley fuels an informal caste system (2018) - interesting read about the stratification of society in SV, particularly in San Francisco. Do take a read as my summary can’t do it justice. But suffice to say that it’s another datapoint in the “increasing economic inequality” phenomenon of the last 20 years. I wonder if the stratification is more visible because of the mono-industry setup of San Francisco. Because I think more or less the same thing happens in more diversified cities like New York, or London. But it might be masked by all the heterogeneity.
Fibonacci Hashing - the optimization that the world forgot (2018) - a way to perform the % N
step of hashing for hash table usage with very nice properties. It is rooted in Fibonacci numbers. There’s a very interesting analysis of the kind of reasoning needed when thinking about hash function behaviours, and some edge cases for anybody to be aware of wrt hash tables with numeric keys, for which “hashing” might just be key % N
- a very bad setup.