Search This Blog

June 30, 2021

Kafka on the Network - Wireshark Analysis (Paul Offord)

Kafka on the Network - Wireshark Analysis (Paul Offord)

This post follows on from my earlier
Kafka Basics and Demo blog. This time we take a look at the packets. How does a Kafka producer send a message to a topic? How on earth does a Kafka consumer know that there is a message waiting to be fetched?

In this video, we look at the Kafka protocol basics with Wireshark.

June 18, 2021

Who Do You Want to Be When You Grow Old? - A Review (Paul Smith)

 

Who Do You Want to Be When You Grow Old? - A Review (Pail Smith)I have reached that point in life where my doctor starts many of his comments with “At your age....”. I have come to realize this is more than a mere figure of speech. Like most of my contemporaries, I began by trying to figure out “what” I was going to be (first a physician, eventually an engineer). I gave little thought to when or how age might nudge me onto an off-ramp from the expressway to money and success. Who Do You Want to Be When You Grow Old? by Richard Leider and David Shapiro reminds us that sooner or later, our life-long model for living an accomplished life will fall apart. The book is not a list of answers or techniques, but rather a new perspective that will provoke thought and provide inspiration. Getting old is inevitable (provided you choose your parents carefully and take good care of yourself), but growing old, pursuing the “who” of your life, requires purpose.

June 10, 2021

Internet Speed Tests: Why Your Computer Might Be the Bottleneck, Not Your Network!

Internet Speed Tests: Why Your Computer Might Be the Bottleneck, Not Your Network!
I'm fairly confident that just about everyone has used an internet speed test at some point. They're convenient, easy to run, and provide a quick indication of how well your internet connection is performing. Some of the popular options I've used include Speedtest.net and Fast.com. However, there's something worth remembering before you start complaining to your ISP about those disappointing download numbers: the speed test measures more than just your internet connection. Your computer, network adapter, Wi-Fi signal, browser, and even background applications can influence the results. A busy router, weak wireless signal, VPN connection, or overloaded endpoint can make a perfectly good internet connection look considerably slower than it actually is.

Things become even more interesting when you move into a corporate network environment. There are plenty of variables that can influence a speed test, including Quality of Service (QoS), traffic shaping, WAN load balancing, proxy servers, antivirus software, browser configuration, roaming profiles, and endpoint security policies. Even seemingly insignificant hardware differences can matter. Are you using an SSD or mechanical hard drive? Is the computer connected through a docking station or USB network adapter? Is the wireless client roaming between access points? These are all legitimate troubleshooting considerations. This is also why ISP support technicians frequently ask customers to connect directly to their router using a wired Ethernet connection before running another test. Removing unnecessary variables makes the results much easier to interpret.

For my testing, I wanted to compare browser-based speed tests with a more controlled network throughput test using iperf3. Tools such as Speedtest.net and LibreSpeed run inside a browser and measure download and upload performance using their own testing methods. Depending on the implementation, the browser, JavaScript execution, memory usage, and endpoint resources can all influence the results. I also used a LibreSpeed PHP-based test script to create a controlled testing environment across different laptop models, browsers, and configurations. On the other hand, iperf3 is a dedicated network performance measurement tool that uses TCP or UDP traffic to measure throughput between two endpoints. Its standard tests use memory buffers rather than relying on ordinary file transfers, making it particularly useful when you want to investigate network performance without introducing a disk as the primary variable. Neither approach is automatically perfect, but using both can help narrow down where a performance limitation might exist.

The results from my testing demonstrated that different laptops, browsers, and configurations can produce noticeably different numbers, even when testing the same general network environment. Interestingly, iperf3 produced the most consistent results in my particular testing scenario. My recommendation is to run several tests rather than relying on a single result. I generally like to perform five tests, discard the highest and lowest readings, and average the remaining three. Keep the testing conditions consistent, including the destination server, connection type, and test duration. If you're using iperf3, remember that CPU utilization, TCP window sizes, parallel streams, and the capabilities of both endpoints can also influence the results. For example, a simple test can be performed by starting iperf3 -s on one computer and running iperf3 -c SERVER_IP on another. This gives you a useful starting point for measuring throughput across your network.

The important lesson here is that a speed test result is a measurement, not necessarily a diagnosis. If your browser-based test reports disappointing performance but iperf3 produces much better numbers across your local network, you have some additional troubleshooting to do before blaming the ISP. Conversely, if both tests are slow, investigate the network path, endpoint hardware, and available bandwidth. This is where tools such as Wireshark become particularly useful because you can examine TCP retransmissions, latency, packet loss, and other traffic characteristics to understand what is happening behind the numbers. My advice is simple: test, compare, document, and understand your results before making changes. A little lab work can save you from spending hours troubleshooting the wrong piece of equipment. After all, sometimes the network isn't slow... your test computer just needs a little coffee!


Speedtest Anyone??

