Skip to content

Instantly share code, notes, and snippets.

View rsrini7's full-sized avatar
πŸ˜ƒ
Happy

Srinivasan Ragothaman rsrini7

πŸ˜ƒ
Happy
View GitHub Profile
@rsrini7
rsrini7 / kafka-4.0
Created April 1, 2025 14:42
kafka 4.0 features
**Apache Kafka 4.0 Details:**
* **Cloud-Native Focus:** The primary theme of Kafka 4.0 is its continued evolution towards being more cloud-native (from video).
* **ZooKeeper Removal (KIP-500):**
* ZooKeeper has been fully removed and deprecated (from video)
* KRaft is now the standard for metadata management, offering improved scalability and resilience (from video).
* This change simplifies cloud deployments by eliminating a component that posed networking challenges (from video).
* **KIP-848: New Consumer Rebalance Protocol**
@rsrini7
rsrini7 / N8N-Streamlit-Langgraph
Created March 31, 2025 04:44
N8N-Inspired AI Automation Workflow Builder using Streamlit and LangGraph
# -*- coding: utf-8 -*-
"""
N8N-Inspired AI Automation Workflow Builder using Streamlit and LangGraph
"""
# Subscribe to the Deep Charts YouTube Channel (https://www.youtube.com/@DeepCharts)
import streamlit as st
import uuid
import os
import re
@rsrini7
rsrini7 / Titans-GooglePaper
Last active January 19, 2025 07:25
Titans-GooglePaper
* **Titans** are a new Transformer architecture with RNN memory.
* **RNNs** have limitations like vanishing gradients, limited memory, and sequential dependency.
* **Titans** address these limitations by combining RNNs and Transformers.
* **Addressing RNN Limitations:** Titans aim to overcome the shortcomings of Recurrent Neural Networks (RNNs), such as:
* **Vanishing/Exploding Gradients:** Difficulty in training deep RNNs due to unstable gradient flow.
* **Limited Memory:** RNNs struggle to capture and retain information over long sequences.
* **Sequential Computation:** Processing information sequentially limits parallel processing capabilities.
* **Key Innovation: Neural Long-Term Memory:**
* Titans incorporate a dedicated neural module for long-term memory.
@rsrini7
rsrini7 / vscode themes
Created January 18, 2025 12:51
vscode themes
https://marketplace.visualstudio.com/items?itemName=liviuschera.noctis
@rsrini7
rsrini7 / notes
Last active September 16, 2024 13:51
my notes
mongodb
time series
Copped Collection -> fixed and retrieve insertion order, high throughput
Use Custom Collection -> rules for string comp letter case and assent marks
Clustered Collection -> stores ordered by used defined cluster key
@rsrini7
rsrini7 / tracability
Created April 27, 2024 13:53
tracability
https://betterprogramming.pub/tracing-in-spring-boot-3-webflux-d432d0c78d3e
logging.pattern.level: "trace_id=%mdc{traceId} span_id=%mdc{spanId} trace_flags=%mdc{traceFlags} %p"
https://spring.academy/guides/microservices-observability-reactive-spring-boot-3
----------------
https://azizulhaq-ananto.medium.com/how-to-handle-logs-and-tracing-in-spring-webflux-and-microservices-a0b45adc4610
@Component
@rsrini7
rsrini7 / conemu-split pan on startup
Created April 21, 2024 03:16
conemu-split pan on startup
cmd -cur_console:n
powershell -cur_console:s1TVn
bash -cur_console:s1THn
@rsrini7
rsrini7 / otel context propagation
Created March 10, 2024 12:49
otel context propagation
https://www.dynatrace.com/news/blog/distributed-tracing-with-w3c-trace-context-for-improved-end-to-end-visibility/
https://engineering.dynatrace.com/open-source/standards/w3c-trace-context/
https://aloisreitbauer.medium.com/trace-context-and-the-road-toward-trace-tool-interoperability-d4d56932369c
https://stackoverflow.com/questions/76620276/use-both-b3-and-w3c-trace-formats-in-trace-propagation-between-spring-boot-2-3
@rsrini7
rsrini7 / wiremock
Created February 11, 2024 14:57
wiremock
java -jar wiremock-jre8-standalone-2.35.jar --port 9999
ls -> __files and mappings folders
wiremock recorder ->
localhost:9999/__admin/recorder/
@rsrini7
rsrini7 / cloudwatch
Created February 19, 2023 11:10
aws cloudwatch
AWS CloudWatch
β”œβ”€β”€ Metrics
β”‚ β”œβ”€β”€ Custom Metrics
β”‚ β”œβ”€β”€ EC2 Metrics
β”‚ β”œβ”€β”€ RDS Metrics
β”‚ β”œβ”€β”€ ELB Metrics
β”‚ β”œβ”€β”€ Lambda Metrics
β”‚ └── S3 Metrics
β”œβ”€β”€ Alarms
β”‚ β”œβ”€β”€ Actions