liaylaa___ (@_tdashi) header
liaylaa___ (@_tdashi) profile picture

ye

Joined September 2020
Photo by liaylaa___ (@_tdashi)
liaylaa___ retweeted
Glowy ✨
16
5
1
285
14,989
The U.S. has perpetrated an atrocity at sea, 2,000 miles away from Iran's shores. Frigate Dena, a guest of India's Navy carrying almost 130 sailors, was struck in international waters without warning. Mark my words: The U.S. will come to bitterly regret precedent it has set.
10,303
22,373
1,442
83,229
5,692,132
liaylaa___ retweeted
Every database makes performance tradeoffs. These aren't accidental. They're intentional design choices made to meet application needs. The most common: Time / Space - Make database faster by using more ram or disk. Storing the same data in multiple formats, pre-computing aggregates, compression, etc. The classic CS tradeoff. Durability - Improve latency by relaxing durability. Do you fsync immediately? Do you consider durability to mean, 1, 2, or N copies on disk? Do you require copies across multi-DCs? Read / Write - Popular examples: B-trees generally make for better read perf, LSMs better write perf. Delay reads in favor of write throughput. Startup time - Trade query response time for startup time. EG, make indexes non-persistent. Have to rebuild indexes at every restart, but writes don't need to explicitly update indexes on-disk. Consistency - When eventual consistency is OK, simplifies and speed up query execution. Strong consistency requires more locking / blocking. You should know your requirements for all the above and choose the dbms accordingly.
8
24
2
326
21,051
A beginner’s guide to the Phantom Read anomaly vladmihalcea.com/phantom-rea…
2
3
21
1,381
liaylaa___ retweeted
Database migrations at scale are rarely clean. @Netflix had nearly 400 #PostgreSQL clusters to move and doing it manually was never an option. So they built a self-service automated workflow instead. This is a really interesting read! The approach uses #Aurora read replicas for near-zero downtime, with traffic cutover handled through their Data Access Layer rather than application code changes. Replication lag, WAL validation, and CDC handling were all covered. This writeup from Ram Srivasta Kannan, Wale Akintayo, Jay Bharadwaj, John Crimmins, Shengwei Wang, and Zhitao Zhu is worth a read if you manage databases at any meaningful scale. Check it out! lckhd.eu/YtWoP1
9
101
745
69,586
How does MVCC (Multi-Version Concurrency Control) work vladmihalcea.com/how-does-mv…
9
65
3,143
How does the 2PL (Two-Phase Locking) algorithm work vladmihalcea.com/2pl-two-pha…
1
6
74
3,789
"Do you use Jira?"
194
546
102
5,861
519,524
📉 As a software engineer, optimizing SQL query executions from seconds to a few milliseconds is so greatly satisfying.
19
40
5
827
34,793
The race condition that led to Flexcoin bankruptcy vladmihalcea.com/race-condit…
3
30
182
15,471
A very underrated paper On System Design, by Jim Waldo 2006 Jim distinguishes "system design" from "programming" and argues that the skills required for system design are distinct and increasingly rare. He famously observes that many of the best system designers he has worked with did not come from a pure computer science background. Instead, they are "mutts" with backgrounds in liberal arts.
6
40
2
431
30,803
Looks like filesystems are the next big thing in AI :) Everybody is playing with it. This is happening because models are trained heavily on coding tasks inside sandboxed environments with shells and filesystems. Hence, they get really good at navigating directories, reading files, running shell commands, and chaining operations together. Now, if your non-coding agent has a similar setup, it inherits all of that capability for free. The model already knows how to work in this environment - we're just giving it different data to work with. We are now seeing that Anthropic, Vercel, and Turso are all moving in this direction. To pull this off, you need a virtual filesystem that structures your data. FUSE (Filesystem in Userspace) does exactly this - it looks like a real filesystem to the OS, but you control what's behind it. The neat part: when your agent runs, say, `ls /workspace/data`, that call hits your FUSE layer, which translates it into a query against your actual backend. Agents can also create scratch files (like to-do lists) to organize their thoughts, and you can compact old conversation context into files that the agent re-reads when needed. Pretty neat! And more importantly, the Unix paradigm just gives good tool design. Instead of building separate search, write, move, and list tools, you just give the agent bash and let it figure things out. This is something I am digging deeper (sorry, exploring) into right now to see if we can come up with something here. If this sounds interesting, FUSE is just a Google search away; it is a pretty popular OSS utility. Also, look up 'file systems for agents', pretty interesting rabbit hole.
27
42
8
750
56,816
👋 Hi, I'm Felix and I work on Claude Cowork, bringing Claude Code closer to all kinds of knowledge work. It's an early and rough preview, please tag me in any feedback - we want to iterate very quickly and make it a little better every day.
365
156
24
5,199
599,228
liaylaa___ retweeted
Roadmap to become a High-Agency Distributed Systems Engineer (2026) Foundations (Non-negotiable) → Operating systems (processes, threads, memory, syscalls) → Networking fundamentals (TCP, UDP, DNS, latency, retries) → Data structures for systems (queues, heaps, ring buffers) Core Distributed Systems Concepts → Consistency models (strong, eventual, causal) → CAP theorem & trade-offs in real systems → Idempotency, retries, timeouts, backoff → Partial failures & why they are normal → Clock issues (logical clocks, vector clocks, time drift) State & Data → Replication vs sharding → Leader election & consensus (Raft basics) → Distributed transactions (2PC, Sagas) → Event-driven systems & message ordering → Storage internals (LSM trees, WAL, compaction) Systems Programming Skills → One systems language deeply (Go / Rust / Java — pick one) → Concurrency primitives (locks, atomics, channels) → Backpressure & flow control → Memory & GC behavior under load Production-Grade Architecture → Service discovery & load balancing → API gateways & edge patterns → Caching trade-offs (stampedes, invalidation) → Streaming systems (Kafka fundamentals) → Observability (metrics, logs, traces as signals) Reliability Engineering → SLIs, SLOs, error budgets → Circuit breakers & bulkheads → Capacity planning & traffic spikes → Chaos testing & failure injection High-Agency Builder Mindset → Read real papers (Google, Amazon, Meta) → Build systems from scratch (queue, KV store, rate limiter) → Debug real incidents, not toy examples → Write design docs before code → Own problems end-to-end, no handoffs Final Step → Build one serious distributed system → Run it under failure, load, and chaos → Measure, break, fix, repeat It’s about agency - the ability to reason, decide, and fix systems when they fail in the real world.
Roadmap to become a Java Developer: Java Basics → Programming fundamentals → OOP concepts Core Java → Data structures & algorithms → Exception handling & collections → Multithreading & concurrency (basics) → Java 8+ features (streams, lambdas) Backend Development → JDBC & databases (MySQL/PostgreSQL) → Spring & Spring Boot → REST APIs & microservices (basics) Professional Skills → Security (JWT, Spring Security) → Testing (JUnit, Mockito) Final Step → Build real projects → Optimize and deploy
4
38
2
327
16,728
liaylaa___ retweeted
The engineer who quietly reached L7 / Staff+ in under 5 years didn’t spam 800 LeetCode mediums or beg for referrals. The woman who became the highest-comp IC on her team didn’t spend 3 years “networking” in every cross-org meeting. The 27-year-old principal now making $900k+ total comp with a relatively small blast radius didn’t maintain a perfect 1:1 ratio of Jira tickets closed vs. meetings attended. They all did roughly the same 5 things: 1. Picked one truly valuable skill that actually moves the business needle (not the one trending on Twitter this quarter) 2. Built one repeatable system, framework, abstraction, or leverage layer that other engineers started copying 3. Shipped real, visible customer/business impact every single sprint even tiny ones and ensured the right people knew 4. Wrote, spoke, taught, documented, or demoed their work publicly inside the company almost every week (RFCs, tech talks, design docs, wiki pages, Slack threads with 40+ reacts) 5. Completely ignored everyone who said “wait your turn,” “you’re too young,” “focus on execution not visibility,” or “don’t rock the boat” Your manager wants you on the critical path of the existing roadmap because that keeps his org green. Your skip-level wants predictable delivery because that makes his VPs happy. Your peers tell you to “just grind LeetCode and wait for the promo packet” because that’s the only script they know. Your parents still think Staff Engineer is “a very good senior position.” None of them are wrong. None of them are rich in impact, leverage, or money. The fastest path to Staff → Principal → Distinguished → very fat comp packages in 2025–2028 is still boringly simple: - Own one scary-hard problem end-to-end - Turn it into leverage others can use - Make that leverage visible without being a show-off asshole - Repeat 6–10 times in a row - Stop asking for permission to take big scope The ladder isn’t broken. The people who climb it fastest just stopped pretending it’s a waiting game. You already know what your one thing should be. The only question left is: Are you finally done asking for permission to go do it?
the guy making $50K/month selling notion templates didn't mass apply to jobs. the girl doing $30K/month with AI UGC courses didn't beg for internships. the 22 year old clearing $20K/month with faceless accounts didn't update his linkedin. they all did the same thing. picked one skill. made one product. posted every day. ignored everyone who said it wouldn't work. your parents want you to get a "real job" because they don't know this exists. your friends think it's a scam because they've never tried. your professors would fail you for suggesting it. none of them are rich. stop taking financial advice from people who are broke. the path is right in front of you. you just have to stop asking permission to take it.
24
159
9
2,325
348,013
liaylaa___ retweeted
It’s been a minute . Got MacBooks , AirPods Pro 3s, series 11 and ultra 3 watches ,headphones , sneakers and quite a variety of items I’m selling at very okay prices . Posting details tomorrow
14
34
6
134
20,970
When juniors hear replication, partitioning, and sharding, it often sounds like three words for the same purpose: splitting data so it scales. They’re related, but they solve very different problems. Mixing them up leads to fragile systems. Let me explain this the way I usually do on a whiteboard. --- Replication – Same data, multiple copies Replication means copying the same data to multiple machines. You do this for availability and read scalability, not for storing more data. If one node dies, another has the same data and can keep serving traffic. Primary → replica (Postgres, MySQL) Leader → followers Multi-region replicas What replication gives you: - Higher availability - Faster reads (you can read from replicas) - Disaster recovery What it does not give you: - More write throughput - Infinite scale At some point, one node still has to accept writes. Replication doesn’t remove that bottleneck - it just spreads reads and improves safety. --- Partitioning – Split data within one logical database Partitioning means dividing data into smaller pieces, usually based on some key (time, ID range, region). Partitioning can happen on the same machine or across machines. Examples: - A table partitioned by date (one partition per month) - Logs partitioned by day - Kafka topics partitioned by key Why partitioning helps: - Queries scan less data - Indexes are smaller and faster - Maintenance is easier (drop old partitions) Partitioning is mostly about performance and manageability, not scale across many machines. You can partition a table and still be limited by a single server. --- Sharding – Partitioning + distribution across machines Sharding is partitioning plus distribution. Each shard: - Holds only a subset of the data - Lives on a different machine - Handles its own reads and writes This is how you scale write throughput and total data size. Example: Users 1–1M → shard A Users 1M–2M → shard B Users 2M–3M → shard C What sharding gives you: - Horizontal write scaling - Virtually unlimited data growth - Isolation (one shard failing doesn’t kill everything) What it costs you: - Cross-shard queries become hard - Transactions across shards are painful - Resharding is expensive - Application logic gets more complex Sharding is powerful and dangerous if done too early. --- How they work together (this is the part people miss) Real systems almost always use all three: - Partitioning inside each shard for performance - Replication per shard for availability - Sharding across machines for scale Example: - Each shard has 1 leader + 2 replicas - Data inside each shard is partitioned by time Requests are routed to the correct shard This is how large databases actually run in production. --- How to choose (practical advice) As a rule of thumb: - Start with replication when you need reliability and read scale - Add partitioning when tables get big or slow - Introduce sharding only when a single node can’t keep up with writes or storage - Sharding too early is worse than sharding too late. --- The mental model I want juniors to keep Replication = safety and reads Partitioning = performance and organization Sharding = true horizontal scale They’re not competitors but simply tools and each one comes with a cost. Good system design is not simply knowing these terms but more about knowing when not to use these.
6
33
268
13,647
When I started learning Go and getting deeper into distributed systems, my day-to-day feeling wasn’t confidence - it was constant inadequacy. I was sitting next to senior engineers who could reason about race conditions, partial failures, retries, backpressure, and consistency like it was second nature. Meanwhile I was struggling to even see the problem, let alone solve it. Every design discussion made me feel weak by comparison. But that feeling turned out to be the signal that I was training at the right weight. Daily bug fixing, reading production code, chasing down weird edge cases, and getting feedback on my mistakes was the equivalent of lifting heavy. Each bug exposed a gap in my mental model and each incident review made me realize how much I didn’t know. It wasn’t glamorous work, and it definitely didn’t make me feel smart at the moment - it made me feel slow. Then something subtle happened around the 5–6 month mark. Problems that initially felt overwhelming started to feel structured. Failure modes that used to look random began to look predictable. I could reason about trade-offs instead of memorizing patterns. I wasn’t copying what senior engineers said anymore but I was anticipating their questions. The feeling of weakness never fully went away, but my capacity had clearly expanded. That’s the real paradox: progress doesn’t feel like getting stronger. It feels like repeatedly confronting your limits. If you feel weak every day, it might not mean you’re failing - it might mean you’re lifting the right weight. Unless of course if you are still clueless after a few days then you are climbing the wrong mountain!
The paradox of serious training is that it makes you strong, but the primary feeling you experience day to day is weakness, not strength. The way you get stronger is by continually lifting weights heavy enough to make you feel weak.
9
41
2
501
30,536