Misc engineering truisms
macwright.com·2d
🔩Systems Programming
Preview
Report Post

2026-01-09

  • Data structures are the foundation of programming

  • IDs are identifiers. Names are not identifiers. Do not use names as identifiers.

  • The fewer databases you use the better. Consistency between datasets is hard, and it’s painful to make requests against multiple datasources and handle multiple kinds of failure. Postgres goes a long way.

  • Either both compute and databases are in the same region, or both are geographically distributed. Having a big hop between a server and its database is a recipe for bad performance.

  • Network locality is really important. Put things close to each other, in the same region or datacenter if you can.

  • It is much more common for applications to be slow because of slow database queries than it is for them to be slow because of ineffi…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help