Sandbox

Microservices

Whoo!!

What are Microservices?

Microservices is a software architecture style in which complex applications are composed of small, independent processes communicating with each other using language-agnostic APIs. These services are small, highly decoupled and focus on doing a small task, facilitating a modular approach to system-building.

They must have these characteristics: * The services are easy to replace * Services are organized around capabilities, e.g., user interface front-end, recommendation, logistics, billing, etc. * Services can be implemented using different programming languages, databases, hardware and software environment, depending on what fits best * Philosophy of microservices architecture essentially equals the Unix philosophy of “Do one thing and do it well”

This is a fenced code block:

# As root: download jmeter, untar it into /root and start jmeter-server on the slave  
# Also run jmeter on reboot via /etc/rc.local  
cd /root  
  
wget http://www.eu.apache.org/dist//jmeter/binaries/apache-jmeter-2.13.tgz  
  
tar xvzf apache-jmeter-2.13.tgz  
  
echo '/root/apache-jmeter-2.13/bin/jmeter-server -Dserver.rmi.localport=2048 -Djava.rmi.server.hostname=`curl -s http://169.254.169.254/latest/meta-data/public-ipv4` &' >> /etc/rc.local /root/apache-jmeter-2.13/bin/jmeter-server -Dserver.rmi.localport=2048 -Djava.rmi.server.hostname=`curl -s http://169.254.169.254/latest/meta-data/public-ipv4`

This is just edits.