Project

fukafuka

0.0
No commit activity in last 3 years
No release in over 3 years
A simple web application for load testing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 10.0
~> 3.0

Runtime

 Project Readme

Fukafuka

A tiny web application for load testing. (Fuka (負荷) means 'load' in Japanese 🐰)

Usage

Production with Docker

$ docker-compose build
$ docker-compose up

Pre built images is here https://hub.docker.com/r/mozamimy/fukafuka/

Development

$ bundle install
$ bundle exec rackup

Usage

GET /prime

$ curl http://localhost:9292/prime?num=50
{"status":"ok","result":[[2,1],[5,2]]}

GET /hexdigest

$ curl "http://localhost:9292/hexdigest?str=rabbit&iteration=1000000"
{"status":"ok","result":"d37d96b42ad43384915e4513505c30c0b1c4e7c765b5577eda25b5dbd7f26d89"}

GET /hello/revision

You should put REVISION file on application root directory.

$ curl http://localhost:9292/hello/revision
245753efa210be10d3f38809ad8cd46f231e388a

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Mozamimy/fukafuka.

License

The gem is available as open source under the terms of the MIT License.