From the notebook

Latest Posts

Explore the latest articles, or find a topic in the archive.

Browse topics

Log Structured Merge Tree Based Databases

Modern distributed databases built for high-velocity ingestion—such as Apache Cassandra, ScyllaDB, and RocksDB—rely on the Log-Structured Merge-tree (LSM-tree) storage architecture. Unlike traditional B-Tree engines that perform in-place page updates (causing random disk I/O and fragmentation under heavy concurrency), an LSM-tree...

Category: Log structured merge tree Tag: #databases

Run flink application locally on ubuntu

Running flink application locally is really fun and nice way to learn flink. As mentioned in my other posts I have been really enjoying working in Java and Flink. I really love to run the app locally and test some...

Category: Flink

Kubernetes NodePort Service

With NodePort service k8s opens a port on each node and when we access the service from outside using the ip address:port the traffic gets routed to out service.

Category: Kubernetes

Kubernetes Deep Dive into its components.

To understand the different components of the Kubernetes cluster we need to see what components are current running on the system. I have a minikube instance running and I can ssh into the instance to see all the processes that...

Category: Kubernetes

Performance Analysis in Java Applications: A Flink Deep Dive

Recently, I’ve been working on a Flink Java application experiencing significant performance issues. This led me down a path of discovering the rich set of diagnostic tools available in the Java ecosystem for identifying and resolving backpressure and performance bottlenecks....

Category: Flink Category: Java Category: Performance Tag: #debugging Tag: #flame-graph Tag: #observability Tag: #profiling Tag: #thread-dump

Apache Flink Custom Data Types for Performance.

Flink provides a dedicated set of data types located primarily in the org.apache.flink.types package. These are designed to overcome the performance limitations of standard Java types (immutability and heavy serialization).

Category: Java

Java Garbage Collection

Garbage collection and the wait times are the some of the most important metrics you need to track to see if you application is running with good performance.

Category: Java

Java threads

These are some important conversation details from my Gemini chat which are very critical to become a great developer.

Category: Java

JConsole and process deep dive

I was recently trying to understand deeper into the java process and how memory model used by a java process. I found the following analysis with jconsole very helpful. jconsole is a debugging tool provided in the java jdk and...

Category: Java Category: Jconsole

Mastering Java

Making the transition from one programming language to another is never a straightforward process, even for experienced developers. Recently, I made the switch to Java as my primary programming language at work. Despite my proficiency in C#, I quickly discovered...

Category: Java

Jar files in Java

Lot of times when you are working on Java projects, you want to examine the jar file and see what files it contains and if it has the necessary files or not.

Category: Java

SSH

Key Less SSH logins , use the following commands to create a Public/Private Key and copy the public key to the SSH server.

Category: Development

Background Thread Upgrade

Lot of times in day to day development we need to do some background processing task, for example reading some file and updating the list. For this it makes sense to use a dedicated thread to do the processing. We...

Category: Development

Protocol Buffer

Protocol Buffer is a platform agnostic data transfer protocol. It is a binary protocol where data is serialized in binary format. The serialized data is very compact and takes less storage space and small data also helps with reducing the...

Category: Development

Diagnosis of High CPU issues in production

Recently I was tasked with identifying the high CPU issues in our production environment. We were seeing issues where the CPU increase was not really following the traffic patterns. This is a shared environment where lot of different processes are...

Category: Debugging

Environment Variables

Today going to list some simple commands which should be in every developers toolkit. These are things that you will need to do quite often in your daily job and its best to incorporate these in your muscle memory.

Category: Productivity

RocksDb

Recently I have been learning more about embedded database for my work on near real time system. We have an application where telemetry messages are sent from the client browser to a Kafka topic at near real time lag. We...

Category: .net Category: Core Category: Rocksdb

Http Async Server

HttpListener provides the functionality to host bare bore Http Service in apps for interprocess communication. In Microservice architecture it is sometimes required that you have to host some service in your application, for this scenario it is critical to create...

Category: Csharp

Ubuntu Wireless Card

I installed ubuntu on my MacBook Air a while ago and I was running into wireless connection issues. At that time when I did some digging around and found that lot of people were facing the issue with getting the...

Category: Ubuntu

Fun with Python and Azure Devops

Recently at work we were running into an issue with Azure DevOps build. Azure Devops by default allows 10GB of space for running the build pipelines, however due to some issue we were constantly going over the 10GB limit and...

Category: Azure Category: Python

One of the use cases of docker

Docker is a great tool for deployment and sharing software. I use github pages for my blog and I find it pretty useful since it doesnt come in my way of writing. Authoring the markdown files is all that is...

Category: Docker

Python Decorators

Decorators are used extensively in Python and various frameworks like Flask/Django or Logging modules etc

Category: Python

Python Notebook Tips and Tricks

Jupyter notebook is a great tool to show/share your work. The tool also provides some ways to easily execute and take some actions on the results obtained. I didnt know about SList before and found it to be very useful...

Category: Python

Tmux

Tmux is a terminal multiplexer and I use it in my day to day activities. I have installed the Oh-My-Tmux. This gives some great benefits. Oh-My-Tmux maps the CTRL+A as the trigger key. Default is CTRL+B.

Category: Linux

Linux Command Catalog

I am writing this blog to help me rememeber the linux commands I use. At home I switched to using my Ubuntu Machine as my main machine. I love my Lenovo T430 which I bought from ebay at a cheap...

Category: Linux

.Net Core on Linux

I personally believe that .Net Core is the future of .Net. Learning .Net Core is imperative and very useful for the future. I am playing around with .Net core and want to write some of my findings on linux. Creating...

Category: .net Category: Core

Programmatic Personalized Notification Design

Below is the design of Personalized Notification Feature that I am working on in my free time. This design heavily leverages the ChangeFeed feature provided by the Azure CosmosDb and it nicely fits in how notifications can be sent in...

Category: Technical

Signalling Thread using ManualResetEvent

ManualResetEvent and AutoReset Event are some of the most important classes provided by the .Net Framework. These are used for the purpose of singalling threads (start/stop) etc and having a detailed knowledge of the these classes are very important for...

Category: Technical

Welcome to My Blog

Welcome to my blog. In my blog I will be mostly writing about my technical learning/projects I do in my personal time. This site is more of a source of reference for me. In the process if it helps others,...

Category: Personal