Coder Social home page Coder Social logo

ozkanpakdil / test-microservice-frameworks Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 4.0 1.71 MB

testing spring-boot quarkus and micronaut for jar size and response time for a simple controller, rust and dotnet

Home Page: https://ozkanpakdil.github.io/microservicetests/2023-04-21-microservice-framework-test-17.html

License: Apache License 2.0

Kotlin 3.59% Java 51.66% HTML 15.51% Shell 21.20% C# 8.04%
java quarkus micronaut vertx helidon eclipse-microprofile dotnet rust actix axum graalvm native-apps warp

test-microservice-frameworks's Introduction

test-microservice-frameworks

Known Vulnerabilities

Testing spring,micronaut,quarkus with sample json creator from gatling.

Find the results at https://ozkanpakdil.github.io/ on top right menu

test-microservice-frameworks's People

Contributors

actions-user avatar dependabot-preview[bot] avatar dependabot[bot] avatar gsmet avatar morrijr avatar ozkanpakdil avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

test-microservice-frameworks's Issues

windows and macos tests

so far all tests are running in linux, it would be nice to see some numbers for windows or macos

ktor graalvm problem

some requests failing with ktor graalvm native image
image
https://ozkanpakdil.github.io/microservicetests/2023-02-26-microservice-framework-test-17.html#graalvm-native-ktor-rest-service

when I test local I see these errors

================================================================================
---- Global Information --------------------------------------------------------
> request count                                     800000 (OK=735068 KO=64932 )
> min response time                                      7 (OK=7      KO=6413  )
> max response time                                 225965 (OK=224689 KO=225965)
> mean response time                                 68711 (OK=61016  KO=155817)
> std deviation                                      73632 (OK=69995  KO=55486 )
> response time 50th percentile                      23143 (OK=15418  KO=157646)
> response time 75th percentile                     134432 (OK=122630 KO=213433)
> response time 95th percentile                     208258 (OK=197420 KO=221201)
> response time 99th percentile                     219875 (OK=214830 KO=223348)
> mean requests/sec                                2857.143 (OK=2625.243 KO=231.9 )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                         13558 (  2%)
> 800 ms <= t < 1200 ms                               9015 (  1%)
> t >= 1200 ms                                      712495 ( 89%)
> failed                                             64932 (  8%)
---- Errors --------------------------------------------------------------------
> Request timeout to localhost/127.0.0.1:8080 after 60000 ms      32752 (50.44%)
> j.n.ConnectException: connect(..) failed: Cannot assign reques  22377 (34.46%)
ted address
> Request timeout after 60000 ms                                   8788 (13.53%)
> i.n.c.ConnectTimeoutException: connection timed out: localhost   1015 ( 1.56%)
/127.0.0.1:8080

probably because of "slow response" getting timeouts...

add graalvm to the tests

Quarkus and micronaut support graalvm native build out of the box

Requirements

  • Find GitHub action to have graalvm
  • Rungatling.sh should be modified to run executable from Graal and run tests

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.