Skip to content

marcosdemelo/throng-on-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaling node app on Heroku using Throng

Setup

yarn install

Run

yarn start

Configuration

On Heroku

Add at menu Settings on Config Variable section, an item called WEB_MEMORY with value 64. It represents that our app use 64MB to safe work.

On Heroku-cli (Command line interface)

$ heroku labs:enable log-runtime-metrics

Matains the Heroku logs -t running on cli while update the config vars to see the result on log.

Manual stress test on command line

for ((i=1;i<=5;i++)); do   curl -v --header "Connection: keep-alive" "localhost:9000"; done

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published