Latest Posts


© elastic.co Elasticsearch Logo 2017
IT

Elasticsearch Nodes Memory Usage Watcher

TL,DR (Too long, Don’t read.). If you have a dedicated monitoring cluster for your Elasticsearch clusters, you should at least monitor the memory usage of each node. This is very helpful. Instead of fetching the data from the cluster within, we query the monitoring cluster remotely. This watch was created on Elasticsearch with X-Pack v5.4.3. Pay attention, that some values are tweaked and not realistic for production scenarios. The interval for instance is set to 6 hours, since we will execute this watch manually. We also choose 60% as threshold. 75% or 80% would be more realistic for warning scenarios.

by Tan-Vinh Nguyen on , Estimated 9 min read → Read on

IT

Install gosu for Docker

gosu is an essential help for dockerized applications. Following recipe is from daily work. I always have some connectivity issues due to security precautions. This recipe works especially behind corporate firewalls with a http proxy.

by Tan-Vinh Nguyen on , Estimated 2 min read → Read on

IT

Kerberos Utilities

Working with Kerberos these days. Some recipes for dealing with Kerberos. There are several open source implementations out there.

by Tan-Vinh Nguyen on , Estimated 3 min read → Read on

© elastic.co Elasticsearch Logo 2017
IT

Elasticsearch Hot Warm Architecture

Running a Elasticsearch cluster can be an easy task. If you have the need to store data for a long time, but you know the data is infrequently requested, you may think of a hot-warm architecture. This post is a brief summary of my setup for my company at work. At that time Elasticsearch v5.4.1 was running.

by Tan-Vinh Nguyen on , Estimated 8 min read → Read on

Web

Reduce Java Script content serving

To improve page speed on websites, one technique is to deliver less java-script files than leave them in their original state. While it is good for maintenance and separation of concerns to isolate or have a component structure, it isn’t in the way presenting or serving the content. This post demonstrate how to minify, or in the same sense uglify, your java script code with the node package uglify-js.

by Tan-Vinh Nguyen on , Estimated 2 min read → Read on