BetterDev #244 - How discord stores trillions of messages and How Cloudflare run Prometheus at scale
Better Dev #244 Mar 13, 2023
Rewrite in Rust, migrate to ScylaDB from cassandra. But the most important thing to me is the request coalescing. If two user read the same row, there should only one query to the database.
They run 916 Prometheus instances with a total of around 4.9 billion time series. CloudFlare sure knows how to scale Prometheus
writing code that operates on bits can be tedious, less readable. higher level languages usually abstract them out but it’s a fundamental useful to know and understand these concept. You don’t need to know C to follow these
A very long post explain recursion, how function works, invent automatic memory, arn a bit of Polish (notation), and discover the power of stack machines. To conclude, we’ll try writing a Rust macro that parses and executes Forth code at compile time.
It hard to design a UI library because UI is async by default. You have two approach, declarative or imperative. On top of that, add event handle, where to put it to avoid blocking main threaad. Separation of logic(rendering) and behaviour. Suddently it brings every concept into it
Josh taugh React and noticed that there were a handful of things that kept catching students off guard. In this tutorial, we’re going to explore 9 of the most common gotchas
Every day Refind picks 5 links from around the web that make you smarter, tailored to your interests. Refind is a must-read newsletter loved by 100,000+ curious minds. Sign up for free today
There are many open source implementation of large language models. But we cannot experiment locally. Thanks to Georgi Gerganov and his llama.cpp project it is possible to run Meta’s LLaMA on a single computer without a dedicated GPU.
Currently used approaches for trees in databases like adjacency lists or the nested set model are too complex. Storing the full path with every row simplifies tree querying and management.
Building a design system that works is a challenge at any scale. Building a design system for 150+ product teams, used by 200+ designers and 800+ developers, and serving 4 different platforms? That’s a challenge requiring lots of special considerations.
Code to read
Given an element, it will generate the shortest CSS selector to identify that element uniquely. This is useful say you’re building a tool to design UI and it works with element/block. User click an element to focus it, this can be used to identify those elements
JavaScriptGiven random arbitrary string like “today”, “last friday 2am” it can generate a date object. Really cool to see how it’s implemented.
JavaScriptVideo
It has a lot of principle to keep thing simpler, avoid over engineering.
Tools
Continuous Profiling Platform. Debug performance issues down to a single line of code. Very nice webui and supprot many languages to ingest data. Has a nice demo you can check
Poor man’s ngrok - a multi-tenant HTTP reverse tunnel solution through SSH remote port forwarding
ngrok equivalent built base on OpenZiti which create a zero trust overlay network to join your nodes together
a straightforward open source tool that provides a spreadsheet-like interface to a PostgreSQL database.
a cutting-edge, state-of-the-art (SOTA) model that builds upon the success of previous YOLO versions and introduces new features and improvements to further boost performance and flexibility.
an Open Source Financial Switch to make payments Fast, Reliable and Affordable. It lets you connect with multiple payment processors and route traffic effortlessly, all with a single API integration.
You can view this issue in web browser.
If you have any suggestion/feedback, do tell me by replying to this email. I read them all.
No longer want to receive these emails? Unsubscribe
Key phrases
Older messages
BetterDev #243 - Scaling Etsy Payments with Vitess and Husky DataDog Exactly Once Ingestion and Multi Tenancy at Scale
Monday, February 27, 2023
Better Dev #243 Feb 26, 2023 Scaling Etsy Payments with Vitess: Part 1 – The Data Model Etsy Payment system reached the point where vertical scale won't work anymore. They used biggest instance on
BetterDev #242 - Neural Networks: Zero to Hero and Bit Hacking with Go code
Monday, February 13, 2023
Better Dev #242 Feb 13, 2023 Neural Networks: Zero to Hero A course by Andrej Karpathy on building neural networks, from scratch, in code. We start with the basics of backpropagation and build up to
BetterDev #241 - How a single line of code brought down a half-billion euro rocket launch
Monday, February 6, 2023
Better Dev #241 Feb 06, 2023 How a single line of code brought down a half-billion euro rocket launch How a rocket launch fail? Re-use of code written for 32-bit system on a 64-bit data range. Novo
BetterDev #240 - Hello, PNG
Tuesday, January 24, 2023
Better Dev #240 Jan 23, 2023 Start speaking a new language in just three weeks with Babbel (SPONSOR) Learning to speak a new language goes beyond just vocabulary: it's about being able to hold a
BetterDev #239 - What happens when you open a terminal and enter ‘ls’
Friday, January 20, 2023
Better Dev #239 Jan 16, 2023 What happens when you open a terminal and enter 'ls' This could be the equivalent of the in famous “what happen when you type an address into the browser”, but for
You Might Also Like
⌨️ You'll Want One Of These Steam Deck Keyboards — Why I Stopped Trying to Finish Games to 100%
Monday, April 29, 2024
Also: Conditional Formatting in Spreadsheets, and More! How-To Geek Logo April 29, 2024 Did You Know Babies have more bones than adults; as they age, several bones (such as the plates in the skull)
Behind the Product – Miro
Monday, April 29, 2024
Brought to you in partnership with CustomerIQ The AI platform to help teams aggregate, search, and synthesize customer feedback. CustomerIQ aligns teams with insights from channels like CRM notes,
Rapidly responsive... space stations!?
Monday, April 29, 2024
There are scant details as to the mission profile, but I can't help but feel intrigued by this news from Gravitics View this email online in your browser By Aria Alamalhodaei Monday, April 29, 2024
Daily Coding Problem: Problem #1426 [Hard]
Monday, April 29, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Salesforce. Given an array of integers, find the maximum XOR of any two elements.
Code Story - Mar 24
Monday, April 29, 2024
Welcome to the March addition of the podcast newsletter. Please enjoy, and check out any of the episodes you might have missed below. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Feature | The Best Visualizations from April on Our New App 📲
Monday, April 29, 2024
See the most popular, most discussed, and most liked visualizations on our new data storytelling app Voronoi from April. View Online | Subscribe At the end of 2023, we publicly launched Voronoi, our
😸 Tangible change
Monday, April 29, 2024
🤖 Elon is closing in on $6 billion in funding for his AI startup. 🛜 The FCC has officially voted... Product Hunt Read in browser This newsletter is brought to you by YOU MIGHT HAVE MISSED 🤖 Elon is
⚙️ AI has emotions now
Monday, April 29, 2024
Plus: Meta AI? More like Mid-ta AI!
Yikes! Copilot failed all our coding tests
Monday, April 29, 2024
iPad Pro with M4; Best security keys; AI conducts job interviews now -- ZDNET ZDNET Tech Today - US April 29, 2024 placeholder Yikes! Microsoft Copilot failed every single one of my coding tests I ran
Re: The smart home product I use every day!
Monday, April 29, 2024
Hey , Earlier this month, I emailed you about one of my favorite smart home products, a robot vacuum and mop. I wanted to let you know that Samsung currently has a Spring Black Friday Sale and is