Giter VIP home page Giter VIP logo

Comments (5)

emilhem avatar emilhem commented on July 3, 2024

You could use the variable http instead just below when it's been defined:
http.globalAgent.maxSockets = 64;
And don't forget https:
https.globalAgent.maxSockets = 64;

from node-unblocker.

nfriedly avatar nfriedly commented on July 3, 2024

Oh, yea, that's a good point. I just copy-pasted that line from the linked rant.

The thing is, I want to get some performance benchmarks (and automated tests) set up to see how much of an improvement it makes, and I'm still figuring out exactly how to do that.

from node-unblocker.

emilhem avatar emilhem commented on July 3, 2024

The solution: http://httpd.apache.org/docs/current/programs/ab.html

apt-get install apache2-utils

Tutorials: http://infoheap.com/ab-apache-bench-load-testing/
http://www.petefreitag.com/item/689.cfm

from node-unblocker.

nfriedly avatar nfriedly commented on July 3, 2024

I know about apache bench, but I also need a "remote" server to serve the
requests (on localhost so we're not just testing the internet speed), and I
want the tests to first create a baseline of request speed without
unblocker in the middle and then report the % difference between the
baseline and unblocker so that the benchmarks is testing more than just the
CPU speed of the current computer.

Oh and I want this to be automated so that I can have Travis CI run it
after every checkin ;)

So, I'm working on doing this in pure node just to make the automation part
easy.

On Mon, Nov 25, 2013 at 9:12 AM, Emil Hemdal [email protected]:

The solution: http://httpd.apache.org/docs/current/programs/ab.html


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-29203990
.

Nathan Friedly
Minister, JavaScript Ninjaneer
http://nfriedly.com

from node-unblocker.

emilhem avatar emilhem commented on July 3, 2024

Ah I see. Very interesting! I've seen mongo university doing this with their assignments maybe you can ask them for a hand.

https://education.mongodb.com/contact

from node-unblocker.

Related Issues (20)

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.