Giter Club home page Giter Club logo

zeus's Introduction

Travis (.org)

Zeus

A high performance, cross-platform Internet Communication Engine. Developed with native socket API. Aim at handling millions of concurrent connections.

Features

Cross Platform

  • Both client and server can run on Windows, Linux or MacOS.
  • Cross-platform communication between client and server.
  • Support different IO-multiplexing Models

Lightweight

  • Developed with native socket API and C++ standard libraries, no dependency on any external libraries.
  • Along with an one-click compile script to deploy.

High Performance

  • Current concurrency ability: 10K connections, 1Gbps I/O with single thread
  • Target concurrency ability: 1M concurrent connections.

Good Availability

  • A complete and detailed log system
  • Friendly configuration files
  • Heartbeat detection and flow control is available
  • Customizable thread pool, memory pool and object pool

Multiple IO-Multiplexing Models

  • select
  • IOCP (TODO)
  • epoll

Multiple Transfer Protocols

  • TCP
  • UDP (TODO)
  • FTP (TODO)
  • HTTP (TODO)

Examples

There are examples of a TCP client and TCP server under examples/. The server is an echo server, which sends back messages

Build

Linux & MacOS

CMake 3.0.0 or higher.

g++ 4.7 or higher.

git clone https://github.com/navining/Zeus.git
cd Zeus/examples
./build.sh

Windows

Visual Studio 2015 or higher. Open Zeus.sln and build with VS.

Run

Executable files are generated under bin/.

Sample script are provided as well, where programmers can custom the parameters.

Linux & MacOS

server.sh and client.sh under server/ and client/.

Windows

server.bat and client.bat under server/ and client/.

zeus's People

Contributors

navining avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.