The Network Bits (@thenetworkbits) header
The Network Bits (@thenetworkbits) profile picture

Twitter page for The Network Bits newsletter. Networking, cloud, related technologies. https://xitter.cf/t.co/Qq32XRYdc9

Joined May 2022
Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)Photo by The Network Bits (@thenetworkbits)
UPDATE!! Specific Knowledge Newsletter has just been rebranded. From now on, it's The Network Bits. It has also been moved to a new platform. Click here to know why. open.substack.com/pub/thenet…
1. I don't aim to teach you everything. I only aim to provide the glue to help you connect pieces of information to create a wholesome understanding. Subscribe to the newsletter: linkedin.com/newsletters/spe… Join us on Telegram. t.me/SpecificKnowledge
1
183
The Network Bits retweeted
Replying to @4nsdp
Because the default header {"alg":"HS256","typ":"JWT"} base64url-encodes to eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... Every JWT starts with “ey” unless you use a weird header!
4
56
22,333
The Network Bits retweeted
This is an atomicity failure. And the fix is simple if you know it. Whether you're on Prisma, TypeORM, Sequelize, or raw SQL, the rule is the same: Any operation touching more than one record? Wrap it in a transaction. If one part fails, everything rolls back. Nobody loses a kobo.
5
9
135
20,530
The Network Bits retweeted
Interviewer: If a user uploads a 5GB file but loses internet halfway, how should the backend handle resuming the upload?
250
211
40
7,024
1,110,671
The Network Bits retweeted
Most asked DevOps interview Q: How to make Docker containers lightweight ? (Real-world DevOps practice) Here’s how I keep my Docker images small & production-ready 👇 Why lightweight containers matter : - Faster container startup - Quicker image pulls & deployments - Lower storage & memory usage - Better cloud performance + cost efficiency 📢Best practices I follow: 1️⃣ Use small base images → Prefer alpine or slim instead of full OS images 2️⃣ Multi-stage builds → Separate build & runtime stages so only required artifacts go into final image 3️⃣ Install only what’s needed → No extra tools in production images 4️⃣ Clean cache files → Remove package manager caches to reduce image size 5️⃣ Minimize Docker layers → Combine commands to keep images clean & small 6️⃣ Use .dockerignore → Prevent unnecessary files from entering the image 7️⃣ Avoid running as root → Improves container security. I’m actively applying these techniques while building real-world Docker & DevOps projects. Please add anything if I missed its a learn in public anyone can add any point. Save this if you work with Docker 🔁 Repost to help others ship better containers.
33
213
6
1,710
94,014
NETWORK PLUS DAILY
9
5
3
50
6,680
How do you restrict network access to a Linux machine? And how to the firewalls work? In this article, I explore iptables, the basic concepts and everything you need to know to start using it effectively. #Linux #Netfilter #DevOps #iptables open.substack.com/pub/thenet……
45
The Network Bits retweeted
Caching (Redis, Memcached) What is Caching? Caching is the process of storing frequently accessed data in a temporary storage (cache) so future requests can be served faster. Instead of querying the database every time, the system retrieves data from the cache, reducing response time and server load. Why Caching is Important → Improves application performance. → Reduces load on the database. → Enhances scalability and user experience. → Useful in real-time applications where speed is critical. Redis Redis (Remote Dictionary Server) is an open-source, in-memory data store often used as a cache, database, and message broker. → Stores data in key-value pairs. → Supports complex data structures like lists, sets, and hashes. → Provides persistence options (data can be saved to disk). → Commonly used in session storage, leaderboards, and pub/sub systems. Advantages of Redis → Very fast (in-memory). → Rich data types and features. → Persistence support (RDB, AOF). → Suitable for real-time analytics. Memcached Memcached is a high-performance, in-memory caching system designed for simplicity and speed. → Stores data in key-value pairs. → Focuses only on caching (no persistence, fewer data structures). → Commonly used for caching database queries, HTML fragments, or session data. Advantages of Memcached → Simple and lightweight. → Extremely fast read/write operations. → Scales horizontally across multiple servers. Redis vs Memcached → Redis: Feature-rich, supports persistence and advanced data types. → Memcached: Lightweight, purely focused on caching. → Redis: Best for applications needing caching + extra functionality. → Memcached: Best for simple caching with minimal overhead. Real-World Examples → Redis: Storing user sessions in large-scale apps like Twitter. → Memcached: Caching product details on e-commerce sites for faster page loads. Download The Backend Ebook ( it covers everything above and more) codewithdhanian.gumroad.com/…
12
310
5
2,011
105,716
How do you restrict network access to a Linux machine? And how to the firewalls work? In this article, I explore iptables, the basic concepts and everything you need to know to start using it effectively. #Linux #Netfilter #DevOps #iptables open.substack.com/pub/thenet…
20
The Network Bits retweeted
How Does SSO Work?
18
172
4
1,007
95,082
The Network Bits retweeted
Git crash course
9
211
4
1,375
131,064
The Network Bits retweeted
Full-Stack Developer’s 2025 Tech Stack • Frontend → React / Next.js / Vue.js • Backend → Go / Rust / Spring Boot / Node.js / Django • Database → PostgreSQL / MySQL / MongoDB • Authentication → JWT + Refresh Tokens / OAuth 2.0 • Infrastructure → Docker + Kubernetes / Nginx as Reverse Proxy • CI/CD → GitHub Actions / GitLab CI / Jenkins • Additional Tools → Redis (Caching), Kafka (Event Streaming), GraphQL (APIs) 📘 Ebook: Mastering Full-Stack Development in 2025 🔗 codewithdhanian.gumroad.com/…
11
78
1
539
37,394
How do you restrict network access to a Linux machine? And how to the firewalls work? In this article, I explore iptables, the basic concepts and everything you need to know to start using it effectively. #Linux #Netfilter #DevOps #iptables open.substack.com/pub/thenet…
2
87
The Network Bits retweeted
Free Computer Science Certifications to try in 2025: 🔸GIT simplilearn.com/learn-git-ba… 🔸Python mygreatlearning.com/academy/… 🔸SQL cognitiveclass.ai/courses/le… 🔸DSA mygreatlearning.com/academy/… 🔸Java openclassrooms.com/en/course… 🔸JavaScript openclassrooms.com/en/course… 🔸C alison.com/course/c-programm… 🔸C++ alison.com/course/introducti… 🔸Data Science simplilearn.com/data-science… 🔸Machine Learning simplilearn.com/learn-machin… 🔸Google Data Analytics Certificate imp.i384100.net/0ZOBkL 🔸Deep Learning kaggle.com/learn/intro-to-de… 🔸Linux mygreatlearning.com/academy/… 🔸DevOps openclassrooms.com/courses/7… 🔸SQL cognitiveclass.ai/courses/le… 🔸SQL for Data Science imp.i384100.net/oqJLJE 🔸PostgreSQL freecodecamp.org/learn/relat… 🔸MySQL simplilearn.com/free-online-… 🔸SQL Server learn.microsoft.com/training… 🔸Oracle mygreatlearning.com/academy/… 🔸Full Stack Web pll.harvard.edu/course/cs50s… 🔸Meta Back-End Developer Professional Certificate imp.i384100.net/WqrGoX 🔸Meta Front-End Developer Professional Certificate imp.i384100.net/21q32O 🔸Programming with JavaScript imp.i384100.net/oq3WV9 🔸Linux mygreatlearning.com/academy/… 🔸DevOps openclassrooms.com/courses/7… 🔸CI/CD simplilearn.com/free-ci-cd-o… 🔸Docker cognitiveclass.ai/courses/do… 🔸Web Applications for Everybody Specialization imp.i384100.net/PykjzR 🔸Kubernetes simplilearn.com/learn-kubern… 🔸HTML, CSS, and Javascript for Web Developers imp.i384100.net/MmjnAM
15
436
9
1,884
176,222
The Network Bits retweeted
SSH Under the Hood
5
244
4
1,871
263,811
📢 NEW ARTICLE! JSON is a popular document format. In this article, I explore what JSON is, how it works, and how it's used. open.substack.com/pub/thenet…
1
33
There are many ways to access instances in private subnets, but one of them is through a VPN. In this article, Ojo Tope walks us through the step-by-step process of setting up a FortiGate SSL VPN on AWS. dev.to/ojotemitopseun/implem… #Cloud #AWS #VPN #FortiGate #RemoteAccess #Bastion
54
ARP poisoning? What is ARP? What does it do in a network? How does it work, and how can it be exploited by hackers? Read more in this article: #CyberSecurity #networksecurity #networking #arp open.substack.com/pub/thenet…
1
31
Sorry. It looks like I didn't put the complete link. open.substack.com/pub/thenet…
19
#CloudNative Roundup: Past Week's Top 5! A Thread 🧵
1
1
1
113