Skip to content

Instantly share code, notes, and snippets.

@rayhassan
rayhassan / couchbase-sizing.txt
Created May 11, 2017 13:30
Couchbase sizing notes
couchbase sizing/capacity planing
refs:
http://blog.couchbase.com/how-many-nodes-part-1-introduction-sizing-couchbase-server-20-cluster
5 key factors:
RAM
Disk
@rayhassan
rayhassan / couchbase-notes.txt
Last active October 23, 2017 13:29
Couchbase prod install notes
]# rpm -ivh couchbase-server-enterprise-3.1.0-centos6.x86_64.rpm
Preparing... ################################# [100%]
Warning: Transparent hugepages looks to be active and should not be.
Please look at http://bit.ly/1hTySfg as for how to PERMANENTLY alter this setting.
Warning: Swappiness is not set to 0.
Please look at http://bit.ly/1hTySfg as for how to PERMANENTLY alter this setting.
Minimum RAM required : 4 GB
System RAM configured : 15.52 GB
@rayhassan
rayhassan / cassandra-sizing-notes.txt
Last active June 26, 2019 09:42
Cassandra sizing notes
refrences:
https://dzone.com/articles/cassandra-design-best-practices
https://www.datastax.com/wp-content/uploads/2014/04/WP-DataStax-Enterprise-Best-Practices.pdf
https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/config/configRecommendedSettings.html
As regards tips/advice then bear in mind most of this will apply to the Guest OS running Cassandra
run noop scheduler
set OS limits
@rayhassan
rayhassan / docker-swarm-notes.txt
Created May 11, 2017 13:26
Useful notes on Docker swarm config
Docker Hub hosted backend (for test/qa)
=======================================
o create dicovery token
# sid=$(docker run swarm create)
# echo $sid
d3e9cb54c894a7e3ae4c21145b9194bb
@rayhassan
rayhassan / docker-notes.txt
Last active March 13, 2019 15:36
Docker Notes
http://cloud-mechanic.blogspot.co.uk/2014/10/storage-concepts-in-docker.html
http://developerblog.redhat.com/2014/09/30/overview-storage-scalability-docker/
https://docs.docker.com/
https://www.digitalocean.com/community/tutorials/docker-explained-how-to-containerize-python-web-applications
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-1-an-introduction
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-2-the-15-commands
http://blog.flux7.com/blogs/docker/docker-tutorial-series-part-3-automation-is-the-word-using-dockerfile