Open-source network framework hpserver0.2.10 released

Source: Internet
Author: User
Tags epoll

Hpserver is a lightweight open-source network framework developed for concurrent high-performance network service applications. It uses C ++ as the development language.
Some features of hpserver:
It adopts an event-driven mechanism and uniformly supports I/O events, Timer events, and signal events;
Supports a timer with the precision of Ms;
Built-in support for acceptor and connector components for convenienceProgramDesign;
Multithreading is supported (but not thread-safe );
Cross-platform. Currently, hpserver supports Windows and Linux platforms. The supported system I/O mechanisms include select and epoll;
 
Generally, the Windows platform supports asynchronous I/O, iocp uses proactor for encapsulation, and Linux epoll is suitable for encapsulation in reactor mode. The cost isCodeAnd increase the difficulty of maintenance.

The goal of hpserver is to use a unified proactor model to support ICOP on Windows and epoll on Linux, to support platform compatibility of application code at the maximum level, this also makes it a reality that hpserver-based network programs maintain a set of code on Windows and Linux platforms.

 

The first version of hpserver is 0.2.10, which has not yet implemented proactor. In later versions, we will add the proactor implementation.

Welcome to download!

Project home: http://code.google.com/p/hpserver/

At the beginning of the project, the introduction is still simple ~~

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.