Elasticsearch Backup and restore

Elasticsearch is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents.
Elasticsearch is developed in Java and is released as open source under the terms of the Apache License(wikipedia).

For backing up and restore data Elasticsearch have feature for that is a snapshot.

Continue Reading

How To Set Up Master Slave Replication in MySQL

Master-Slave replication (MSR) is a model of communication where one device or process has unidirectional control over one or more other devices, often built-in.
In database replication, the master database is regarded as the authoritative source, and the slave databases are synchronized to it.
Usualy MSR database will using doing CRUD for master and READ for slave, so the application not make master database to much load cpu to doing all job.
For how it works lets follow me step by step replicate.I assume you have two mysql server for we do master and slave.

Continue Reading

Memulai dengan angularjs dan yeoman

Internet dan aplikasi web telah berkembang pesat akhir-akhir ini dengan hadirnya headless web framework seperti node.js, grunt, bower, dll.
Dan juga MVC framework untuk front-end seperti backbone, angular, reactorjs dll.
Dengan framework-framework diatas pembuatan aplikasi web menjadi semakin rapi dan semakin user-friendly walaupun kenyataannya aplikasi single page akan bermasalah dengan SEO tapi tenang ada beberapa trik untuk mengantisipasinya.
Ada satu yg masih tidak berubah. Apa itu? yaitu struktur aplikasi web yang terkadang bisa membingungkan developer web itu sendiri dan deployment aplikasi web yang terkadang menguras banyak waktu.

Bagi aplikasi web yang berskala kecil, hal ini mungkin tidak menjadi masalah yang besar.

Continue Reading

How To Install and Use Beanstalkd Work Queue

Beanstalk is a simple, fast work queue. Its interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

So when you put things on the queue (or “tube” as they seem to be called in Beanstalkd), they stay there until a worker comes along and processes each one successfully.

Continue Reading

How to use ssh forwarding on Ansible

Ansible is an open-source automation engine that automates cloud provisioning, configuration management, and application deployment. Once installed on a control node, Ansible, which is an agentless architecture, connects to a managed node through the default OpenSSH connection type.

This Technical document contains how to used ssh forward agent for deployment of Ansible.

Continue Reading