AI is a good companion for sure, but the level of complexity it has added to human brain, is on another level.
- Too much FOMO
- Ship everything but no customer
- Products gets customised before maturing.
- No one knows whats next
1
3
47
AI coding tools quietly charge you for taking a break.
Claude keeps your work in memory for 5 minutes. Step away longer and it rereads everything at full price.
Requesty's billing data:
23% of claude coding costs came from this.
GPT which keeps it for 30 minutes: 9%.
1
1
78
When in rain, just let it soak you.
When in sun, let it tan you.
The healing will begin when you embrace it
2
59
We all put a load balancer in the architecture diagram, but a lot of people never ask what it is actually looking at.
When a site is small, one server is enough. Traffic grows, that server hits a limit, and you add more servers. Now something has to decide which server should get each request. That is the load balancer. It sits in front, receives the traffic, and spreads it across the backend.
The important part is the layer it works on.
A Layer 4 load balancer only looks at IP and port. Let's say all traffic on port 443 is sent to a product service running on 8080. Every request to that port goes there, even if the URL is /login or /products. It is fast because it does not inspect the actual request content.
A Layer 7 load balancer works at the application layer, so it can look at the URL, headers and so on. It can send example.com/products to one service and example.com/login to another, under the same domain. It can also rate limit or block a client that is flooding you. More flexible, but it has more work to do for every request.
The common mistake is using Layer 7 everywhere because it can do more, or using Layer 4 and then wondering why you cannot route by URL. If you only need to spread TCP traffic and care about speed, Layer 4 is enough. If you are running multiple services behind one domain, you need Layer 7.
So it is not just about spreading traffic. It is about whether you only need IP and port, or whether the balancer has to actually understand the request.
1
60
The second time you open an app, it feels instant. The database did not suddenly get faster.
When you open it the first time, the app usually goes all the way to the database, fetches your data, and then keeps a copy somewhere closer, like Redis or even in memory.
That copy is the **cache**.
Next time the same data is needed, the app checks this copy first. If it is still there and still valid, it returns it immediately and the database is not even touched. In simple terms, cache is just a faster, shorter-lived copy of data you already paid to fetch once.
This is usually called cache-aside. The app is in charge of reading and writing the cache, not the database itself.
Let's say you open your profile. The first request comes to the app. It looks in Redis, finds nothing, so it queries the database, gets your name, photo and settings, stores that in Redis for a few minutes, and then sends it back to you. The second request comes, the app finds it in Redis and returns it. That's why it feels instant.
The common mistake is treating cache as if it will always be correct. If you update your profile picture and the old one is still sitting in Redis, people will keep seeing the old image until that copy expires or is removed. Same idea as eventual consistency, just at the cache layer.
So the hard part is not putting data into cache. The hard part is deciding how long it can stay there, and how you invalidate it when the real data changes.
Hope it helps!
2
2
59
In my previous post, i explained how fuzzy search works.
This time I wanted to bring that explanation to life through animation.
Here's a simple 30 second visual explanation:
1
1
72
Rajath retweeted
Jobseekers Around Pune:
KSB is hiring for Senior Fullstack Developer (IoT)
Apply link 👇
When you go on any site and search for something and you get the results even when your spelling is incorrect.
Enter **Fuzzy search**.
It finds relevant results even when the entered input is incorrect.
Let's say you type **doker** in search bar, fuzzy search will find nearest words which makes sense by measuring distance with already indexed words and finds you the correct word **docker**
Measuring distance in the sense, the minimum effort required to form a meaningful indexed word from the actual input word you typed out.
The most common technique used is **Levenshtein technique**.
8
208
What do you guys use Gemini task for ?
I use it mainly for summarize my emails.
Shopping cart
Anything interesting, you use it for?
1
4
137





