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

denmark

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

denmark

Node.js webserver for benchmarking and testing downstream infrstructure that deals with node.js services

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Denmark

Node.js webserver for benchmarking and testing downstream infrstructure that deals with node.js services

Why?

This allows you to test how your downstream infrastructure is able to handle the load of your expected application in areas such as payload and latency.

Install

npm install denmark -g

Usage

bash> denmark

This will start a clustered webserver listening on port 3000 by default

Url Configuration

http://{host}:{port}/?latmin=100&latmax=1000&paymin=1024&paymax=2048

This url will generate a response from a server with a random latency between 100ms and 1000ms that has a random payload size between 1024kb and 2048kb

http://{host}:{port}/?latmin=100&paymin=1024

This url will generate a response from a server with 100ms latency and 1024kb payload size

Server Configuration

Denmark can be configured via the following environment variables:

  • NODE_PORT=3000 - will listen for requests on port 3000
  • NODE_CPU=10 - will run 10 processes

Keywords

FAQs

Package last updated on 22 May 2015

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