As you can see results will definitely vary, so one tip I would provide is to perform 5 tests, drop the high/low and average the three remaining results. Generally speaking, iperf3 had the most consistent results in this environment and with the way these devices are configured.


June 07, 2021

QUIC Explained: Why RFC 9000 Changed Internet Transport and HTTP/3 (Chris Greer)

QUIC is Here! RFC 9000 (Chris Greer)
QUIC is one of those networking technologies that can look complicated until you understand the problem it is trying to solve. Officially defined by RFC 9000, QUIC is a secure transport protocol that runs over UDP rather than TCP. That may sound like a small implementation detail, but it represents a major change in how modern Internet applications handle reliability, encryption, congestion control, and multiple data streams. QUIC was developed with the modern web in mind, and its design eventually became the foundation for HTTP/3.

One of the things that makes QUIC interesting to network engineers is that it takes functionality traditionally associated with TCP and moves much of it into the QUIC protocol itself. QUIC provides reliable delivery, flow control, congestion control, packet numbering, and loss recovery while using UDP as its underlying transport. It also integrates TLS 1.3 into the connection process, rather than treating encryption as something layered separately on top of the transport. The result is a transport protocol that can evolve without requiring changes to TCP or the underlying IP infrastructure.

Performance is another major reason QUIC attracted so much attention. A traditional HTTPS connection involves TCP connection establishment followed by TLS negotiation, while QUIC combines transport and cryptographic negotiation to reduce connection setup overhead. QUIC also supports multiple independent streams inside a single connection. If one stream experiences packet loss, data on other streams does not have to wait in the same way it can with TCP's single ordered byte stream. For applications such as web pages that load many objects simultaneously, this can make a noticeable difference in responsiveness.

Another feature worth watching is connection migration. A QUIC connection is not tied as tightly to a particular network path as a traditional TCP connection. QUIC connection identifiers allow a connection to survive certain changes in network addressing, such as a mobile device moving from Wi-Fi to cellular service. That is particularly useful today because users routinely move between networks while applications remain connected. For network troubleshooters, however, QUIC also changes the way traffic is analyzed: instead of looking for familiar TCP handshakes and retransmissions, engineers increasingly need to understand UDP-based QUIC traffic and its encrypted packet structure.

The arrival of RFC 9000 was therefore much more than another Internet standards milestone. It marked the point where QUIC became a standardized transport protocol capable of supporting the next generation of Internet applications. HTTP/3 subsequently defined how HTTP semantics operate over QUIC, taking advantage of its stream multiplexing, flow control, security, and lower-latency connection establishment. For network engineers, developers, and security professionals, understanding QUIC is becoming increasingly important because troubleshooting modern web traffic increasingly means understanding what is happening inside UDP-based transport rather than relying exclusively on traditional TCP analysis.

This means that every packet head, network engineer, developer, and security professional should get a handle on how QUIC works. Let's take a look at an intro to QUIC in this video.




RFC 9000, “QUIC: A UDP-Based Multiplexed and Secure Transport,” defines the core specification for QUIC, the modern transport protocol that underpins HTTP/3. One of its biggest highlights is that QUIC moves many functions traditionally associated with TCP into the protocol itself, while running over UDP. This gives QUIC much more flexibility without requiring changes to the underlying IP network. QUIC also integrates TLS 1.3 into the connection process, providing encryption and authentication as a fundamental part of establishing a connection rather than treating security as an optional add-on.

One of the most important benefits is reduced connection setup time. Traditional TCP connections require a handshake, followed by a separate TLS handshake before application data can be exchanged. QUIC combines these processes, allowing secure connections to be established with fewer round trips. QUIC also supports connection migration, meaning a connection can continue even when the client's network changes—for example, moving from Wi-Fi to a cellular connection. That is particularly useful for smartphones, laptops, and other mobile devices where network connectivity can change frequently.

RFC 9000 also addresses a long-standing TCP problem called head-of-line blocking. QUIC supports multiple independent streams within a single connection, so if packets belonging to one stream are delayed or lost, other streams can continue processing their data. This can make applications more responsive, especially when transferring multiple objects simultaneously. QUIC also provides mechanisms for acknowledgments, retransmissions, congestion control, flow control, and packet numbering, giving implementations the tools they need to efficiently manage network traffic while avoiding congestion.

From a network-engineering perspective, RFC 9000 is significant because it effectively creates a highly capable transport protocol without requiring a new IP protocol number. Because QUIC uses UDP, it can be deployed across existing Internet infrastructure while allowing protocol developers to evolve transport behavior much more rapidly than TCP. The combination of built-in TLS security, faster connection establishment, multiplexed streams, connection migration, and improved behavior on unreliable networks makes QUIC particularly well suited to today's Internet. For network administrators and troubleshooting teams, understanding RFC 9000 is increasingly important because QUIC traffic is becoming a major part of everyday web traffic, particularly through HTTP/3.

Popular post in the past 30 days