Netty3 Document Translation

Simply find that there is no article on the Internet about Netty3 more complete source parsing, so I read the official documents, in order to enhance memory, translated into Chinese, with appropriate simplification. Original Document Address: Netty3 Document Chapter 1 Begins 1. Before you start demo runs on two premises: the latest version of ...

Posted by xpherism on Wed, 08 May 2019 06:03:40 -0700

Pool Area of Netty Memory Pool

Pool Area is a core container in Netty memory pool. Its main function is to manage a series of Pool Chunks and Pool Subpages created, and to delegate the final application action to these two sub-containers according to the different memory size of the application. This paper first introduces the overall structure of PoolArena, then introduces ...

Posted by khujo56 on Mon, 06 May 2019 01:05:38 -0700

Detailed introduction and use of instanceof, use cases in actual projects

instanceof is used to determine whether a specified object (an actual reference object instance) is an instance of a specified class or a subclass of a specified class? usage boolean result = object instanceof class Object: Required option. Arbitrary object expression. Class: Required option. Any object class. If object is ...

Posted by will_1990 on Sat, 27 Apr 2019 15:18:35 -0700

The use of google's grpc in golang

GRPC is a high-performance, cross-language RPC framework of google open source. It is based on HTTP2 protocol, protobuf 3.x and Netty 4.x. I wrote a previous article on the use of the rpc package of the golang standard library, and this article goes on to talk about google's grpc. introduce In gRPC, client applications can directly call the m ...

Posted by IlikeTheWeb on Sun, 14 Apr 2019 20:15:33 -0700

Hello Rpc: Writing an RPC from scratch

In school, we should always take something to practice, read some articles like "Write Rpc from scratch" and "Write Search Engine from scratch" can be tried. Actually, some days ago. tiny4j There are still some things to improve and continue to improve, but everyone likes the new and hates the old. They can't help opening an ...

Posted by sleepydad on Thu, 11 Apr 2019 21:12:30 -0700

Talk about ActionsLog of reactor-netty

order This paper mainly studies Actor-netty's AccesssLog. Open access log For spring boot applications using tomcat, you can turn on server.tomcat.accesslog.enabled=true For spring boot applications using jetty, you can turn on server.jetty.accesslog.enabled=true For spring boot applications using undertow, you can turn on server.undertow.acce ...

Posted by Hypnos on Thu, 04 Apr 2019 11:45:31 -0700

Deep Interpretation of Disruptor

To optimize the performance of the system to the extreme is always a direction for program enthusiasts. In the field of java concurrency, there are also many practices and innovations, ranging from optimistic locking, CAS, to netty thread model, fibre Quasar, kilim and so on. Disruptor is a lightweight, high-performance concurrency framework th ...

Posted by shaoen01 on Sun, 24 Mar 2019 04:45:30 -0700

Use of java-nio-buffer ByteBuffer, Netty ByteBuf and Mapped ByteBuffer

Use of java-nio-buffer ByteBuffer, Netty ByteBuf and Mapped ByteBuffer Article directory Use of java-nio-buffer ByteBuffer, Netty ByteBuf and Mapped ByteBuffer 1.ByteBuffer 2.MappedByteBuffer 3 Netty's ByteBuf 4. test Environmental Science idea2018,jdk1.8 Notes on the use of buffer ByteBuffer, Netty ByteBuf and Mappe ...

Posted by Zaxnyd on Mon, 18 Mar 2019 01:33:27 -0700

Netty+SpringBoot+FastDFS+Html5 to Realize Chat App Details

Netty+SpringBoot+FastDFS+Html5 implements chat App. Project introduction. Netty+SpringBoot+FastDFS+Html5 implements chat App. Project github link. Complete code for this chapterThis section focuses on user information processing in Chat App PigChat and related operations of file server FastDFS.It contains the following contents: (1) Registratio ...

Posted by freephoneid on Fri, 15 Feb 2019 02:15:19 -0800

Akka-Cluster(0) - Some Ideas for Distributed Application Development

When I first came into contact with akka-cluster, I had a dream to make full use of the free distribution and independent operation of actors to achieve some kind of distributed program. The computational tasks of this program can be subdivided artificially and then assigned to actors distributed on multiple servers. These servers are all in th ...

Posted by Micah D on Sat, 26 Jan 2019 23:45:14 -0800