I am brand new to Node.js, and trying to figure out a few things:
1.) When i run the server on node.js(connect to localhost database and do an insert function to the db), not sure why the console.log won't appear for quite a while. Sometimes up to half a min. Just wondering if Terminal has delays?
2.) I am also looking to see how to get siege working, I am on a mac on terminal. used npm install node-siege. But I have no idea how am I supposed to run it.
I saw a tutorial that, I am supposed to run the server first $ node file.js
then do
$ siege -c10 -t1M http://localhost:3000
but it doesn't do anything. Any hint on what am I supposed to do to run siege?
I did $ siege -c10 -t1M http://localhost:3000
then siege -c10 -t1M http://localhost:3000
none of it gives shows anything in terminal.