Topics /
Systems & Performance
The most popular blog posts about systems & performance on Hacker News. 6,942 posts.
Fast base64 encoding and decoding
Computers store data as streams of bits. Binary files like image, audio or video files are allowed to contain just about any sequence of bits. However, we also often use text formats; for example, web pages and emails are required to be text. So how do we send images by email? How do we embed … Continue reading…
The LMAX Architecture - 100K TPS at Less than 1ms Latency
LMAX is a retail financial trading system that can handle that can 6 million orders per second on a single JVM thread. The business logic runs in-memory surrounded by disruptors using event sourcing.
Facebook's new front-end server design
Visit the post for more.
A Technical Dive into PostgreSQL's replication mechanisms
Guide to PostgreSQL Replication and CDC - Navigate the complexities of logical replication in PostgreSQL.
Writing a Unix Shell – Part II
Building your own UNIX shell in parts. This post explains how to execute commands.
PlanetScale Boost
PlanetScale offers the world’s fastest and most scalable cloud hosting for Vitess, Neki, and Postgres.
Depressing and faintly terrifying days for the C standard [pdf]
Chris Lattner, the architect of the Clang/LLVM C compiler explained the effects of the C standard’s “undefined behavior”(UB):
Optimizations Enabled by -ffast-Math
This blog post describes the optimizations enabled by -ffast-math when compiling C or C++ code with GCC 11 for x86_64 Linux (other languages/operating systems/CPU architectures may enable slightly different optimizations).
The G in GPU is for Graphics damnit
As is true for everything, a lot of things need to happen for anything to happen, and so it’s true for this blogpost as well. Out of all of these everything that needed to happen, 3 are these:
Amiga Systems Programming in 2023
If you ever get a chance to look through the classic Amiga OS source-code still floating around some murky corners of the internet, it is a thing of beauty and astonishing capabilities. It’s an inspirational piece of computing history with unmatched capabilities for the time. Remember, this was all on a computer…
Wasmer 2.0
It's been almost 6-months since we released Wasmer 1.0, and the community support and reception were incredible. Since then, we've been hard at work on the next version of Wasmer.
Reviving the 1973 Unix Programmer's Manual
The 1973 Fourth Edition of the Unix Programmer’s Manual doesn’t seem to be available online in typeset form. This is how I managed to recreate it from its source code.
Swift Atomics
I’m delighted to announce Swift Atomics, a new open source package that enables direct use of low-level atomic operations in Swift code. The goal of this library is to enable intrepid systems programmers to start building synchronization constructs (such as concurrent data structures) directly in Swift.
File systems unfit as distributed storage back ends: 10 years of Ceph
This paper is by Abutalib Aghayev (Carnegie Mellon University), Sage Weil (Red Hat Inc.), Michael Kuchnik (Carnegie Mellon University), Mar...
The CAP theorem of Clustering: Why Every Algorithm Must Sacrifice Something
No clustering algorithm is perfect and you must make a trade-off.
Why systemd is a problem for embedded Linux
I don’t want to post yet another anti-systemd rant, but I think the ubiquity of systemd could eventually create real problems for embedded Linux. I just wish I knew what to do about it.
Why did containers happen?
Autumn update This is what it is looking like around here at the moment. DevOpsDays London I gave a talk at DevOpsDays London recently. It was a nice...
Systemd Sucks, Long Live Systemd
systemd seems to be a dividing force in the Linux community. There doesn’t seem to be a middle ground to...
QEMU should move from C to Rust
Welcome Redditors and HackerNews folks! This post is getting attention outside the QEMU community, so I'd like to highlight two things that...
FreeBSD – a lesson in poor defaults
This page lists some of the changes I make to a vanilla install of FreeBSD for security hardening. Some changes to increase network performance or make things a bit more sane are also included. It only covers basic changes that a sysadmin can make to a running system.
A simplified model of Fil-C
I've seen lots of chatter about Fil-C recently, which pitches itself as a memory safe implementation of C/C++. You can read the gritty details of how this is achieved, but for people coming across it for the first time, I think there is value in showing a simplified version, as once you've understood the simplified…
Diskless Linux boot using ZFS, iSCSI and PXE
Diskless Linux Boot