Puneeth G R retweeted
How Container Networking Actually Works 🧙♂️
It's surprisingly simple once you understand the high-level idea and have some Linux networking experience.
1. To give each container its own network stack, you will need to create a network namespace per container - and it's just one short command. Practice: labs.iximiuz.com/challenges/…
2. By default, a network namespace gets only a loopback device, so it's not very useful. To connect the new network namespace to the host, you will need a pair of connected virtual Ethernet devices (veth) - one on the host and another one in the namespace. In particular, it'll give your container an IP address. Practice: labs.iximiuz.com/challenges/…
3. Turns out, connecting multiple network namespaces to the host creates a routing collision if their host ends are assigned IP addresses in the same subnet. To work around it, you will need a special multi-port device, called a bridge. Practice: labs.iximiuz.com/challenges/…
4. Our network namespaces (containers) can now talk to each other right through the bridge (on L2). But to talk to the outside world, the bridge itself needs an IP address and network address translation (NAT) for traffic leaving the container subnet. Practice: labs.iximiuz.com/challenges/…
And that's it!
Now you can reproduce a docker/containerd/kubelet bridge network using only basic Linux commands.
Check yourself with this ultimate challenge: labs.iximiuz.com/challenges/…
Reading books makes you smarter, less stressed, and helps you live longer, so here are practical ways to make reading a part of your life. trib.al/01xcTo1
Puneeth G R retweeted
🚨 Google Cloud's europe-west2 (London) region has seen a sharp rise in connection failures since 06:00 UTC on Oct 20. #Internet
Follow the latest on Cloudflare Radar: radar.cloudflare.com/cloud-o…
Puneeth G R retweeted
Docker's default port-publishing behavior is handy but insecure: `docker run -p 5432:5432` opens port 5432 on all host interfaces, making it accessible to any machines on the host's network.
The fun thing is that a host-level firewall (e.g., ufw) that closes all ports might not always protect against this behavior because, on many Linux distros, Docker's port-publishing rules have higher priority.
So either change the default in daemon.json or use the full form of the -p|--publish flag to explicitly publish the port only to some host interfaces (e.g., localhost):
-p <host-ip>:<host-port>:<container-port>
Practice: labs.iximiuz.com/challenges/…
Puneeth G R retweeted
Even 20 seconds of talking can be a turn off if you don’t include the other person in the conversation. s.hbr.org/4lZKmTL
Puneeth G R retweeted
Linux file system explained.
The Linux file system used to resemble an unorganized town where individuals constructed their houses wherever they pleased. However, in 1994, the Filesystem Hierarchy Standard (FHS) was introduced to bring order to the Linux file system.
By implementing a standard like the FHS, software can ensure a consistent layout across various Linux distributions. Nonetheless, not all Linux distributions strictly adhere to this standard. They often incorporate their own unique elements or cater to specific requirements.
To become proficient in this standard, you can begin by exploring. Utilize commands such as "cd" for navigation and "ls" for listing directory contents. Imagine the file system as a tree, starting from the root (/). With time, it will become second nature to you, transforming you into a skilled Linux administrator.
Have fun exploring!
Over to you: which directory did you use most frequently?
--
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/bbg-social
Puneeth G R retweeted
DNS 101: Resolving public, internal, and local-only hostnames 🧙
Most of the time, when you use curl or ssh, you point it to a hostname. When a network request uses a name instead of an IP address, it must resolve the name first.
Learn how it happens: labs.iximiuz.com/challenges/…
Puneeth G R retweeted
Can you limit a process's CPU and memory usage? 🤔
The Linux cgroup mechanism is behind resource control in Docker, Kubernetes, and even "raw" systemd daemons, but how hard is it to do it manually?
Learn how to use cgroup from the command line: labs.iximiuz.com/tutorials/c…
Puneeth G R retweeted
Listening carefully doesn't just avoid misunderstandings. It also bolsters bonds during arguments.
5 studies: Even if people don’t find common ground, when they feel heard, they leave feeling more connected, capable, and optimistic.
Agreement is not a prerequisite for respect.
Puneeth G R retweeted
1.1.1.1 now validates DNSSEC signatures using NIST’s post-quantum ML-DSA-44 algorithm. Here is how we manage 2,420-byte signatures and downgrade risks at scale. cfl.re/4xsuOwg
Puneeth G R retweeted
The "sidecar" design pattern is a neat way to keep proxies, log shippers, secret provisioning agents, and other helpers out of the main application container.
Kubernetes (since v1.28) makes sidecar support native - and it does it in an elegant way: no new container type, just an `initContainer` with `restartPolicy: Always`.
Practice working with Kubernetes-native sidecars in: labs.iximiuz.com/tutorials/k…
Puneeth G R retweeted
Some books stay on your shelf long after you've stopped reading them. ❤️
Do you hold onto your books forever, or are you a "let them go" person?
Puneeth G R retweeted
Critical thinking sounds easy, but it’s rare in practice. s.hbr.org/4mjSvTc
Puneeth G R retweeted
gRPC support is now available in Cloudflare Workers. You can now route, transform, and serve gRPC services natively at the edge without maintaining dedicated proxy infrastructure or translation layers. Read the launch post: cfl.re/4wEgW2h
Puneeth G R retweeted
Never take things personally—and listen and consider every viewpoint, even if you disagree. s.hbr.org/4tq3AED
Puneeth G R retweeted
Debugging privacy protocols like Oblivious HTTP is tough—multi-party flows, binary HTTP, and draft RFCs.
So we open-sourced pvcli! Built from handling millions of requests/sec, our CLI lets you execute full OHTTP requests with one command. ⚡ cfl.re/4fFVhzu
Puneeth G R retweeted
Introducing Unsloth for AMD 🚀
You can now train & run LLMs on your AMD hardware
• We collaborated with AMD to enable you to train & run 500+ models on AMD GPUs
• Works on Windows, WSL, Linux
• Train Qwen, Gemma on 3GB VRAM
GitHub: github.com/unslothai/unsloth
Works on Radeon, Instinct, Ryzen and data center GPUs with up to 2× faster with 70% less VRAM and no accuracy loss via our custom Triton kernels and math algorithms. We also support optimized ROCm builds for GGUF & Safetensors inference.
Unsloth is an open-source local UI for faster LLM training and inference, with tool-call healing, code execution, secure web search, remote APIs, and HTTPS deployment. Connect local models to Claude Code, Codex agents and run the latest Kimi, GLM, DeepSeek, Qwen3.6, and Gemma 4 models.
🔗Blog + Guide: unsloth.ai/docs/basics/amd
Puneeth G R retweeted
𝗪𝗵𝗮𝘁 𝗶𝘀 𝗮 𝗪𝗲𝗯𝗵𝗼𝗼𝗸?
Here's an example to help you understand it.
You have an application, and you want it to automatically do things without you having to trigger them manually.
That's where webhooks come in!
Webhooks are like messengers, allowing one system to send a message to another whenever a specific event happens. It's like getting a notification on your phone when someone comments on your social media post or when you receive an email.
Webhooks work similarly but for systems and applications.
Here's the basic flow:
1) Service A exposes a webhook
2) Service B subscribes to the webhook from Service A
3) Service A writes down the subscription
4) The event occurs in Service A
5) Service A sends the webhook request to Service B
There are many ways that webhooks can be helpful.
For example, you can use webhooks to automatically update a database or trigger an action when a form is submitted on your website.
They can also be used to send notifications or alerts, such as when a new user signs up for your service or when an error occurs in your system.
I once implemented a webhook in a text-to-speech API.
The application exposes an endpoint to upload a text file, and you can also pass in a webhook URL. An AI model will process the text file in the background and convert it into an audio file. When the audio file is complete, the application will trigger the webhook. The client can then download the audio file or do something else.
Did you have a chance to build something cool with Webhooks?
Puneeth G R retweeted
I’ve seen the Dual Write Problem break production systems.
The classic example:
1. Save data to a database
2. Publish an event
3. The application crashes between both operations
Now the database changed, but the event never reached the broker.
Two common solutions:
Change Data Capture
CDC reads committed database changes and publishes them as events.
Trade-off: less application logic, but more operational complexity.
Outbox Pattern
Store the data change and event in the same database transaction. A background process publishes the event later.
Trade-off: stronger application control, but you must manage the outbox and publisher.
Neither creates instant consistency across systems. They give you reliable eventual consistency.
What other solutions have you used?
Puneeth G R retweeted
Unpatched Claude for Chrome Flaw Lets Extensions Read Gmail, Calendar securityweek.com/unpatched-c…























