Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/trungpham/benchmark

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/trungpham/benchmark

  • v0.0.0-20131214023227-a47eba5e178c
  • Source
  • Go
  • Socket score

Version published
Created
Source
  1. install the dependencies npm install
  2. start the server node server.js
  3. start the services PORT=3001 node service.js PORT=3002 node service.js PORT=3003 node service.js
  4. run apache benchmark tool ab -n 9000 -c 30 "http://localhost:3000/"

Benchmark scenario: Browser will issue a request to the proxy server. Internally, proxy server will make 3 out bound http calls to 3 different remote services in parallel. Only after those three requests completed, then proxy server can response back to the browser.

Result: Sending 9000 requests directly to the service: 60.6s Sending 9000 requests through the proxy: NodeJS: +8s Go: +30s Java+Play2: +0s Java+Rhino+Vertx: 0s Java+Jruby+Vertx: 0.5s

FAQs

Package last updated on 14 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc