Trilochanprasad B Hilli (@tpbh108_dev) header
Trilochanprasad B Hilli (@tpbh108_dev) profile picture

Founding AI Engineer | Creator of https://teapawt.net/t.co/Cf77Zg3hJp https://teapawt.net/t.co/InDFWaL2x6 https://teapawt.net/t.co/EKLq7Lk0TA Open for Collabs

Bengaluru
Joined October 2024
Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)Photo by Trilochanprasad B Hilli (@tpbh108_dev)
Trilochanprasad B Hilli retweeted
I treat system design like a checklist. Here’s my go-to mental TODO list when building systems: Fundamentals - What are the read patterns? - What are the write patterns? - Who owns the source of truth? - Is consistency or availability more critical? - Single writer or multiple writers? Architecture - Synchronous or async? - Do I need a queue, or is a cron job enough? - Can I separate the compute from storage? - Stateless or stateful services? - Contracts versioned? Reliability - What happens when this fails? - Where’s the retry logic, and is it idempotent? - Are we alerting to symptoms or root causes? - Timeouts configured? Scaling - How do reads scale? - How do writes scale? - Will this design hold up at 10x traffic? - What’s the hot path, and how do we optimize it? Observability - Do we log what we need to debug in production? - Can we trace a request across services? - What metrics define “healthy”? - Debuggable without redeploy? I don’t always follow it linearly, but if something breaks or feels off, this list helps me pinpoint what I may have overlooked. Add something for the next engineer 👇
11
22
140
6,152
Trilochanprasad B Hilli retweeted
AWS security common sense: - No IAM users. Use SSO + roles only - Root account: MFA on, keys deleted, never use it - No long-lived access keys anywhere. OIDC for CI/CD - Least privilege - S3 Block Public Access on at the account level - CloudTrail on in every region, logs in a separate account - GuardDuty on. Actually read the findings - Secrets in Secrets Manager, rotated - IMDSv2 enforced on every EC2 - Security groups: 0.0.0.0/0 only on 80/443 - Billing alerts. A cost spike is often your first breach signal Boring stuff, but it stops 90% of incidents.
33
114
12
1,564
120,996
Trilochanprasad B Hilli retweeted
HOW TO TURN INFORMATION INTO A SKILL THAT ACTUALLY STICKS
4
686
10
3,130
74,230
Trilochanprasad B Hilli retweeted
Hey builders ! 👋 Lets connect. BTW what did you cook this Sunday!?
20
1
17
372
Trilochanprasad B Hilli retweeted
system design in 5 pages, part 2
system design in 5 pages
22
171
10
1,355
67,238
Trilochanprasad B Hilli retweeted
Top 10 Backend Resilience Patterns Every Software Engineer Should Know (With Resources). Building a system that works is easy. Building one that survives failures is the real challenge. 1. Circuit Breaker Stop sending requests to a failing service to prevent cascading failures. Resource: martinfowler.com/bliki/Circu… 2. Retry with Exponential Backoff Retry transient failures with increasing delays and randomized jitter. Resource: aws.amazon.com/builders-libr… 3. Bulkhead Pattern Isolate resources so that one failing component doesn’t bring down the entire system. Resource: learn.microsoft.com/en-us/az… 4. Rate Limiting Control incoming request volume to protect services from excessive traffic. Resource: redis.io/learn 5. Load Shedding Reject excess requests when the system reaches its processing capacity. Resource: aws.amazon.com/builders-libr… 6. Backpressure Slow down producers when consumers cannot process incoming requests fast enough. Resource: reactive-streams.org/ 7. Graceful Degradation Disable non-essential features during failures while keeping critical functionality operational. Resource: sre.google/sre-book/handling… 8. Transactional Outbox Atomically persist business changes and outgoing messages to prevent event loss. Resource: microservices.io/patterns/da… 9. Idempotency Ensure repeated requests don’t produce duplicate business operations. Resource: aws.amazon.com/builders-libr… 10. Dead-Letter Queue Isolate messages that repeatedly fail processing for investigation and controlled replay. Resource: learn.microsoft.com/en-us/az… Bonus concepts: • Timeout propagation • Health checks • Failover mechanisms • Chaos engineering • Request hedging • Disaster recovery Junior engineers design for the happy path. Experienced engineers design for network failures, database crashes, duplicate events and unexpected traffic spikes. Failure is inevitable. Cascading failure doesn’t have to be. (Bookmark it)
12
58
2
342
13,394
Trilochanprasad B Hilli retweeted
I am telling you this. Learn about Ontological Knowledge graphs. The industries who are trying to adopt AI are going crazy for this.
49
145
11
2,672
167,948
Trilochanprasad B Hilli retweeted
Failure modes to bring up in every system design round: → The dependency gets slow (worse than down) → The same message arrives twice → The cache restarts empty → One key gets half the traffic → Two servers' clocks disagree → A short blip turns into a retry storm → A bad message blocks the whole queue → The primary dies mid-write → A config change goes out everywhere at once → The disk fills up with logs Pick the 3 that fit your design and say how you'd handle each.
6
2
24
2,069
Trilochanprasad B Hilli retweeted
8 engineering blog posts on how real companies scaled their databases: 1. Herding elephants: Lessons learned from sharding Postgres at Notion 2. Scaling Datastores at Slack with Vitess 3. MySQL High Availability at GitHub 4. Inside the Magic Pocket (Dropbox) 5. Designing Schemaless, Uber Engineering's Scalable Datastore Using MySQL 6. A Pods Architecture to Allow Shopify to Scale 7. Sharding Pinterest: How we scaled our MySQL fleet 8. How Figma's databases team lived to tell the scale Read one a week. Search the titles.
2
40
452
17,502
Trilochanprasad B Hilli retweeted
It's true. Startups are basically a series of disasters. Although YC's official motto is "Make something people want," we had two unofficial ones as well: "Never a dull moment" and "You can't make this stuff up."
When I first joined YC we had a running joke that “there's never a dull day” because however many disasters we'd help founders with, we were always discovering new types of disaster. 16 years later, there's still never a dull day.
151
90
24
2,150
175,269
Trilochanprasad B Hilli retweeted
Replying to @caterinacurti
The official docs are very good. I read it from there but might have to spend some time with it. a2a-protocol.org/latest/topi…
1
1
5
706
Trilochanprasad B Hilli retweeted
If you're building with agents, or thinking about software factories, don't miss this new post from Matthew Goldberg about the new AWS Emulator: aboutamazon.com/news/aws/how… There are two very cool things here.
9
22
1
181
10,836
Trilochanprasad B Hilli retweeted
I learn from first principles. To understand how AI memory works under the hood, I built OpenMemoryUI: openmemoryui.netlify.app Then I built OpenMCPUI to understand MCP from the inside: openmcpui.netlify.app Now I'm building OpenMultiAgentUI, a platform that shows how a multi-agent system really works, end to end: - tool calls and MCP servers - guardrails and safety - authentication and authorisation - permissions - databases and memory Every layer is visible, clickable and traceable, so you can see exactly what happens when an agent handles a request. STAY TUNED
19
29
3
362
21,358
Trilochanprasad B Hilli retweeted
holy wisdom drop by one of the senior engineers at oracle I am sharing this question over email since we are already in touch
to become the kind of engineer companies compete to poach is my end goal
18
69
9
1,713
89,425