HUB
Sign inSign up

koduki/nodejs4oit

By koduki

•Updated over 10 years ago

Node.js for OIT

Image
0

401

koduki/nodejs4oit repository overview

⁠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
Tag summary
Recent tags
Content type
Image
Digest
Size
253.4 MB
Last updated
over 10 years ago
docker pull koduki/nodejs4oit:latest