Coder Social home page Coder Social logo

librpc's Introduction

librpc Travis Status Coverity Status

Install

From source:

git clone https://github.com/pdxjohnny/librpc
cd librpc
autoreconf -i
./configure
make
sudo make install

Building With librpc

The simplest example is in example/simple.ccp and once you have run make && make install then it will compile with the following command.

g++ -static example/simple.cpp -lrpc -o simple
./simple
echo $?

Should be 42

Apache Benchmark

Single Threaded server

AB

This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 192.168.1.20 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:        librpc
Server Hostname:        192.168.1.20
Server Port:            40000

Document Path:          /hello
Document Length:        13 bytes

Concurrency Level:      1
Time taken for tests:   34.609 seconds
Complete requests:      10000
Failed requests:        0
Total transferred:      320000 bytes
HTML transferred:       130000 bytes
Requests per second:    288.94 [#/sec] (mean)
Time per request:       3.461 [ms] (mean)
Time per request:       3.461 [ms] (mean, across all concurrent requests)
Transfer rate:          9.03 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1    2   0.7      1      18
Processing:     1    2   0.8      2      22
Waiting:        1    1   0.7      1      21
Total:          2    3   1.1      3      23
WARNING: The median and mean for the initial connection time are not within a
normal deviation
        These results are probably not that reliable.

Percentage of the requests served within a certain time (ms)
  50%      3
  66%      3
  75%      4
  80%      4
  90%      5
  95%      6
  98%      7
  99%      7
 100%     23 (longest request)

librpc's People

Contributors

pdxjohnny avatar

Stargazers

Atilla Filiz avatar 陆中州 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

deansay

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.