I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
module.exports = { | |
up: function (queryInterface, Sequelize) { | |
return [ | |
queryInterface.addColumn('User', 'name', { | |
type: Sequelize.STRING | |
}), | |
queryInterface.addColumn('User', 'nickname', { | |
type: Sequelize.STRING, | |
}) | |
]; |
gitlab-redis: | |
image: sameersbn/redis:latest | |
volumes: | |
- /home/user/gitlab/redis:/var/lib/redis | |
gitlab-mysql: | |
image: sameersbn/mysql:latest | |
volumes: | |
- /home/user/gitlab/mysql:/var/lib/mysql | |
environment: | |
- DB_NAME=gitlabhq_production |
def fetch_contents(queue = "default", max = 100000) | |
Sidekiq.redis do |r| | |
r.lrange("queue:#{queue}", 0, max) | |
end; | |
end | |
def sidekiq_job_breakdown(queue = "default", contents = nil) | |
re = /\"class":"([0-9A-Za-z_::]+)"/ | |
contents ||= fetch_contents(queue) |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
Unicorn was by far the best performing (5.94 trans/sec over the 1-minute test, 352 total). Puma (3.95 trans/sec, 235 total) appeared to perform no better than Webrick, despite the default behavior of using up to 16 threads. Perhaps increasing its worker count to the number of cores will improve its performance.
I've tried to run multiple Puma workers with the workers
directive (per their sample documentaiton), but I receive errors about undefined method 'workers' for #<Puma::Configuration::DSL:0x007ffca4bde798>
).
$ bundle exec rails server
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream