Skip to content

Halia is a component-based network application framework for rapid development of maintainable high-performance servers and clients.

License

Notifications You must be signed in to change notification settings

halia-group/halia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Halia

Halia is a component-based network application framework for rapid development of maintainable high-performance servers and clients.

Reference netty to implementation. Netty

中文文档

Links

Features

  • Component-Based
  • Extensible
  • High-Performance

Data Stream

-------------------------------------------
        -> handler1 -> ... handlerN -> 
head                                    tail    
        <- handler1 <- ... handlerN <-       
--------------------------------------------

Built-in Decoder

  • DebugEncoder/DebugDecoder: Print the data to stderr for easy debugging.
  • FixedLengthFrameDecoder
  • LengthFieldBasedFrameDecoder
  • LineBasedFrameDecoder

Built-in Protocol Decoder

  • HTTP Protocol

Examples

  • Echo Application,Implementation based on LineBasedFrameDecoder
  • Time Application,Implementation based on FixedLengthFrameDecoder, The packet is fixed to an 8-byte length timestamp
  • Chat Application Implementation based on LengthFieldBasedFrameDecoder, low coupling/high scalability, To add custom package only needs to be registered in PacketFactory and ProcessorFactory.

About

Halia is a component-based network application framework for rapid development of maintainable high-performance servers and clients.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages