11 2013 档案
Netty Message RefCount
摘要:ByteBufis always reference countedTo control the life cycle of aByteBufin a more predictable way, Netty does not rely on the garbage collector anymore but employs an explicit reference counter. Here's the basic rule:When a buffer is allocated, its initial reference count is 1.If the reference co
阅读全文
HTTP tunnel
摘要:HTTP Tunnelingis a technique by which communications performed using various networkprotocolsare encapsulated using theHTTPprotocol, the network protocols in question usually belonging to theTCP/IPfamily of protocols. The HTTP protocol therefore acts as a wrapper for a channel that the network proto
阅读全文