Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIO Reactor

About

  • A Nio server, use multi reactor pattern like netty.
  • Could process 100,000 request in 9 seconds.

Design

  • There is a acceptor to listen connection from client
  • when acceptor get a connection, it will dispatch to processors
  • There are a lot of processors to process a connection. And each processor corresponding to a thread.
  • Every socket channel from acceptor will be registered on the selector of processor.

About

基于nio reactor模式的轻量级server. 接受请求分发请求和netty类似,展示了netty接受和分发请求的过程。每9秒可以处理10万请求

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages