Clivern

A Software Engineer and Occasional Writer.

Getting Started With Ruby

02 January 2022

Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (`Perl`, `Smalltalk`, `Eiffel`, `Ada`, and `Lisp`) to form a new language that balanced functional programming with imperative programming.

Read More

Strangler Fig Pattern Explained

01 January 2022

Strangler Figs is a nightmare that lives on other tropical trees, stealing their soil nutrients, water, and even sunlight through a canopy of dense leaves and roots that twist around the host plant. Eventually, the fig's roots can completely encase the host, strangling its trunk and cutting off nutrient flow until it dies and rots away leaving just the hollow fig behind.

Read More

How to Connect Arduino With a Raspberry PI over a Serial Port

02 November 2021

In this post, You will understand how to collect values from an Arduino with a connected Raspberry PI over a serial port. This can be useful if you want collect sensor values over a period of time and store them on a timeseries database or trigger an alert either from the Raspberry PI (email notification or telegram alert) or from the Arduino (like fire alerting systems). Let's dive in!

Read More

How to Setup a HA Cassandra Cluster

01 November 2021

Apache Cassandra is a NoSQL database with flexible deployment options that's highly performant (especially for writes), scalable, fault-tolerant, and proven in production. Alternative NoSQL databases include Amazon DynamoDB, Apache HBase, and MongoDB.

Read More

Apache Cassandra for Developers Part 2

01 October 2021

In Cassandra for Developers Part 1, I explained how to run cassandra cluster with docker, replication and consistency strategies. Here i will explain CQL statements, data types and multi-row partitions

Read More

Working with Nginx Ingress Controller

02 August 2021

A Kubernetes Ingress is a robust way to expose your services outside the cluster. It lets you consolidate your routing rules to a single resource, and gives you powerful options for configuring these rules.

Read More

Separate Test Cases in Golang With Build Tags

02 January 2021

A build tag or a build constraint as described in the build package documentation, is a line comment that begins `// +build` that lists the conditions under which a file should be included in the package.

Read More

Kubernetes Services in a Nutshell

30 May 2020

Service is a resource you create to make a single, constant point of entry to a group of pods providing the same service. Each service has an IP address and port that never change while the service exists. Clients can open connections to that IP and port, and those connections are then routed to one of the pods backing that service. This way, clients of a service don’t need to know the location of individual pods providing the service, allowing those pods to be moved around the cluster at any time.

Read More

Apache Cassandra for Developers Part 1

26 May 2020

Apache Cassandra is a free and open-source, distributed, NoSQL database management system designed to handle large amounts of data across many servers, providing high availability with no single point of failure. Cassandra offers robust support for clusters spanning multiple datacenters, with asynchronous masterless replication allowing low latency operations for all clients.

Read More