Blogs / Personal blogs

Russell Cohen

rcoh.me

Russell Cohen's Blog and Website

Popular posts
6
Total points
1,462
HN comments
751
Rank
#1,294 personal

Visit rcoh.me → RSS feedOn Hacker News Jan 2018 – Jul 2024

Software Engineering 6Math & Algorithms 2Programming Languages 2Systems & Performance 1Databases & Data 1

3

Thoughts on Rust, a few thousand lines in

To say my first foray into Rust was a frustrating struggle would be an understatement. I picked a terrible first project that left me neck deep in Rust’s trickiest areas right off the bat. I was excited to try again. A few years ago I wrote Sumoshell, a CLI App for log analysis. I’d wanted to improve it for a while…

4

An Introduction to Cache-Oblivious Data Structures

If you read my recent post about Postgres you may have noted that Postgres operates primarily with fixed-size blocks of memory called “pages.” By default, Postgres pages are 8KB. This number is tuned to match operating system page sizes which are tuned to match hardware cache sizes. If you were to run Postgres on…

6

Postgres indexes under the hood

Many software engineers use database indexes every day, but few of us really understand how they work. In this post I’ll explain: How indexing works in Postgres using B-Trees What B-Trees are Why they are a good fit for this problem Indexes in Postgres Postgres actually offers 4 different kinds of indexes for…