Level up your SRE Game — Best of this Week — 21st May 2023

Vikas Yadav
4 min readMay 21, 2023

--

“Success is not about making giant leaps; it’s about taking consistent steps forward.” — Darren Hardy

I compile Site Reliability Engineering/DevOps-related articles every week and help you keep up your learning game.

This week we covered:

  1. Rare but wonderful change in TCP stack
  2. Transform Your Git Logs with this VSCode Extension
  3. Unleash AI on your Github pull requests!
  4. Kubernetes networking is simple and powerful

I also write about the tools and tips related to Software Development and SRE regularly on my Linkedin profile. You can check out my profile here: https://www.linkedin.com/in/vikasyadav94/

Rare but wonderful change in TCP stack

TCP/IP stack is rarely modified — here’s one of those rare modifications that drastically reduces latency! 🚀

While TCP is excellent for reliable data transmission, its latency is a significant drawback, particularly for short-lived connections. One Round Trip Time (RTT) is consumed during the handshake process, leaving servers idle as they wait.

TCP Fast Open (TFO), proposed in 2011, addresses this issue. TFO optimizes TCP by allowing clients to send data within the initial SYN packet.

TFO utilizes a cookie-based authentication mechanism, thereby improving web page load times on high RTT links.

The TFO process:
1. Client connects to server, requesting a “cookie” in its SYN packet.
2. The server sends a SYN-ACK containing the cookie.
3. The handshake proceeds as usual.
4. For subsequent connections, the client sends the cookie along with the SYN packet and the first chunk of data.
5. The server verifies the cookie and begins processing without any further handshake delays.

For an in-depth understanding of TFO, please share your interest in the comments and I will provide comprehensive resources.

For those interested to read more on this topic. This blog provides an in-depth study on TCP Fast Open: https://reproducingnetworkresearch.wordpress.com/2015/05/31/cs24415-tcp-fast-open/

Transform Your Git Logs with this VSCode Extension

Tired of plain, hard-to-read git logs? Discover this must-have VSCode extension that transforms your logs into an interactive, visual graph! 📊

Top features:
🌟 Interactive Git Graph displaying local/remote branches, tags, uncommitted changes, and more
🌟 Commit details & file changes just a click away, with speedy comparisons between any two commits using CTRL/CMD
🌟 Easily access VSCode Diff of file changes, open current file versions, or copy file paths

Plus, right-click on any commit, branch, tag, or stash to perform a variety of Git actions such as:
✅ Creating, merging, and renaming branches
✅ Adding, deleting, and pushing tags
✅ Cleaning, resetting, and stashing uncommitted changes

Don’t miss out — give it a try and let me know about your experience in the comments!

#git #vscode #opensource

Unleash AI on your Github pull requests! 🚀

Here’s a tool that I’ve fallen in love with lately — the ultimate tool for AI-generated pull request descriptions!

Say goodbye to struggling with summaries — just type wtd:summary and let AI handle it for you. 🤖🛠️

Simplify your workflow with “What The Diff” pre-built templates. ⚙️ Automate the process and focus on what truly matters — delivering top-notch projects! 💪🌟

Check out the tool here: https://lnkd.in/eF6WuPFX

#github #ai

Kubernetes networking simplified!

Kubernetes networking is simple and powerful — Give this blog 15 mins and you can understand everything about it!

🚀 This article from #digitalocean takes a deep dive into the networking capabilities that enable seamless communication between containers and nodes.

💡 Find out how data flows:
- Between pods
- Between pods and Service
- Across nodes

🔍 Unravel the power of Kubernetes Services for centralized IP addresses and DNS entries in distributed apps.

New to Kubernetes? No worries! Get a grasp of its networking architecture and components with this guide. 📘

👉 Read the full article and elevate your Kubernetes game today! 🔗

Blog Link: https://lnkd.in/eNGatN5F

#kubernetes #networking #architecture

--

--

Vikas Yadav
Vikas Yadav

No responses yet