shubhamsinha baghel
@CoderRuntime
Followers
209
Following
3K
Media
59
Statuses
2K
From my mountain lair 🏔️ I conquer bugs 💻 | Self-taught FullStack | JS, React, Node
India
Joined September 2016
@SumitM_X Static members belong to the class, so there is only one shared copy across all threads. • All threads access the same static variables • Changes made by one thread are visible to others • Static members are not thread-safe by default • synchronized static methods lock on
1
1
44
Great Opportunity
We are hiring at Red Hat AI 🚀 We are building the next generation of open source LLM inference, with @vllm_project at the core, focused on performance, efficiency, and scale. A few open roles include: 1. Principal Machine Learning Engineer, AI Inference:
0
0
0
We are hiring at Red Hat AI 🚀 We are building the next generation of open source LLM inference, with @vllm_project at the core, focused on performance, efficiency, and scale. A few open roles include: 1. Principal Machine Learning Engineer, AI Inference:
15
54
524
Nice move but Hopefully @udemy doesn’t increase their course prices 🤞
0
0
4
Most people think Redis is just used for caching. But you can also use it as a vector database. Here are a few use cases for Redis: - Counters - Rate limiting - Leaderboards - Session store - Message queue - Distributed locking And of course, Redis as a vector database. What
10
65
423
Candidates usually get totally confused when I ask simple questions like - Where is React State Stored? When you hover over a Chrome tab and see Memory: 120MB, what memory is that? That is browser process memory, not React memory. It includes: JavaScript heap DOM nodes
8
42
492
Lambda function worked perfectly in testing. Failed 30% of the time in production. No code changes. Same configuration. Identical triggers. The issue: cold starts were initializing a database connection that sometimes timed out under load. - Test environment: low traffic, warm
12
8
165
As a developer, ever heard of mTLS? In normal HTTPS/TLS: Server shows a certificate Client does not In mTLS (Mutual Transport Layer Security): Server shows a certificate Client also shows a certificate Both sides prove their identity. Why is mTLS used? To ensure only
8
8
133
Before COVID, a good-sized 2BHKs in Pune were around 60-65 Lakhs Now, the size has reduced, and you don't get anything decent below 1Cr #Pune
53
22
400
SDE interview questions :-
mighty-tick-9f6.notion.site
Why image optimization matters and how Next.js Image works internally.
8
27
275
1 one piece of advice I would give to my 24-year-old self interviewing for backend roles: Never fall into the trap of trying to learn everything. Because you simply cannot. This is NOT a System Design interview: Kubernetes Kafka gRPC Redis Postgres SQS API Gateway Docker
19
114
1K
Josh 🙌 When you need to send a very large file/data between services, dont send the whole file. Store the file somewhere else and only send a small ID (claim-check). How it works in microservices: 1. Service A gets a large file 2. It stores the file in S3 / Blob storage 3.
@SumitM_X the claim-check pattern and a blob store
5
6
127
System Design interview question. You’re writing your own Google Search or ChatGPT, and you need to download the whole Internet. How would you download it?
359
25
965
Your microservice needs to transfer large amounts of data (e.g., files, images) between services. How do you design the communication to avoid performance bottlenecks and manage large payloads efficiently?
27
13
383
HTTP status codes look complicated at first, but once you understand the groups, everything becomes much easier to debug. - 1xx codes are just informational signals, the server is processing the request. - 2xx means success: the request was received, understood, and accepted.
7
32
182
API Gateway explained in the simplest way. API Gateway is the traffic controller for your backend. Whenever someone hits your API (like /login or /upload), API Gateway takes the request and sends it to the right place, usually a Lambda function. You don’t manage servers. You
4
36
265
Model-View-Controller (MVC) → MVC splits an application into three core parts to separate concerns and improve maintainability: Model, View, and Controller. → View handles presentation, Controller handles input and flow, Model handles data and business rules. Components →
13
79
535
Here’s a real example of how ignoring idempotency can burn you - literally. About 2 years ago, I was working at a startup where our payment flow relied heavily on idempotency keys (like most payment providers: Stripe, Razorpay, PayU, Cashfree, etc.). The idea is simple, each
@0xlelouch_ @grok explain what is idempotency in distributes systems and why is it important
14
43
398
Application handled 10K concurrent websocket connections perfectly. Scaled to 50K connections and Redis started throwing OOM errors. The investigation: - Redis configured with 2GB memory - Each connection stored session data - Session data: 50KB average per user - Math: 50K
18
40
514