Giter Club home page Giter Club logo

dynlimits's Introduction

My personal web page: hontecillas.com

Go, Python and some Rust are my programming languages.

dynlimits's People

Contributors

dhontecillas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dynlimits's Issues

Running out of local connections in reqstatsrv example

For the reqstatsrv example: lotsofconnection , the test running out of local sockets to create connections against the backend server:

error proxying the request: Get "http://192.168.1.20:9876/endpoint_9": dial tcp 192.168.1.20:9876: connect: cannot assign requested address
error proxying the request: Get "http://192.168.1.20:9876/endpoint_39": dial tcp 192.168.1.20:9876: connect: cannot assign requested address
error proxying the request: Get "http://192.168.1.20:9876/endpoint_39": dial tcp 192.168.1.20:9876: connect: cannot assign 

The dummy reqstatsrv does not support the keep-alive options, so connections cannot be reused, and we hit a number of maximum parallel requests. Also , the loadimpact/k6 script is also using local connections, so when running the test in a local machine we can only handle half of the requests.

Profiling the code, it was found that it was the actual cpu bottleneck:

2021-03-17-194502_652x403_scrot

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.