Ferramenta: ab - Apache HTTP server benchmarking tool
- Application server:
m3.2xlarge(São Paulo) - DataBase server:
db.m3.xlarge(São Paulo) - ElasticSearch server:
m3.2xlarge(São Paulo - mesma máquina da aplicação)
Ferramenta: ab - Apache HTTP server benchmarking tool
m3.2xlarge (São Paulo)db.m3.xlarge (São Paulo)m3.2xlarge (São Paulo - mesma máquina da aplicação)~9 min - para ligar uma nova instância (teste c3.large)
Ferramenta: ab - Apache HTTP server benchmarking tool
t2.small (Virgínia)db.t2.small (Virgínia)m3.medium (Virgínia)| require 'optparse' | |
| namespace :programs do |args| | |
| desc "Download whatever" | |
| task :download => [:environment] do | |
| # USAGE: rake programs:download -- rm | |
| #-- Setting options $ rake programs:download -- --rm | |
| options = {} | |
| option_parser = OptionParser.new |
ssh alther@172.30.131.42 -p 5022
$netstat -nlptFor homebrew version 0.9.5.
brew -v # => Homebrew 0.9.5
Install the current version of mysql.
| vim +PluginInstall +qall | |
| vi ../.vimrc | |
| vim README.md | |
| vim . | |
| sudo vi /etc/fstab | |
| open /Volumes | |
| bash --login '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh' | |
| ps -ef | grep -i docker | |
| ps -ef | grep -i vm | |
| docker-machine env default |
| # All users crontab. More http://www.thegeekstuff.com/2009/11/how-to-install-edit-or-remove-cron-jobs-in-batch-mode/ | |
| ls /var/spool/cron/crontabs/ | |
| # An array with a list of files who invoke to irrive in method inspected. | |
| ruby method caller | |
| # list all linux users | |
| cat /etc/passwd | |
| # list w/ filters |
| stty sane | |
| # Discard unstaged changes | |
| git checkout file | |
| # For all unstaged files use: | |
| git checkout -- . | |
| #http://rogerdudler.github.io/git-guide/index.pt_BR.html | |
| # remove from stage | |
| git reset file |
Rewire (require module): Easy dependency injection for node.js unit testing
Mocha (to test js)
Moment: Parse, validate, manipulate, and display dates in JavaScript.
Swagger: A Powerful Interface to your RESTful API
Yeoman(make scaffold): to kickstart new projects, prescribing best practices and tools to help you stay productive
Underscore: useful functional programming helpers
MVC client-side: AngularJs vs Backbone vs Emberjs
ApacheBench: Tool for benchmarking the HTTP server