www.madhur.co.in
Open in
urlscan Pro
2606:4700:3037::ac43:cf17
Public Scan
Submitted URL: http://www.madhur.co.in//blog
Effective URL: https://www.madhur.co.in/blog/
Submission: On October 02 via api from US — Scanned from DE
Effective URL: https://www.madhur.co.in/blog/
Submission: On October 02 via api from US — Scanned from DE
Form analysis
2 forms found in the DOMGET /results
<form method="get" role="search" id="searchform" action="/results" onsubmit="return checkfrm_search();">
<div class="form-group">
<input type="search" required="" id="q2" name="q" value="" class="form-control mobile" placeholder="Search">
</div>
</form>
GET /results
<form method="get" role="search" id="searchform" action="/results" onsubmit="return checkfrm_search();">
<div class="form-group">
<input type="search" required="" id="q1" name="q" value="" class="form-control desktop" placeholder="Search">
</div>
</form>
Text Content
Toggle navigation * Home * Blog * Work * About * Contact * * * * BLOG Archives CREATE LOCAL KUBERNETES CLUSTER USING KIND POSTED ON 01 SEP 2024 k8s Kind If you want to quickly spin up a local development environment of kubernets cluster, Kubernetes in docker aka Kind is the way to go Kind runs the kubernetes inside a docker container as opposed to Minikube which used to run kubernetes inside a VM Running Kind on linux requires to create a cluster configuration file cluster.yaml Here is the sample configuration which would work for most of the cases: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: -... Read more... LOAD TESTING WEBSOCKET SERVERS USING LOCUST POSTED ON 04 AUG 2024 Java Locust Websocket The entire code of this article is present on this github repository Load testing WebSocket servers is crucial for ensuring their performance and scalability. This article will guide you through using Locust, a popular open-source load testing tool, to test your Java WebSocket server. We will use Jetty WebSocket in Java to run our websocket server. Jetty WebSocket is a Java library and part of the larger Jetty project, which is a popular open-source web... Read more... MONITORING REDIS STREAMS LAG IN PROMETHEUS AND GRAFANA POSTED ON 14 JUL 2024 Java Redis Grafana Prometheus Monitoring Redis Streams lag in Prometheus and Grafana In this post, we will look at how we can measure redis streams lag from the application perspective. We would want to measure the lag and plot this in visual format using Prometheus in Grafana Assumptions We are going to assume that we have set of streams and set of consumer groups which are consuming from the stream. We are using consumer groups because we want high... Read more... FAKING TIME IN JVM PROCESS POSTED ON 01 JUL 2024 Java Faketime Recently, we were doing automation testing for one of our backend services and encountered an unique scenario wherein we wanted to forward the time by 24 hrs because we had entities which were created on daily basis at certain time. To automate these scenarios, we had to wait for 24 unless we did either of these things: Somehow create those entities every few minutes instead of every 24 hours - This would require making the... Read more... RTKIT DAEMON FLOODING JOURNALCTL LOGS POSTED ON 22 JUN 2024 Linux Journalctl Recently I observed, Rtkit daemon has been flooding the Journalctl logs I frequently found logs such as below in the journalctl logs Jun 13 22:51:50 madhur-b550mds3h rtkit-daemon[1922]: Supervising 2 threads of 1 processes of 1 users. Jun 13 22:51:50 madhur-b550mds3h rtkit-daemon[1922]: Supervising 2 threads of 1 processes of 1 users. Jun 13 22:51:50 madhur-b550mds3h rtkit-daemon[1922]: Supervising 2 threads of 1 processes of 1 users. Jun 13 22:51:50 madhur-b550mds3h rtkit-daemon[1922]: Supervising 2 threads of 1 processes... Read more... MY HOMELAB UPDATE - PART I POSTED ON 01 MAY 2024 Homelab Continuing my Homelab journey using Proxmox, I have setup a full fledged home network with multiple services running. Here is the quick diagram below for reference: Some of the services I am running on my homenetwork as of now are Jellyfin Commmafeed Prometheus Grafana Nginx Proxy Manager Snapdrop Uptime Kuma Change Detection qBittorrent Olivetin Vaultwarden ntfy Some of the things I am trying to solve: Easily able to VPN from outside to access my password... Read more... QUICK WEBSOCKETS CLIENT IN PYTHON POSTED ON 13 APR 2024 Websockets When interacting with lot of websockets server, you need a nifty client to test out the behaviour of websocket server. Till now, I have been using wscat as the command line utility to interact with websockets server. However, this command line utility has several disadvantages: It doesn’t allow you to send custom ping messages It doesn’t support authentication Due to these limitations, I wrote a simple python script below which can send a custom ping... Read more... BUILDING REDISEARCH MODULE IN AMAZON LINUX 2 POSTED ON 08 MAR 2024 Redisearch RediSearch is a Redis module that provides querying, secondary indexing, and full-text search for Redis. To use RediSearch, you first declare indexes on your Redis data. You can then use the RediSearch query language to query that data. There is a very good RediSearch getting started tutorial on github. There are several steps in bulding RediSearch module. The following steps worked on Amazon Linux 2 machine for us: yum install git perl perl-DateTime perl-JSON perl-Capture-Tiny... Read more... WEBSOCKET - CLOSE STATUS CODES POSTED ON 11 FEB 2024 Websocket A table for reference Close code (uint16) Codename Internal Customizable Description 0 - 999 Yes No Unused 1000 CLOSE_NORMAL No No Successful operation / regular socket shutdown 1001 CLOSE_GOING_AWAY No No Client is leaving (browser tab closing) 1002 CLOSE_PROTOCOL_ERROR Yes No Endpoint received a malformed frame 1003 CLOSE_UNSUPPORTED Yes No Endpoint received an unsupported frame (e.g. binary-only endpoint received text frame) 1004 Yes No Reserved 1005 CLOSED_NO_STATUS Yes No Expected close status, received... Read more... PROXMOX - SETTING UP USER FRIENDLY URLS POSTED ON 07 JAN 2024 Proxmox LXC I have been recently tinkering up with idea of setting up a homelab and self hosting few services such as DNS Server, Media server, RSS Aggregator etc along with some standard monitoring tools. I evaluated two products, Proxmox and Unraid After evaluating both, I choose Proxmox primarily because it seemed to fit my needs more than Unraid. Unraid is primarily useful if you have lot of data which needs to be made available to multiple... Read more... Older Posts → LATEST POSTS * Create local kubernetes cluster using Kind * Load testing Websocket servers using Locust * Monitoring Redis Streams lag in Prometheus and Grafana * Faking time in JVM Process * Rtkit Daemon flooding journalctl logs TAGS .NET AOE API AWS Algorithm Algorithms Android Angular AngularJs Ansible Arch Assembly Athena Binary Search Blockchain Browser Extension Burnout CSS CSS3 Caching Cassandra Celery CentOS Chat Checkstyle Chrome Client Object Model Cocoa Code Concurrency Corel Draw CosmosDB Couchbase Curator Deadlocks Design Disassembling Docker Dual Boot ELK ES6 Ehtereum Elasticsearch Emoji Ethereum Exploits Facebook Faketime Fedora Feedly GPT Ganache General Git Github Go Grafana GraphQL HTML5 HTTP Hacking Hashing Health History Homelab IE IntelliJ Internt Explorer JVM Java Javascript Jekyll Journalctl Jquery Kafka Kali Keyboards Kids Kind Kitty Kotlin Kubernetes LXC Lambda Lint Linux Locust MASM MBR ML Macbook Memory Microsoft Monitoring Multithreading MySQL Nginx Nmap Node.js NodeJs OAuth2 OS OSX Oracle Parallel Pass The Hash Performance Poetry Privilege Escalation Programming Prometheus Proxmox Python REST React Redis Redisearch Reverse Engineering SEDA SSH SSL Scalability Security Sentry Service worker Session Sidejacking SharePoint SharePoint 2010 Shell Silverlight Spark Splunk Spotbugs Spring StatsD Swift Systemd TCP/IP Technology Terminal Thoughts Threading Tomcat Transactions Tree Typescript UEFI Vagrant Vitess Web Web Security Web3 WebParts WebView Websocket Websockets Whiplash Widnows Windows Work Wunderlist Zsh ab guava hey ionic k8s tcpdump TOP COMMENTERS * Madhur · 73 posts * Alejandro Andrade · 3 posts * Jitendra Vyas · 3 posts * johnd126 · 3 posts * Sam Deering · 3 posts ARCHIVES September 2024 (1) August 2024 (1) July 2024 (2) June 2024 (1) May 2024 (1) April 2024 (1) March 2024 (1) February 2024 (1) January 2024 (1) December 2023 (2) November 2023 (1) October 2023 (1) September 2023 (1) August 2023 (1) July 2023 (1) June 2023 (1) May 2023 (2) April 2023 (1) March 2023 (1) February 2023 (1) January 2023 (1) December 2022 (1) November 2022 (1) September 2022 (1) August 2022 (1) July 2022 (1) June 2022 (2) May 2022 (1) April 2022 (1) March 2022 (4) February 2022 (3) January 2022 (5) December 2021 (1) November 2021 (4) October 2021 (4) August 2021 (2) July 2021 (3) June 2021 (4) May 2021 (5) February 2021 (4) January 2021 (1) December 2020 (3) November 2020 (3) October 2020 (1) September 2020 (4) August 2020 (5) July 2020 (4) June 2020 (4) © 2011-2024 Madhur Ahuja Powered by Jekyll, Github and Disqus.