
Senior Developer @ IIT Madras
Land of Coconuts π₯₯
Joined September 2017
- Tweets1.2K
- Following645
- Followers656
- Likes585
Tiny Anna Das ππ½ββοΈ retweeted
If you want to get hired, open the screen recorder on your computer and create a short, tailored intro / pitch video to the company you want to get an interview with.
DM this video along with a short introduction and link to your 1 page resume to someone in the company responsible for the role you are hiring for.
Most importantly, only do this for roles you actually think youβre capable of.
It will work 1,000x better than this slop.
Tiny Anna Das ππ½ββοΈ retweeted
Most people will never admit this about web development: the biggest lie in 2025 is that "AI will replace devs."
Itβs bullshit - but the truth is far scarier.
1/20 β
Tiny Anna Das ππ½ββοΈ retweeted
Added a slide to my upcoming QCon AI NYC talk. Because I'm still hearing people say "RAG is dead" when to me it looks more alive than ever.
LLMs need context.
Either they find it (MCP, etc) or you give it to them (RAG). Both are valid and alive. Many ways to do each.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @gwenshap
Postgres stores each row in βpagesβ (fixed-size blocks of 8 KB).
If a value (like JSON) is too big to fit after compression, it is moved to the TOAST storage.
lz4 is one of such TOAST compression algorithm
I made a post π
nitter.gq/tinyannadas/status/199β¦
How does Postgres compress large values?
When itβs large (e.g.JSON field), Postgres tries to compress it so it takes less space on disk.
Why does Postgres compress large values?
Postgres stores each row in βpagesβ (fixed-size blocks of 8 KB).
1. If a value (like JSON) is too big to fit:
2. Postgres compresses it.
If still big, it moves it βout of lineβ to a thing called TOAST storage.
Think of TOAST as a separate storage area for big values.
What is default_toast_compression?
Itβs a Postgres setting that tells Postgres:
βWhen you compress large column values, use THIS algorithm.β
Two algorithms matter:
1. pglz β the old, slower, worse compression
2. lz4 β the newer, faster, better-balanced one
What is LZ4?
LZ4 is:
- A compression algorithm β shrinks data
- Designed for speed first, with decent (not maximum) compression
- Much faster to compress and decompress than pglz.
- Uses less CPU overall
So for JSON storage, which is mostly text, LZ4 is ideal because:
- JSON is repetitive β compresses well
- Queries read the data often β need fast decompression
Why does switching to LZ4 save CPU, memory, and storage?
Storage:
LZ4 compresses JSON better β smaller TOAST values β smaller disk usage.
CPU:
Pglz = slow + CPU-heavy
LZ4 = very fast β less CPU spent compressing/decompressing JSON
Memory:
Less data moved in & out of memory buffers.
Tiny Anna Das ππ½ββοΈ retweeted
India seems to be a good place for significant growth right now. The folks here just need a significant paradigm shift after all.
Whatβs stopping you from doing the things you actually want to do?
For the longest time, I thought it was fear.
Or failure.
Or lack of time.
Or lack of clarity.
But now I realise the real thing stopping me was⦠me.
Iβve failed a lot.
Regretted a lot.
Wasted stupid amounts of time.
But somewhere along the way, my thinking started to shift.
Probably because of the people I met. The conversations I had. The small nudges that hit at the right time.
And suddenly I started seeing something new:
The future me (Your mind will be blown with this new paradigm!)
This guyβ¦
Heβs everything the current me is trying to become β
successful, calm, sharp, disciplined, empathetic, respected, and happy.
And I trust him.
Like crazy.
More than Iβve ever trusted anyone in my entire freaking life.
Thatβs the wild part:
the person I trust the most is the future version of me.
So why not move in the direction of the person I already know Iβm becoming?
Why not try the crazy things?
Why not take the path nobody around me has walked?
Why not let go of the insecurities the current me is still holding onto?
Because the me of today is already unrecognisable from the me of 2β3 years ago.
And the me of tomorrow will be unrecognisable from who I am right now.
This phase - this messy transition full of failures, experiments, rewiring, and tiny improvements isnβt a breakdown.
Itβs a transformation.
Honestly, Iβve started treating life like itβs on steroids (not literally lol).
Every year should feel like ten.
Ten years of growth, packed into one.
So what am I waiting for?
What are you waiting for?
Trust your future self.
Heβs already cheering for you.
He already knows you make it.
Heβs already built the life youβre dreaming of.
All you have to do now
is walk toward him.
One crazy step at a time.
βbased in Indiaβ will never be an insult for me. even if we accept that India is not a good place to live, the fact that Iβm living a much better life than these haters just shows how pathetic their lives are.
I can easily survive on my βIndianβ income in the US and live comfortably in most parts of Europe.
I retired my parents before I turned 20 while these losers live paycheck to paycheck.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @brankopetric00
Every storage tier has two costs:
1. Storage cost - the price to keep data sitting somewhere
2. Retrieval cost - the price to pull data out and read it
Hot tiers make you pay more for storage, less (or zero) for retrieval.
Cold tiers make you pay less for storage, more for retrieval.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @brankopetric00
A Lambda invocation is like a tiny isolated worker that must start fresh each time.
- that means every limitation, cold starts, memory caps, 15-minute timeout etc directly multiplies when you run millions of units of work.
- batch processing is fundamentally different. Itβs stateful, long-running, and throughput-driven.
- when the goal is to push as many records as possible through a pipeline in a fixed time window, what matters most is control over CPU time, not elasticity.
- On ECS/Fargate, a container is just a continuously running process.
- No cold starts, no forced restarts every 15 minutes, no need to split work into micro-invocations.
- You pay for runtime, not for millions of function calls.
- With Spot capacity, you also treat compute like a commodity, squeezing cost per CPU second as low as possible.
Here too, the workload didnβt need serverless elasticity; it needed raw, predictable, long-lived compute.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @hnasr
- masking was invented because old network devices could corrupt WebSocket data.
- TLS makes this corruption impossible.
- so when TLS is used, masking does not add security, it just wastes CPU cycles.
- but masking remains part of the standard because of history, backward compatibility, and the difficulty of updating global protocols.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @popovicu94
Why mixing gRPC + vsock is amazing?
- lower latency
- no ip address needed, hence no DHCP, port forwarding, firewall rule
- no network packets means no external attackers, more secure
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @Prathkum
cloudflare happened
nitter.gq/mehulmpt/status/198038β¦
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @brankopetric00
CloudFrontβs TTL only applies if the origin provides explicit cacheability.
Without that, CloudFront treats objects as βmust-revalidate,β ignoring your 1-day TTL.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @thegeeknarrator
Database performance issues I have faced ,
- Inefficient serialization
- excessive use of json fields to store nested objects, instead of building proper relations.
- N+1 query problems
- bad database design
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @brankopetric00
In prod, real load = new connections + multiple hosts + DNS lookups per target = resolver overload.
Tiny Anna Das ππ½ββοΈ retweeted
Weβre a 2-dev startup.
Code β push β production (no tests, no CI/CD).
Finally setting up a proper pipeline to stop flying blind.
Starting with lint + smoke tests β curious what else a βtiny-team CI/CDβ really needs.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @brankopetric00
For stable, long-running, API-heavy backends β containers (ECS/EKS) are cheaper and easier to manage than Serverless.
Serverless shines for event-driven, low-frequency, high-burst workloads.
Tiny Anna Das ππ½ββοΈ retweeted
Here's a Python gotcha that can waste your time.
If you have a method that returns an instance or None, it can be tempting to rely on truthyness in conditions.
Like this:
thing = get_thing()
if thing:
do_stuff_with_thing(thing)
That works until you define a __bool__ method, then you have created a very confusing bug for yourself. Suddenly sometimes `do_stuff_with_thing` doesn't get called. And if some time has passed, you are going to have a hard time finding the problem.
The solution is always to use explicit `is None` (or `is not None`) checks :
if thing is not None:
do_stuff_with_thing(thing)
Consider this a "best practice". Do it even if you can't see an immediate need for it. There is no downside.
Tiny Anna Das ππ½ββοΈ retweeted
Replying to @brankopetric00
What makes it is that the rate limiting is usually an after thought. We think of it as protective not load bearing
Tiny Anna Das ππ½ββοΈ retweeted
π§ CPU β The general-purpose brain. Handles all kinds
of tasks β from your OS to your browser tabs.
βοΈ GPU β Built for parallelism. Thousands of small cores working together for graphics, video, and AI math.
π€ TPU β Googleβs custom chip for deep learning. Special hardware that accelerates tensor operations (large-scale matrix multiplications common in neural networks) for model training.
π± NPU β The on-device AI engine. Runs neural networks locally on phones and laptops for fast, private inference.
The trend: from general β parallel β specialized β personal. Each step makes machines think faster and closer to us.
Tiny Anna Das ππ½ββοΈ retweeted
Redesigned our hero section.
Which one feels better β Top or Bottom? π














