Git Product home page Git Product logo

rttp's Introduction

RTTP - A Reliable Realtime Transport Protocol

RTTP is a reliable UDP based application level data transport protocol designed for time critical applications which require timely delivery of information, such as online game, live streaming, financial order routing, long distance data synchronization, etc. It’s purpose is to provide a simple and robust network communication layer on top of UDP (not limited to UDP). The functions it provides is same with TCP but with better performance on latency and speed.

Features:

Low latency. TCP’s latency is serval times of RTTP’s at packet loss environments.

High throughput. Serval times faster than TCP.

Reliable. RTTP provides a reliable stream based delivery service, unlike TCP, IP/port change would not corrupt the connection.

High performance. Several thousands of long connections per CPU core with about 3K-BYTES/Second data transfer on each connection.

Easy to integrate. Independent of socket IO framework/mode.

Cross-Platform. Windows/Linux/Mac/IOS/Android.

Benchmark:

TCP VS RTTP - 10% packet loss TCP VS RTTP - 20% packet loss

Document:

http://www.rtttech.com/docs/rttp_api_doc

Getting Started

Folder structure:

api: RTTP static/dynamic lib and C header file

example: client and server demo

tools: tools used to test RTTP

android_demo: RTTP android demo

ios_demo: RTTP ios demo

unity3d_demo: Unity3D demo

Build examples and tools:

Requirements:

cmake(https://cmake.org/): required for all platforms

gperftools(https://github.com/gperftools/gperftools): required for Linux/Mac

boost: https://www.boost.org/

libuv: http://libuv.org/

Windows:

run build_win.bat

Linux/Mac:

run build_posix.sh

License:

Non-commercial use is free.

Commercial use(full source code) please contact us.

Contact:

Mail: [email protected] QQ Group: 645284582

rttp's People

Contributors

rtttechdev1 avatar

Watchers

James Cloos 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.