samkhawase Profile Banner
Sam Khawasé Profile
Sam Khawasé

@samkhawase

Followers
380
Following
3K
Media
318
Statuses
3K

Engineering @Cloudflare 🧸 #GirlDad. Taleb’s Surgeon. Ex-farmboy. 🌾 (Opinions are all mine, not my employer’s) 🇮🇳 ❣️ 🇩🇪

Berlin, DE
Joined April 2009
Don't wanna be here? Send us removal request.
@samkhawase
Sam Khawasé
21 hours
Flâneuring early in the morning to get a head start for the day. भ्रमणप्राणायाम 🧘‍♂️
3
0
9
@denzil_correa
Denzil Correa
1 day
There's a special feeling to get something optimised. I had a similar experience on a side project where going back to my university knowledge of Data Structures helped reduce latency by 10x and cloud bill by 50%.
@samkhawase
Sam Khawasé
1 day
One of the benefit of being an early riser is I get lots of free hours to work on side projects. This morning I shaved one complex workflow and took it from 2.5s to 400ms. There's a special pleasure in going deep into the system and fixing latency... 1/n
0
1
1
@samkhawase
Sam Khawasé
1 day
Moral of the story: get up early and get cracking. Big performance gains often come from digging in deep, and sometimes the best profiler is your own curiosity. 🧵🔚
1
0
0
@samkhawase
Sam Khawasé
1 day
After the fix, the same request now takes ~400ms even with a complex signature validation logic and complex XML parsing. Cloudflare Dev stack's futuristic tooling makes it easy to debug and fine tune such problems. Anyway... a huge win and a great start of the day 5/n
1
0
0
@samkhawase
Sam Khawasé
1 day
This is where @CloudflareDev stack shines. Workers +KV+Cache = a ridiculously fast, edge-native environment for faster debugging and quick shipping. `npx wrangler tail` and the dashboard offer great debugging support :chefs_kiss: 4/n
1
0
0
@samkhawase
Sam Khawasé
1 day
Once I had the full visibility and control over the response flow, the fix was obvious. A combination of parallel requests, smart use of caching and some lazy regex to use XML parsing did the trick.... 3/n
1
0
0
@samkhawase
Sam Khawasé
1 day
The culprit? A weird slowdown deep inside multi-pronged API calls and XML parsing layer. I fleshed out these components individually and even manually ran the XML parsing logic just to isolate where the time was being spent. It was painful but totally worth it... 2/n
1
0
0
@samkhawase
Sam Khawasé
1 day
One of the benefit of being an early riser is I get lots of free hours to work on side projects. This morning I shaved one complex workflow and took it from 2.5s to 400ms. There's a special pleasure in going deep into the system and fixing latency... 1/n
1
0
8
@samkhawase
Sam Khawasé
2 days
“The path is the goal” — Chögyam Trungpa 🪷
@PaulPortesi
Paul Portesi
2 days
We fall in love with the certificate, the accomplishment, the attainment but not the pursuit, the path, the essence of the subject. The arrival is never needing to arrive but in the absolute emotional drive in what you're interested in not about some payoff from that attainment
0
1
5
@boristane
boris tane
3 days
one of my biggest learnings since joining @Cloudflare is how to handle incidents we operate at a mind boggling scale, and working in observability, I've been in the middle of my fair share of incidents internally, it's always about mitigating impact, figuring out how the root
21
23
467
@samkhawase
Sam Khawasé
2 days
People dishing out free unqualified advice about Rust, DNS etc could benefit from reading:
4
4
19
@samkhawase
Sam Khawasé
3 days
Twitter/X dichotomy Asking for help: 0 replies. Shitposting: 100s of replies.
@samkhawase
Sam Khawasé
3 days
What’s the best (free) way to create website logos in the postmodern AI world? My cyclist friend’s nephew’s grand uncle wants to know.
0
0
6
@samkhawase
Sam Khawasé
3 days
What’s the best (free) way to create website logos in the postmodern AI world? My cyclist friend’s nephew’s grand uncle wants to know.
1
0
1
@samkhawase
Sam Khawasé
3 days
My grandfather, a wrestler, fought in the armed rebellion against the Nizam during India’s Independence. Another ancestor defeated a world famous Gora Pehelwan in Nagpur.
@myaestheticnest
My Aesthetic Nest
14 days
Share a family lore:
3
0
13
@samkhawase
Sam Khawasé
4 days
My 25 year old copy of the magnum opus from 1959.
@BenWilsonTweets
Ben Wilson
5 days
"Men are not made from easy victories but based on great defeats." - Ernest Shackleton
0
0
3
@samkhawase
Sam Khawasé
4 days
North East Indians could give K-Drama/Pop a run for their money if Bollywood had any brains.
@ikaveri
Kaveri 🇮🇳
5 days
I always did think that Danny Denzongpa is a rather handsome man but ohmygosh, look at his wife, Gawa!
0
0
1
@sriramsubram
Ram
5 days
One of the biggest outcomes of having kids is that you completely loose the ability to wake up late. I was largely a night person before kids. I could sleep late and wake up late. After kids, it does not matter how late I sleep. I end up waking at 5-6 am. It forces you to sleep
3
1
28
@samkhawase
Sam Khawasé
5 days
Get up and act. Get shit done. Remember this passage from Sylvia Plath.
@jaynitx
Jaynit
6 days
Conor Neill literally exposed why smart people stay broke:
0
0
3
@samkhawase
Sam Khawasé
6 days
One must always have an antidote for their theory-induced blindness ready.
@PaulPortesi
Paul Portesi
6 days
Philosophy isn't about getting understanding it's about letting go of what you think.
0
2
2
@samkhawase
Sam Khawasé
6 days
Do we get -3 for each extra lang we speak? Penta/hexalinguals like us would like to know.
@EricTopol
Eric Topol
11 days
Evidence for a new, modifiable, independent factor for extending healthspan: multilingualism https://t.co/KCrKx8mjh4
0
0
4