Sabitlenmiş Tweet
Venkatesh
2.1K posts

Venkatesh
@venkateshdotdev
Backend Engineer | Java, System Design & Performance Hacks 💻 | Building scalable apps & sharing insights | Collaborate? DM!
World Katılım Aralık 2025
224 Takip Edilen386 Takipçiler

@RahulVerma989 So true! Especially when you want to learn a new technology which does not have any tutorial videos..
English

@venkateshdotdev Definitely building without tutorials. Breaking that cycle is when you actually start to get it, but the transition is brutal.
English

@venkateshdotdev Welcome back to the grind, hope the hometown recharge was worth it!
English

THROUGHPUT IN SYSTEM DESIGN
Throughput is the amount of work a system can process within a given period of time.
In simple terms:
Throughput = How much work gets done.
It is commonly measured as:
→ Requests per second (RPS)
→ Transactions per second (TPS)
→ Messages per second
→ Queries per second (QPS)
A system with high throughput can handle many users and requests simultaneously.
WHAT AFFECTS THROUGHPUT?
→ CPU capacity
→ Memory
→ Network bandwidth
→ Database performance
→ Disk I/O
→ Application efficiency
HOW TO INCREASE THROUGHPUT
1. HORIZONTAL SCALING
Add more application servers to share the workload.
Example:
→ Server 1
→ Server 2
→ Server 3
A load balancer distributes requests across all servers.
2. CACHING
Reduce repeated database queries by storing frequently accessed data in memory.
Examples:
→ Redis
→ Memcached
3. DATABASE OPTIMIZATION
Improve database performance by:
→ Creating indexes
→ Optimizing queries
→ Using read replicas
→ Partitioning large tables
4. ASYNCHRONOUS PROCESSING
Move time-consuming tasks to background workers.
Examples:
→ Email notifications
→ Video processing
→ Report generation
5. MESSAGE QUEUES
Buffer incoming requests to prevent overload.
Examples:
→ RabbitMQ
→ Apache Kafka
→ Amazon SQS
6. CONNECTION POOLING
Reuse existing database and network connections instead of creating new ones for every request.
REAL-WORLD EXAMPLES
→ Amazon handles millions of orders during major sales events.
→ Netflix streams content to millions of users simultaneously.
→ Google Search processes billions of search requests every day.
BENEFITS OF HIGH THROUGHPUT
→ Supports more concurrent users
→ Better resource utilization
→ Improved scalability
→ Faster request processing
→ Higher system capacity
CHALLENGES
→ Infrastructure costs
→ Database bottlenecks
→ Network congestion
→ Resource contention
RULE OF THUMB
Latency measures how fast a single request is processed. Throughput measures how many requests your system can process over time. A well-designed system optimizes both.
Grab System Design Ebook:
codewithdhanian.gumroad.com/l/urcjee

English

@rohit_jsfreaky that's the core difference between vm and container
English

@venkateshdotdev containers share the kernel, vms carry a whole os, that is the real split
English

Docker vs Virtual Machines
everyone compares them the wrong way:
- Containers start in seconds
- Virtual Machines provide stronger isolation
- Containers share the host kernel
- Virtual Machines run complete operating systems
- Containers use fewer resources
- Virtual Machines are better for mixed environments
- Containers simplify deployments
- Virtual Machines simplify legacy workloads
They're not competing.
They're optimized for different infrastructure needs.
English

@venkateshdotdev containers for speed.
VMs for isolation.
They complement, not compete!
English

@venkateshdotdev Java or Go - in the end a random motherfucking vibecoder will rewrite all in Rust
English

Java vs Go
what most developers misunderstand:
- Java wins when projects become massive
- Go wins when simplicity matters more than flexibility
- Java has a richer ecosystem
- Go compiles ridiculously fast
- Java's tooling is hard to beat
- Go makes concurrency feel natural
- Java gives you more ways to build
- Go gives you fewer ways to make mistakes
Neither language is replacing the other.
They're optimized for different engineering problems.
English

@SonOfDavid219 For me, sometimes I spend to much time in thinking without doing the actual work.
Need to fix it in my side
English

@venkateshdotdev For real bro, what's the hardest one for you??
English

@shamsheefa Especially when you are learning some new concept, and there is no any tutorial videos on that concepts.
English

@venkateshdotdev Building without tutorials. That’s when you realize whether you understand the code or just followed the steps.
English

@Vaiibhavii_31X Notepad++, that was the only ide in school lab those days
English

@Vaiibhavii_31X Point is, it has become really difficult nowadays to code without Ai
English

@itsankitakar If i had strong project idea, then i would do the second option
English










