Radi | dev👨🏽💻 retweeted
Does “WhatsApp” use WebSockets or gRPC?
Short answer: No.
What WhatsApp uses
WhatsApp uses a custom messaging protocol built on top of MQTT over TCP/TLS.
What is MQTT?
MQTT (Message Queuing Telemetry Transport) is a lightweight publish–subscribe messaging protocol designed for:
•Low bandwidth networks
•High latency or unreliable connections
•Devices that need to stay connected with minimal battery usage
It was originally built for IoT, but its design fits mobile messaging extremely well.
How it works (high level)
•Each device maintains a persistent TCP connection to WhatsApp servers
•Messages are sent as binary payloads (not JSON)
•Uses acknowledgements to guarantee delivery
•Automatically recovers from network drops
•TLS is used for transport security (along with end-to-end encryption)
Why not WebSockets?
•Extra overhead for mobile networks
•Less battery-efficient at WhatsApp scale
•Not designed for intermittent connectivity
Why not gRPC?
•Best suited for backend microservices
•Not optimized for billions of client connections
•Browsers and mobile apps aren’t its primary target
TL;DR
•Browser apps → WebSockets
•Backend microservices → gRPC
•Massive mobile chat apps → Custom TCP + MQTT-style protocols
That’s how WhatsApp stays fast, reliable, and battery-friendly at scale.
I was working on gRPC today… and here’s the simplest way to understand it.
What is gRPC?
A high-performance communication framework by Google.
It lets services talk to each other using binary Protocol Buffers instead of JSON.
Why is it better than normal HTTP/HTTPS?
Because:
•It’s much faster (binary > text)
•Uses HTTP/2 → multiplexing, streaming, fewer connections
•Strongly typed contracts via .proto files
•Smaller payloads → ideal for microservices
•Supports bi-directional streaming (something REST can’t do)
When should you use gRPC?
•Microservices that talk to each other inside your system
•Real-time communication (chat, live updates, streaming logs)
•High-performance internal APIs between backend services
•When speed and low latency actually matter
When is HTTPS/REST still better?
•Public APIs (browsers, mobile clients, external partners)
•When readability matters (JSON is easier to debug)
•When you want simple CRUD endpoints
•When you don’t want the overhead of creating .proto files
Drop your questions if any🙌
Radi | dev👨🏽💻 retweeted
bro packaged math and programming into a game and 1000s of people are playing it on steam.
this looks so cool 🤯
Radi | dev👨🏽💻 retweeted
I’m about to pull one Mr beast shiii right now for all my followers…..
At 2PM WAT today.
RT and reply YES if you’re in.
I’ll lock this comment section by 2PM before making the new tweet, if you’re not in here, you don’t qualify…….
Radi | dev👨🏽💻 retweeted
Things Every Developer Should Know: Concurrency is 𝐍𝐎𝐓 parallelism.
In system design, it is important to understand the difference between concurrency and parallelism.
As Rob Pyke(one of the creators of GoLang) stated:“ Concurrency is about 𝐝𝐞𝐚𝐥𝐢𝐧𝐠 𝐰𝐢𝐭𝐡 lots of things at once. Parallelism is about 𝐝𝐨𝐢𝐧𝐠 lots of things at once." This distinction emphasizes that concurrency is more about the 𝐝𝐞𝐬𝐢𝐠𝐧 of a program, while parallelism is about the 𝐞𝐱𝐞𝐜𝐮𝐭𝐢𝐨𝐧.
Concurrency is about dealing with multiple things at once. It involves structuring a program to handle multiple tasks simultaneously, where the tasks can start, run, and complete in overlapping time periods, but not necessarily at the same instant.
Concurrency is about the composition of independently executing processes and describes a program's ability to manage multiple tasks by making progress on them without necessarily completing one before it starts another.
Parallelism, on the other hand, refers to the simultaneous execution of multiple computations. It is the technique of running two or more tasks or computations at the same time, utilizing multiple processors or cores within a computer to perform several operations concurrently. Parallelism requires hardware with multiple processing units, and its primary goal is to increase the throughput and computational speed of a system.
In practical terms, concurrency enables a program to remain responsive to input, perform background tasks, and handle multiple operations in a seemingly simultaneous manner, even on a single-core processor. It's particularly useful in I/O-bound and high-latency operations where programs need to wait for external events, such as file, network, or user interactions.
Parallelism, with its ability to perform multiple operations at the same time, is crucial in CPU-bound tasks where computational speed and throughput are the bottlenecks. Applications that require heavy mathematical computations, data analysis, image processing, and real-time processing can significantly benefit from parallel execution.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Radi | dev👨🏽💻 retweeted
A Simplified article on understand Go routines and channels in Golang.
I have Simplified the use of go routines and how the Go routines communicate through chanels.
Check it out, linkedin.com/posts/chigozie-…
Radi | dev👨🏽💻 retweeted
Stop wasting time coding everything from scratch.
Here are 7 free no-code tools top programmers use to build faster:
Radi | dev👨🏽💻 retweeted
Apt! Similar to the approach to banking the unbanked.
The unbanked don't even know some of these fintechs exist yet we think by sitting inside one posh apartment in lekki with sophisticated CRM software we can bank the unbanked in the hinterlands of Nigeria.
Radi | dev👨🏽💻 retweeted
I used to hate imitation and copycats a lot (I still do) because I believed that people needed to come up with original ideas and try new things. I saw imitation as laziness.
I have, however, seen that the best way ideas improve is when they are copied and tried in new ways.
Radi | dev👨🏽💻 retweeted
LinkedIn is a great tool for finding freelancing work.
But 99% of people use it wrong.
Here are some tips and strategies to find freelance work on LinkedIn:
Radi | dev👨🏽💻 retweeted
forms.gle/n3gdZmuodDxAEtMw6
I am working on providing APIs for techies to use for their personal blogs where they only have to build the frontend for displaying their blog posts. The API will handle all backend concerns.
To see if it is really useful and something you can pay for.
Radi | dev👨🏽💻 retweeted
Here are financial institutions that give study loans to int'l students including Nigerians to study abroad. I have also included their websites so do your due diligence.
Remember to RT for others!
Radi | dev👨🏽💻 retweeted
How to Contribute to Open Source Project? 😍
I have created a practice repo,
follow the process and
Practice with me.
Thread🧵👇️
#OpenSource #DevOps #DEVCommunity #github
#100DaysOfCode #DataScience #Python #dataScientist
Radi | dev👨🏽💻 retweeted
Google is the most powerful tool in the world.
But only if you use it right.
Here are 10 Googling tips that will make you smarter:
Radi | dev👨🏽💻 retweeted
1. No one can stop you when you master the basics
- You can start with any technology you want.
But if you’re struggling, take a pause & restart your tech journey.
- Remember all new & fancy frameworks are based on the basics.
- Master basics you can code in anything.
Radi | dev👨🏽💻 retweeted
1/3 Hi there @Radi_dev .
I have just logged in with year Twitter scheduling app.
I'm testing the multithreading feature of the app with counter turned on.
This text is meant to be long enough so it gets truncated automatically ...




























