Tagged articles
8 articles
Page 1 of 1
Java Architect Handbook
Java Architect Handbook
May 25, 2026 · Fundamentals

Interview Torture: What Are TCP Sticky/Unsticky Packet Issues and Why They Matter

The article explains that TCP's byte‑stream nature causes sticky and unpacked packet problems, analyzes why they occur, compares UDP, and presents four application‑layer solutions—especially the Header‑Body length‑field approach used by Netty—providing code examples and interview‑ready answers.

InterviewLengthFieldBasedFrameDecoderNetty
0 likes · 14 min read
Interview Torture: What Are TCP Sticky/Unsticky Packet Issues and Why They Matter
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 11, 2024 · Backend Development

Netty Packet Framing: Handling TCP Sticky and Unsticky Packets

This article explains TCP packet fragmentation and aggregation (sticky/unsticky packets), demonstrates the phenomena with examples, and provides detailed solutions using Netty's built‑in decoders such as FixedLengthFrameDecoder, LineBasedFrameDecoder, DelimiterBasedFrameDecoder, and LengthFieldBasedFrameDecoder, including code samples and configuration tips.

JavaNettyTCP
0 likes · 26 min read
Netty Packet Framing: Handling TCP Sticky and Unsticky Packets
JavaEdge
JavaEdge
Dec 12, 2020 · Backend Development

Why Does TCP Have Sticky and Half Packets? Causes and Effective Solutions

This article explains why TCP experiences sticky and half packets, analyzes the underlying causes such as buffer size mismatches and MTU limits, and presents practical solutions including short connections, fixed‑length framing, delimiter‑based framing, and length‑field framing, with their advantages and trade‑offs.

NettyTCPnetwork programming
0 likes · 5 min read
Why Does TCP Have Sticky and Half Packets? Causes and Effective Solutions
Programmer DD
Programmer DD
Aug 4, 2020 · Backend Development

Mastering Sticky Packet and Splitting Issues in Netty RPC Applications

This article explains the root causes of sticky and split packet problems in TCP-based RPC frameworks, outlines four common mitigation strategies, and provides detailed Netty implementations—including FixedLengthFrameDecoder, LineBasedFrameDecoder, LengthFieldBasedFrameDecoder, and custom handlers—complete with runnable Java code examples.

NettyRPCpacket framing
0 likes · 21 min read
Mastering Sticky Packet and Splitting Issues in Netty RPC Applications