GithubHelp home page GithubHelp logo

prongbang / actix-vs-fiber Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 15 KB

Loadtest Actix vs Fiber | Rust vs Golang

Makefile 17.72% Rust 51.76% Go 30.52%
loadtest fiber rust actix actix-web gofiber rust-lang

actix-vs-fiber's Introduction

Actix vs Fiber | Rust vs Golang

actix-api

  • Run
$ cd actix-api
$ cargo run
  • Loadtest
$ wrk -c 10000 -d 60 -t 4 http://localhost:4000

Running 1m test @ http://localhost:4000
  4 threads and 10000 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    39.63ms   30.72ms 840.48ms   98.15%
    Req/Sec    16.06k     4.19k   24.33k    83.81%
  3764268 requests in 1.00m, 337.45MB read
  Socket errors: connect 7450, read 34149, write 0, timeout 0
Requests/sec:  62633.90
Transfer/sec:      5.61MB

fiber-api

  • Run
$ cd fiber-api
$ go run main.go
  • Loadtest
$ wrk -c 10000 -d 60 -t 4 http://localhost:3000

Running 1m test @ http://localhost:3000
  4 threads and 10000 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   264.51ms  132.56ms   1.99s    78.60%
    Req/Sec     2.33k     1.06k    4.56k    59.65%
  539230 requests in 1.00m, 2.65GB read
  Socket errors: connect 7450, read 45176, write 0, timeout 0
Requests/sec:   8975.44
Transfer/sec:     45.18MB

actix-vs-fiber's People

Contributors

prongbang avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

entykey

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.