Fundamentals of Networking Engineering

Fundamentals of Networking Engineering

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 54 lectures (12h 50m) | 9.87 GB

Understanding the first principles of networking to build low latency and high throughput backends

We are entering an era in software engineering where we rely on libraries and frameworks to do most of our work. While this is useful and save tremendous dev hours, it creates leaky abstractions that manifest in form of performance degradation, unexpected errors, 100% CPU , network and disk usage, hangs, latency and many other. It becomes difficult to articulate what goes wrong on the backend and how to fix it when engineers don’t understand the basic building block of what they are interacting with.

Network communication is one of the most critical pieces in backend engineering. And the TCP/IP Internet suite is the basic fundemntal building block of communications that link the frontend to the backend. Any protocol we use eventually gets encapsulated into either a TCP segment or UDP datagram. That packet is wrapped in an IP packet which is placed into a frame and then sent across the network. These layers are important to understand for backend engineers in order to optimize the stack, minimize latency, and increase throughput. What matters is the true understanding of these pieces and not just memorizing definitions and packet headers to pass an exam. If an engineer truly understood what is happening when their backend API receives an HTTP POST request for example, they will be astonished at how much is happening behind the scenes. They would completely change the way they approach backend API designs, they will try to select the best protocol for the job, and they will tune that protocol to its maximum potential. They will start asking questions about frameworks and libraries that nobody else does. It is those questions that will make them fully utilize those framework to their maximum potential.

This course is primarily designed for backend engineers who built applications, services or APIs and want to take their skillset to the next level. If you are a frontend engineer who are interested in the backend and have attempted to build backend apps before this course is also for you. If you are a network engineer who already know the basic fundamentals and want to start building backend applications effectively this course might help you bridge the gap

This course is not designed for those who want to pass network certification tests (CCNA, CCNP, CCIE etc..)

What you’ll learn

  • IP Protocol
  • TCP Protocol
  • UDP Protocol
  • Understand the circumstances where requests and responses are slowed down
  • Learn how DNS works
  • Learn how TLS works
  • Learn the building blocks of TCP/IP Protocol
  • Learn the OSI Model and where your application fits in it
  • Understand the performance impact of TCP/IP in Backend applications
  • Make better decisions on what protocol to select for the Backend
  • Build and Design better TCP/UDP Backends
  • Use Wireshark to inspect traffic
  • Use TCPDUMP to inspect traffic
  • Build TCP and UDP Servers with multiple languages (Javascript and C)
  • Networking with Docker
Table of Contents

Who is this course for
Course Outline
Download Course Slides and resources here

Fundamentals of Networking
Client Server Architecture
OSI Model
Host to Host communication

Internet Protocol IP
The IP Building Blocks
ICMP PING TraceRoute
IP Packet
Capturing IP ARP and ICMP Packets with TCPDUMP
Routing Example
Private IP addresses Alaska Airlines WIFI example

User Datagram Protocol UDP
What Is UDP
User Datagram Structure
UDP Pros Cons
UDP Server with Javascript using NodeJS
UDP Server with C
Capturing UDP traffic with TCPDUMP

Transmission Control Protocol TCP
What is TCP
TCP Segment
Flow Control
Congestion Control
Slow Start vs Congestion Avoidance
TCP Connection States
TCP Pros and Cons
TCP Server with Javascript using NodeJS
TCP Server with C
Capturing TCP Segments with TCPDUMP

Overview of Popular Networking Protocols
Networking Protocols Introduction

Networking Concepts that Affect Backend Performance
What is this section
Nagles Algorithms Effect on Performance
Delayed Acknowledgment Effect on Performance
Cost of Connection Establishment
TCP Fast Open
Listening Server
TCP Head of line blocking
The importance of Proxy and Reverse Proxies
Load Balancing at Layer 4 vs Layer 7
Network Access Control to Database Servers
Networking with Docker

Analyzing Protocols with Wireshark
Wiresharking UDP
Wiresharking TCPHTTP
Wiresharing HTTP2 Decrypting TLS
Wiresharking MongoDB
Wiresharking Server Sent Events

Answering your Questions
Should Layer 4 Proxies buffer segments QA April 2022

Course Summary
Course Summary