{"id":20835585,"url":"https://github.com/johnandersen777/librpc","last_synced_at":"2025-07-12T03:15:43.963Z","repository":{"id":82523098,"uuid":"54991494","full_name":"johnandersen777/librpc","owner":"johnandersen777","description":"C implementation of various client and server protocols","archived":false,"fork":false,"pushed_at":"2019-07-25T18:51:24.000Z","size":67,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T08:36:19.325Z","etag":null,"topics":["c","rpc-client","rpc-server"],"latest_commit_sha":null,"homepage":"https://pdxjohnny.github.io/librpc","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnandersen777.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-29T16:23:17.000Z","updated_at":"2021-03-18T16:26:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"d348305b-c689-42bf-95d9-bb22c8dfcbcc","html_url":"https://github.com/johnandersen777/librpc","commit_stats":null,"previous_names":["johnandersen777/librpc"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnandersen777%2Flibrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnandersen777%2Flibrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnandersen777%2Flibrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnandersen777%2Flibrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnandersen777","download_url":"https://codeload.github.com/johnandersen777/librpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243188241,"owners_count":20250457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","rpc-client","rpc-server"],"created_at":"2024-11-18T00:26:01.814Z","updated_at":"2025-03-12T09:14:51.218Z","avatar_url":"https://github.com/johnandersen777.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# librpc [![Travis Status](https://travis-ci.org/pdxjohnny/librpc.svg?branch=master)](https://travis-ci.org/pdxjohnny/librpc) [![Coverity Status](https://scan.coverity.com/projects/8482/badge.svg)](https://scan.coverity.com/projects/8482/)\n\n\nInstall\n---\n\nFrom source:\n\n```bash\ngit clone https://github.com/pdxjohnny/librpc\ncd librpc\nautoreconf -i\n./configure\nmake\nsudo make install\n```\n\n\nBuilding With librpc\n---\n\nThe simplest example is in example/simple.ccp and once you have run `make \u0026\u0026\nmake install` then it will compile with the following command.\n\n```bash\ng++ -static example/simple.cpp -lrpc -o simple\n./simple\necho $?\n```\n\u003e Should be 42\n\n\nApache Benchmark\n---\n\nSingle Threaded server\n\n![AB](http://i.imgur.com/Uqq2oVH.gif)\n\n```\nThis is ApacheBench, Version 2.3 \u003c$Revision: 1528965 $\u003e\nCopyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\nLicensed to The Apache Software Foundation, http://www.apache.org/\n\nBenchmarking 192.168.1.20 (be patient)\nCompleted 1000 requests\nCompleted 2000 requests\nCompleted 3000 requests\nCompleted 4000 requests\nCompleted 5000 requests\nCompleted 6000 requests\nCompleted 7000 requests\nCompleted 8000 requests\nCompleted 9000 requests\nCompleted 10000 requests\nFinished 10000 requests\n\n\nServer Software:        librpc\nServer Hostname:        192.168.1.20\nServer Port:            40000\n\nDocument Path:          /hello\nDocument Length:        13 bytes\n\nConcurrency Level:      1\nTime taken for tests:   34.609 seconds\nComplete requests:      10000\nFailed requests:        0\nTotal transferred:      320000 bytes\nHTML transferred:       130000 bytes\nRequests per second:    288.94 [#/sec] (mean)\nTime per request:       3.461 [ms] (mean)\nTime per request:       3.461 [ms] (mean, across all concurrent requests)\nTransfer rate:          9.03 [Kbytes/sec] received\n\nConnection Times (ms)\n              min  mean[+/-sd] median   max\nConnect:        1    2   0.7      1      18\nProcessing:     1    2   0.8      2      22\nWaiting:        1    1   0.7      1      21\nTotal:          2    3   1.1      3      23\nWARNING: The median and mean for the initial connection time are not within a\nnormal deviation\n        These results are probably not that reliable.\n\nPercentage of the requests served within a certain time (ms)\n  50%      3\n  66%      3\n  75%      4\n  80%      4\n  90%      5\n  95%      6\n  98%      7\n  99%      7\n 100%     23 (longest request)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnandersen777%2Flibrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnandersen777%2Flibrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnandersen777%2Flibrpc/lists"}