Yash Agarwal

Epidemic/Gossip Protocols

Last week, while reading the book Designing data-intensive applications, I came across the term “Gossip Protocols.” The title was quite intriguing; hence I search for it on Google. It turns out that it is a communication protocol. It is sometimes also called the “Epidemic Protocol.” We are facing an ongoing pandemic called COVID-19. The term “Epidemic Protocol” caught my attention, and I started wondering how the knowledge of epidemics is going to be useful in computer systems.

2019 - Year in Review

It has been three months since 2020 started. I was not able to keep up with my yearly habit of posting year reviews due to some reasons. One primary reason behind my negligence is my disinterest in writing on this blog. I felt that it was because the old layout of this blog had been too recurrent for me. So, I decided to fix that issue before thinking about writing.

Automatic HTTPS Certs Using GoDaddy and Gitlab APIs

Before I start, here is some technical information about my website - Hosted on Gitlab and usage its CD for automatic deployment, which is triggered on a git commit. The domain name registrar is GoDaddy. Let’s Encrypt as the TLS certificate provider for my domain name. Let’s Encrypt provides certificates for 90 days only, so I was forced to set up the certbot every three months, then generate the certificate and manually deploy the certificates to GitLab.

Setting Up ModSecurity on Ubuntu

Recently, I am experimenting with Web Application Firewalls a lot. ModSecurity is one of them. It is the most famous and useful open-source Web Application Firewall (WAF) in existence. It is supported by various web servers such as Apache, Nginx, and IIS. The job of ModSecurity is to sit in front of the application web server and check the incoming requests and outgoing responses to filter out malicious content. It does so by the use of powerful and complex regular expressions.

Travelogue - Chikmagalur

South India is blessed with nature throughout the year, but monsoons bring a different flavor and ethereal quality to some places. Although the rainy season might not be the best time to travel, there is a certain charm in holidaying during the downpour. We (I and my flatmates in Bengaluru) were planning a trip to Chikmagalur since the beginning of June. One of my friends knows driving, so we decided to rent a car and drive ourselves to a distance of approximately 250 KMs.