
Engineering Lead @chainrisk | Cloud Architecture & Cost Optimisation | DevOps & Rust 🦀 | Building FlexAuth.
Kolkata, India
Joined September 2021
- Tweets6.4K
- Following515
- Followers2.1K
- Likes10K
If I could delete one AWS line item forever it would be NAT Gateway.
Hourly charge and then per GB on top, just to let traffic go OUT. You're literally paying rent to leave the building.
Which one would you delete?
68
Things I keep finding in AWS accounts long after the project "ended":
→ EBS volumes with no instance
→ snapshots of those volumes
→ Elastic IPs attached to nothing
→ a NAT gateway doing nothing (~$32/mo)
→ load balancer with 0 targets
Go check yours. Takes 10 minutes.
4
264
So how did the Monte Carlo bill at Chainrisk go down 60×? Not one clever trick:
1. Batching. Thousands of sims per GPU launch instead of one
2. Rewrote the engine in Rust
3. Heavy maths on CUDA
It got 40× faster, and faster means the GPUs run for less time. 6M+ sims a day now.
2
149
Built Proof of Reserves for a $1.5B platform. Nitro Enclaves, ZK circuits, the whole thing.
Ma still tells every relative I "do something in computers".
She's not wrong honestly.
1
72
Tried to fit the Proof of Reserves we built for a $1.5B platform into one picture.
Proving the money exists is easy. Proving it without showing anyone the balances is the hard part.
The counting runs inside a Nitro Enclave where even we can't peek, and Circom makes the proof.
1
58
Most expensive bug I've shipped: 18 hours of GPU time, gone. One tensor shape mismatch in eval.py and I had zero checkpoints. I just sat there staring at the terminal.
Now checkpointing is the first thing I set up.
What's yours? Hours or rupees, both count.
3
115
DryFi was paying around ₹30,000 a month just to keep the stack running. For a small startup that's almost a fresher's salary.
I moved everything to GCP + Firebase and it came down to under ₹1,000.
No magic. Nobody had looked at the bill properly, that's all.
5
386
Half the "we need to scale" meetings I've sat in could have ended in 5 minutes if someone just ran EXPLAIN ANALYZE on that one query.
It's always one query. Missing index, full table scan, 45 minute meeting.
1
7
383
deploy-bot has zero loyalty to anyone.
Also "small fix, no need to review" is the scariest commit message I know.
1
210
My college taught me zero of this. If you're a student and want to get into infra, go in this order:
1. Linux + one language
2. Deploy something for real users, even if it's ugly
3. Keep it running: logs, alerts, Docker
4. Make it cheap
5. Terraform
Most people skip 2. Don't.
1
6
426
Every single outage I've been part of started with someone typing "this shouldn't affect anything" in Slack.
Sometimes that someone was me.
1
119
Rust at 1 AM:
47 errors. Fixed one lifetime annotation. 3 errors.
Added one .clone() out of pure frustration. 0 errors.
I don't know what I did and I'm not touching that file again.
1
86
Client asked if the pipeline can be faster. I said yes.
Then asked if it can be cheaper. Also yes.
Then they go "ok so both?"
Sir that is a Rust rewrite and I don't think anyone on this call is ready for that conversation.
1
155
Unpopular opinion: your resume says 14 "technologies known" and I believe maybe 2 of them.
3 repos that actually run > that whole section.
Nobody can verify a list. Anybody can click a link. Go build yours.
2
147
847 restarts in 3 days. EIGHT HUNDRED FORTY SEVEN.
And Grafana was showing all green the whole time. Turns out the health check returns 200 before the app even boots.
Never trusting a green dashboard again.
1
112
Saturday. Phone on silent, MacBook closed, finally some peace.
Apple Watch buzzes. CPU > 80% on prod-worker-2.
Buying the Apple Watch was the mistake bro.
2
123






