Skip to content

koduki/docker-nodejs4oit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

README

Build image

docker build -t koduki/nodejs4oit .

Run

$ docker run -it -p 1080:1080 --name=nodejs4oit -v `pwd`/src:/src koduki/nodejs4oit

Bloking/Nonbloking Test

Bloking

$ docker exec -it nodejs4oit ab -n 10 -c 10 http://localhost:1080/blockio
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
.
.
Concurrency Level:      10
Time taken for tests:   10.002 seconds 

NonBloking

koduki@nubula-desk MINGW64 ~
$ docker exec -it nodejs4oit ab -n 10 -c 10 http://localhost:1080/nonblockio
.
.
Concurrency Level:      10
Time taken for tests:   1.008 seconds

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published