Figure#1 The Stock Quote Dashboard screenshot

The HTTP/2 multiplexing feature overcomes the head of line blocking limitation inherited from HTTP/1.1, which greatly improves the TCP connection throughput between the browser and backend server.

To demonstrate the capacity gained from this feature, this post presents an example, the Stock Quote Dashboard, which is a single React page that plots the intraday price chart and promps the real-time quote of 25 stocks, and updates it for every second, the page generates numerous requests which flood into the HTTP/2 channel between the browser and the Spring WebFlux Netty server. HTTP/1.1 …

Photo by Luca Lago on Unsplash

To all who are serving their duties and staying at home or, I hope you are doing well during the spread of the coronavirus epidemic.

As a Kubernetes developer, Istio service mesh might have drawn your attention, you might urge to explore it but you found that you needed a Kubernetes cluster first. An easier option to prepare one is Minikube or MicroK8s, these two platforms are fully supported by Istio. Furthermore, you might want to try it with a multiple nodes cluster, which is closed to your production environment in the future.

Set up a multiple nodes cluster is…

Photo by Alexander Schimmeck on Unsplash

Spring Batch is a great tool to deal with large data volume, the project introduces the chunk-oriented processing, that divides data into batches, for each of these batches, its transaction is independent to each other. In this post, I will show you how to work with Spring Batch and distributed transaction.

Distributed transaction is invoked in this example while the ItemWriter updates records in two independent MySQL databases, changes on these records must be commit or rollback at once. …

After struggling for a few weeks, finally, on my mobile, I could launch my page, that running on my home Kubernetes cluster and hosting on my public domain, with the Chrome browser. I even don’t have to tolerate that dazzling “not secure” icon and that little red text remind me that my site is not trusted, because I protected with a TLS certificate issued by Let’s Encrypt. The whole setup was free, besides the monthly bill from my ISP and the cost for turning on my 10-years old PC, and I will tell you how to do it.

Open your…

Helm chart is a collection of kubernetes manifest files, like docker image, it can be built as package and hosted on any Helm repository, Helm client can download and deploy these packages to any Kubernetes instance.

Helm repository is no more than hosting static files follows a predefined format. The Helm offical document also shows how to host it on GitHub Pages. Since all stuffs are on GitHub, so why not setup a travis CI pipeline to automate the build, and this short post will tell you how to do it.

Let’s get to work, step-by-step…

1~ I started with a new github repository helm-charts-repo

When I first started my Kubernetes journey, I was looking for the way to set up my local development environment, usually, most people find the minikube or microk8s, both are good starting point for a single node cluster environment. Once I had learnt the basic, I was looking for further — a local multi-node cluster, a more production-like environment. …

Kwong Hung Yip

Developer from Hong Kong

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store