Code Monkey home page Code Monkey logo

projector-hsa-05's Introduction

projector-hsa-05

Endpoints:

  • /users POST - insert single record with fake data

How to launch

Execute docker compose up -d and that's all, after that service can be accessed on http://localhost:8081

Run load tests:

docker run --rm -t --network host -v  $(pwd)/urls/urls.txt:/etc/urls/urls.txt yokogawa/siege -d2 -t5M -c300 -i -f /etc/urls/urls.txt

Urls for test:

http://localhost:8081/users POST
http://localhost:8081/users GET

Results

-d2 -t5M -c300

Transactions:                  85943 hits
Availability:                  99.99 %
Elapsed time:                 299.98 secs
Data transferred:               1.07 MB
Response time:                  0.04 secs
Transaction rate:             286.50 trans/sec
Throughput:                     0.00 MB/sec
Concurrency:                   12.47
Successful transactions:       85943
Failed transactions:              10
Longest transaction:            0.25
Shortest transaction:           0.00

-d1 -t1 -c400

Transactions:                  34562 hits
Availability:                  96.20 %
Elapsed time:                  49.82 secs
Data transferred:               0.43 MB
Response time:                  0.05 secs
Transaction rate:             693.74 trans/sec
Throughput:                     0.01 MB/sec
Concurrency:                   35.29
Successful transactions:       34562
Failed transactions:            1367
Longest transaction:            0.42
Shortest transaction:           0.00

-d1 -t1 -c500

Transactions:                  33417 hits
Availability:                  95.79 %
Elapsed time:                  39.03 secs
Data transferred:               0.41 MB
Response time:                  0.05 secs
Transaction rate:             856.19 trans/sec
Throughput:                     0.01 MB/sec
Concurrency:                   44.82
Successful transactions:       33417
Failed transactions:            1468
Longest transaction:            0.32
Shortest transaction:           0.00

projector-hsa-05's People

Contributors

zhmakas avatar

Watchers

 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.