An open-source project named xcesium-viwow has been created.
Source: Internet
Author: User
Yesterday I applied for an open-source project xcesium-viwow on sourceforge.net.
Xcesium is the group name of an open-source project created by Xu Hao, and viwow is the project name.
This project was created to compile a high-efficiency, high-configuration server infrastructure framework in Java. Similar projects include Cindy and netty2, and me one day earlier (day! Just one day) rainddrop created on SourceForge. Netty2 has been abandoned by the author, but the scale is already considerable. Cindy is written by a Chinese Daniel, CodeThe quality is good, but the model used is different from the final goal. He aimed at ease of use, and I aimed at High Efficiency and general purpose.
NIO is used for input and output. Then, use the Seda architecture and stage to organize the network processing of the entire server. For stage management, my goal is to dynamically plug and plug through osgi and JMX. The specific stage writing only implements a basic asynchronous socket and encapsulates NiO. For specific upper-layer applications, you can write some simple samples, but not large applications, because only a basic framework is written.
The main benefit of NiO is that it can be reused without having to have a thread corresponding to a client.
The main advantage of Seda is its flexible concurrency mode. When a stage is very busy, it can expand its thread pool. In addition, Seda clearly splits your application into stages, which is especially suitable for the characteristics of network applications.
The main benefit of osgi is that it provides a Java class loading level and a function similar to. Net Assembly level for Java. Is a lightweight microkernel container. If you use some enhanced bundle, you can also provide dependency configuration management.
JMX is a standard management API. The final dynamic management should rely on this.
There are three overall goals:
1. Seda abstract model implementation
2. asynchronous socket packaging Library Based on Seda Model
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service