개발중인 node.js 웹서버 부하테스트를 해보려고 찾은 간단한 부하테스트 툴이다.

# apt-get install siege

소스 설치 하려면,

여기에서 소스파일 받아서 빌드..

http://freecode.com/projects/siege


siege -c 50 -d 10 -t 3M http://localhost:3000

-c : concurrent user

-d : 다음요청 보내기 까지 시간(sec)

-t : 테스트시간


아래는 결과

...

Transactions:                   1696 hits

Availability:                 100.00 %

Elapsed time:                 179.53 secs

Data transferred:             730.34 MB

Response time:                  0.18 secs

Transaction rate:               9.45 trans/sec

Throughput:                     4.07 MB/sec

Concurrency:                    1.72

Successful transactions:        1696

Failed transactions:               0

Longest transaction:            1.25

Shortest transaction:           0.05



관련 블로그

http://blog.remarkablelabs.com/2012/11/benchmarking-and-load-testing-with-siege

http://www.joedog.org/siege-manual/

http://www.euperia.com/linux/tools-and-utilities/speed-testing-your-website-with-siege-part-one/720



출처

http://stackoverflow.com/questions/4858047/error-the-following-untracked-working-tree-files-would-be-overwritten-by-checko


git clean  -d  -fx ""

이걸로 한방에 해결했다..


-x means ignored files are also removed as well as files unknown to git.

-d means remove untracked directories in addition to untracked files.

-f is required to force it to run.

http://www.mu-shin.ca/code/hbase-node-js-doing-it-the-thrift-way/

http://dailyjs.com/2013/07/04/hbase/


Node.js에서 HBase 테이블을 읽어오는 가장 기초적인 코드.

근데 안읽어온다.

connect 잘되는데...


http://stackoverflow.com/questions/17415528/nodejs-hbase-thrift-wierdness

thrift 시작할때 -f 옵션을 붙여서 실행하거나 빼서 실행해볼것.

+ Recent posts