Chen Riang's Blog

Live everyday like it's your last

Break Large CSV into parts

Often time, process or read a large CSV file is quite troublesome. With the concept of parallelism, we can break the file into smaller chunk and create multiple processes to process each of these s...

Process vs Pool

Python Multiprocessing

TL;DR Use Process when the task amount to execute is small has long IO wait Use Pool when the task amount to execute is big has short IO wait co...

Python Multithreading vs Multiprocessing

My first impression towards python multithreading and multiprocessing is that both of them work pretty much the same. However, this is wrong and in this article we will be looking at the difference...

Kubernetes Dashboard

Kubernetes has a dashboard web UI that provide an overview of applications running on your cluster, as well as for creating or modifying individual Kubernetes resources. Deploy Dashboard 1 kubect...

Vault Authorization - Kubernetes

Vault provide an auth method to authenticate a client using Kubernetes Service Account Token. The token of a pod’s service automatically mounted at /var/run/secrets/kubernetes.io/<serviceaccoun...

Vault Setup in Kubernetes

With Helm

Secret management is always a serious issue in any kind of application. Although, Kubernetes has its own Secret feature could help to manage secret, but after some reading I realized that it basica...

Setup Java like a Pro

SDKMAN! (formerly known as GVM- Groovy enVironment Manager) is a tool for managing parallel versions of multiple SDK on Unix environment. It will become extreme handy when you need to test ...

Supercharge ZSH console with plugins

ZSH enable you to use plugin and it will supercharge your productivity and terminal experience by 10X. In this article, we will be adding another 2 plugin for our ZSH: Auto Suggestion Syntax ...

MySQL Cluster Stale Read Issue

In my recent work, I have a requirement to increase the throughput of MySQL which do heavy READ operation and light WRITE operation. We all know that single-node MySQL will defiantly not able to a...

Deploy Janusgraph on Kubernetes with Helm

Janusgraph is an open source graph database that is highly scalable and optimized for storing and querying large graph. In this article, we will be looking into how to Helm charts for Janusgraph w...