Radi | dev👨🏽‍💻 (@radi_dev) header
Radi | dev👨🏽‍💻 (@radi_dev) profile picture

Software Engineer || AI

Nigeria
Joined October 2017
Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)
Hello world, this is my first real tweet, and it is not “real”. Last weekend, I took time to learn back-end development using NodeJs after several years of doing so solely in Python(Django). It didn’t take time at all. But to be sure I actually learned anything, ...
1
4
11
Radi | dev👨🏽‍💻 retweeted
It’s always important to take a step back and think of a real world situation when approaching/answering this technical questions.
You need to rename a column in a table with 50M rows and nearly zero downtime What's your step by step approach?
33
58
5
967
44,100
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🙌
58
196
9
2,228
177,915
Radi | dev👨🏽‍💻 retweeted
bro packaged math and programming into a game and 1000s of people are playing it on steam. this looks so cool 🤯
97
1,299
94
19,167
841,686
Everytime I see "sudo", my mind goes into a battle of how to pronounce it; sudo as in Judo? Or sudo as in voodoo? Considering the fact that it actually means "superuser do".
what does this command do folks?
1
118
"What is common to you might be mind-blowing to others" - Something I need to remember every day. 😪
59
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…….
5,065
2,754
78
3,451
312,436
Radi | dev👨🏽‍💻 retweeted
TRANSFORMERS SHOULD TAKE NOTES
622
13,736
2,264
106,950
8,809,436
Learning #Golang updates. One of the questions I have come up with about modules: "How do I import my things from other modules in the project?". I get that the exported function names need to start with upper case #LearningJourney #SoftwareEngineering teapawt.org/RadiBytes/status/18119…
Funny thing about my learning of #Golang. I'm using the approach where I read a little about a topic and then tinker around to figure out the rest or come up with questions for things I can't figure out. From my tinkering, I already have these answers... and questions:
1
56
A "not_hello_world" Go code. After deciding on my learning resources for #Golang, I drafted a learning flow, the first section of which involves getting started, creating modules, and basic syntax. I am using a combination of the tutorials, Tour of Go and Go By Example..
1
1
1
82
My previous tweet on the subject: teapawt.org/RadiBytes/status/18115…
🧵 Here are the steps I'm taking to learn #Golang and start shipping products with it in no time: 1️⃣ Overview: I gathered resources like PDFs, blog posts, YouTube videos, and shorts. This gave me a big-picture understanding of what's possible with Go and how broad it is.
31
Funny thing about my learning of #Golang. I'm using the approach where I read a little about a topic and then tinker around to figure out the rest or come up with questions for things I can't figure out. From my tinkering, I already have these answers... and questions:
1
1
135
7. With module initialized, one can run the "go mod tidy" command to automatically find and download all the required external libraries across the whole project. This action updates the go.mod file and generates a go.sum file which stores a checksum of the library downloads.
1
32
Here is my previous post on my Go learning journey. teapawt.org/RadiBytes/status/18119…
A "not_hello_world" Go code. After deciding on my learning resources for #Golang, I drafted a learning flow, the first section of which involves getting started, creating modules, and basic syntax. I am using a combination of the tutorials, Tour of Go and Go By Example..
21