https://github.com/kyukhin/c-fib-service
RESTful service for Fibonacci sequence calculation, basing on restbed framework.
https://github.com/kyukhin/c-fib-service
Last synced: 3 months ago
JSON representation
RESTful service for Fibonacci sequence calculation, basing on restbed framework.
- Host: GitHub
- URL: https://github.com/kyukhin/c-fib-service
- Owner: kyukhin
- Created: 2016-05-20T16:05:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-23T11:20:00.000Z (about 9 years ago)
- Last Synced: 2025-01-16T20:45:09.104Z (5 months ago)
- Language: C++
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Fibonacci series web service (CXX based)
===================This is a simple web service which intended
to calculate Fibonacci series.Requirements
---* g++-4.9+
* GNU make 4.0+
* Boost v1.55+ (w/ threading, syntactic analysis and
arg parsind features.)
* Restbed framework v4.0+ [1]
* libgmp v6.0+For testing:
* Python 2.7+
* ab toolCompile
--
makeRun service
---
./fib --help to see usage of the service.Example:
./fib --verbose=2 --cache-size 2000
This will start the service (at localhost, port 8080)
and pre-initialize internal cache with first
2000 Fibonacci numbers. This also will enable debug
output to the console.Testing
---To run funtional testing:
make checkTo benchmark your server:
time make bench
See Makefile header for list of availble knobs to
play with performance.[1] - https://github.com/Corvusoft/restbed