I've read multiple times that Reddit 1.0 was written in Lisp. I didn't realize the source is public.
It's amazing. You can read the whole thing in one sitting. Even an undergrad could. It's like the essence of a…Reddit.
We took a wrong turn w/ software.
https://t.co/GHxoRVFrdH
At DAZN, we had over 2M concurrent viewers at peak and crazy spiky traffic (everyone logs in 30s before a match starts).
We had a similar principle, that any service on that critical path (of a user logging in and start watching a live event) has to run on containers, because of Lambda's scaling limits.
BUT, we still have a lot of Lambda and step functions because not every part of the system have the same traffic demands. e.g. while the APIs on the critical path might see 50k rps every match day, you're more likely to see 50 rps on the payment system.
And having a microservices architecture means each team can choose the right technology.
That's one thing a lot of people have missed from this article. It's about a (probably small) part of Prime Video's system, not the whole of Prime Video.
I dunno what the Prime Video system looks like, but I bet not every part of it has such high throughput and they probably still have a lot of microservices and serverless components in there. Just not for this particular part of the system.
AND, this particular team started with serverless and it lets them go to market quickly. Then they pivoted and moved to containers when it got too expensive.
That's how you should do it! And what we have described as the "serverless-first" approach.
https://t.co/RCRIoMvlbD
For those who aren't aware: you write an OpenAPI manifest for your API, use human language descriptions for everything, and that's it. You let the model figure out how to auth, chain calls, process data in between, format it for viewing, etc. There's absolutely zero glue code.
/1 What are the API architectural styles?
The diagram below shows the common API architectural styles in one picture:
1. REST
2. GraphQL
3. Web socket
4. Webhook
5. gRPC
6. SOAP
If you noticed your iPhone is charging a little slower recently it may be due to a new setting Apple added in iOS 16.1 — Clean Energy Charging
With it turned on, iOS will only recharge the iPhone's battery when the electrical grid uses cleaner energy sources like solar or wind
You can disable it under Settings > Battery > Battery Health & Charging
How should we think about how to use Twitter?
My own thinking has been deeply shaped by @HSJSpeaks’s argument in ‘Why it’s OK to speak your mind.’
His basic claim is that we have an ethical duty to share our arguments, evidence, & views *the more there is social pressure not to.*
🧵A story about a time I accidentally helped track everyone in the financial center of London using very similar techniques to ElonJet. Sort of.
The implications matter deeply to the free speech debate at hand.
Imagine being in the middle of this:
Impressive new study by @KateLaskowski et al. shows that genetically identical fish from mothers reared in identical environments show reliable behavioural differences from day 1 after birth, stable over 10 weeks in identical environments. Chance identity. https://t.co/NCihENTs7o
I keep trying to write a piece on ACTIV6 that I keep rewriting because of the absolutely mind-numbing mountain of irregularities I am discovering.
Paper:
https://t.co/O8k6XCtoxA
Until then, a quick thread just on what is on this infographic: