How discord stores billions of messages (2017)
We decided early on to store all chat history forever so users can come back at any time and have their data available. This is a lot of data: how do we do it?
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 6,945 posts.
We decided early on to store all chat history forever so users can come back at any time and have their data available. This is a lot of data: how do we do it?
Introduction When modeling a Postgres database, you probably don’t give much thought to the order of columns in your tables. After all, it seems like the kind of thing that wouldn’t affect storage or performance. But what if I told you that simply reordering your columns could reduce the size of your tables and…
In the previous post, I mentioned that buildcache has some unique properties compared to ccache and sccache. One of them is its Lua plugin system, which lets you write custom wrappers for programs that aren’t compilers in the traditional sense. With Bug 2027655 now merged, we can use this to cache Firefox’s WebIDL…
Visit the post for more.
Ten years ago (around the year 2001) I wrote a simple x86 protected-mode OS just to find out how operating systems work. That was really gr...
If you don’t work in computers, you probably haven’t spent much time thinking about how data gets stored on computers or in the cloud. I’m…
We're excited to announce that in Windows 10 Fall Creators Update (FCU) due to ship in fall 2017, Windows Subsystem for Linux (WSL) will no longer be a
Understand .NET 9.0 LINQ performance improvements, faster iterator and the usage of Span
💻 Casino brand Royal reels casino 🎯 Alternative names Royal reels, Royal reels casino Australia, Royal Reels pokies, Royal reels online casino 📅 Launch year 2021 🔗 Royal reels mirrors 17, 18, 19, 21, 22, 23, 24, 26 🌐 Supported regions Australia and most international markets, excluding restricted jurisdictions under…
Years ago, while taking a numerical methods course, I wrote some code to calculate the expected number of shared birthdays in a group. The code is very simple: each attempt constructs a vector of N birthdays, then counts the duplicates. The outer loop runs millions of attempts, and calculates the mean number of shared…
Another reason for optimizing compilers: It allows us to write simple and obvious code expecting that the compiler will do the optimization. This both reduces the initial defect count and makes the code more maintainable in the long-run. Note that these are also often the simplest optimizations (e.g. a calculation…
On 2019-07-10, the Stripe API was severely degraded. Two different database bugs and a configuration change caused a cascading failure over several critical services. Here’s what we’ve learned so far.
Explore technical topics, solutions, and resources for building with Twilio – and beyond.
For the last couple of years, we have been working with our friends at Igalia to bring Vulkan to the Raspberry Pi 4 platform, and today we're happy to announce that we have achieved Vulkan 1.2 conformance from Khronos.
SentinelOne unifies AI-powered endpoint, cloud, identity, and data protection—enhanced by our Security Data Lake for seamless and efficient cybersecurity.
Last year, I bought my 87-year-old grandfather an iPad 2 to replace the who-knows-what PC that was frustrating him constantly. He only used the PC for email and playing music, so it was a no-brainer.
#NodeJS : A quick optimization advice Can you spot the difference between these two files : that can explain a 50% performance gain : If you don’t, it’s normal, you try to read the code …
How the Golang concurrent GC achieves low latencies in real-time systems: a visualization of the algorithm and an empirical comparison with other languages.
The story of these attacks starts in late 2004. I had submitted my doctoral thesis and had a few months before flying back to Oxford for my defense, so I turned to some light reading: Intel's latest "Optimization Manual", full of tips on how to write faster code. (Eking out every last nanosecond of performance has…
Deep-diving on the load performance of F1 websites.
Monorepo performance can suffer due to the sheer number of files in your working directory. Git’s new builtin file system monitor makes it easy to speed up monorepo performance.
Dgraph is a graph database which aims to provide scalable, highly-available, and snapshot-isolated transactions over a labeled directed graph, while minimizing network communication for performance. Conceptually, Dgraph stores a set of (entity, attribute, value) triples. Entities (also known as subjects), are compact…
From pure Python to AVX-512 assembly, optimizing cosine similarity reveals a 2,500x speedup through SIMD, FP16, and VNNI instructions on modern Intel CPUs.