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)
college students thank me later
🤖 Made with AI
5
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,119
Cant put into words how much your tech breakdowns have helped me. I have started to ask what, for who , how many, what kind and so many questions before building anything. Enjoying system design/ engineering things. Thankyou @arpit_bhayani
Suggesting an infra component, like a database, is pretty easy. But living with that decision is difficult, because your decision might backfire :) In 2018, Tripadvisor needed to map cookies, device IDs, and user IDs to a common visitor ID for over 20 million visitors a day, with a p99 latency target of 30 ms and local reads and writes in every region. PostgreSQL was their familiar choice. But running it across regions meant dealing with streaming changes from the WAL, resolving conflicting writes across regions, and recovering when replication broke. They would also have to build and maintain a lot of custom machinery around PostgreSQL just to make it work for their use case. So, they built a proof of concept with Cassandra. Cassandra, because its replication model was a better fit for a multi-region workload. It could replicate data across regions without requiring them to build the same replication machinery themselves. But yes, Cassandra did not solve consistency. It came with the classic distributed database tradeoff: availability and local writes came at the cost of having to deal with conflicting updates. So, Tripadvisor still had to keep the oldest visitor ID and remap the others when conflicting identities were discovered. And here is the interesting part: they ended up needing two databases. PostgreSQL remained useful for workloads that needed stronger consistency and relational capabilities, while Cassandra handled the high-volume, multi-region identity mapping workload. The problem was not that one database was universally better than the other. Of course, this also meant having one more database to operate, monitor, maintain, and debug. This is where a suggestion can backfire. "We know it well" and "everyone is using it" both sound reassuring, but neither tells you how a system will behave under your constraints. This is a classic example of why we should never choose an architecture or infra component just because it is fancy :) This is what I would recommend: 1. Write down what the system actually needs to do. 2. Define the latency targets 3. Understand the consistency guarantees 4. Understand your optionals and non-optionals 5. Think about the failure modes thoroughly 6. Account for the operational overhead 7. Estimate custom infra you have to build around it 8. Consider how the system will evolve as traffic, data volume, and geographical distribution grow. A database that looks great in a benchmark might turn out to be a terrible operational choice. So, always pick tech that you can live with, operate, and evolve over the next few years. Hope this helps.
1
34
If you are looking to get a job. Good read.
13
Juice of 1. Product with cool value 2. Commanding presence on X. @ErnestoSOFTWARE this is astounding. Congratulations 🎊
$18,000 in 1 day Im so proud of how locked in my audience is The amount of 6 figure founders that have bought volumereel.com is unreal This is useful for everyone beginners or experts in apps I just added 300 extra UGC reactions + Adding 200 more by today So now you get 1800 UGC hooks reactions for the same price + a group call with me next Wednesday Were I will be teaching you how to make FU money with apps I’ve built million dollar apps in public So i will not only give you the content to post But also the knowledge to operate. P.S I will be documenting in public scaling an app with these reactions I started posting yesterday so far 11k views 3 trials Insane for first day If you are still uncertain about getting volumereel Just follow me So you can see how it works first
23
Applying to jobs is getting automated. Standing out isn’t.
16
One tweet can change your life.
college students thank me later jellykit.site
16
What your Mumbai rent buys you! #mumbai
🤖 Made with AI
27
Hey builders 👋 If you are in tech lets connect. 🤝 Im a builder from 🇮🇳 cooking SaaS and learning growth.
6
7
149
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,562
120,885
I hire at my company. If you have built these 5 projects you have strong chance to get hired.
1
31
Hey builders , let's connect ! 👋 If you are building something , drop your link.
2
5
103
25 days. 410+ followers.
1
24
Tier 2 /3 rising is an amazing signal. Long India. 🚀
Replying to @vikpai
One of India's most interesting consumer growth stories is playing out in Chhindwara, Madhya Pradesh. By 2 PM, the city had placed 2.1x as many orders as last Black Friday, compared to 1.4x across our network. Ballia in UP and Malda in West Bengal also nearly doubled their order volumes by late afternoon. Small-town India is coming online.
15
If your CPU cache read took 1 second, an LLM reply would take 317 YEARSSSSSS
1
36