Skip to content

Instantly share code, notes, and snippets.

View karuppiah7890's full-sized avatar
😄
"When given the choice between being right or being kind, choose kind" Dr Wayne

Karuppiah Natarajan karuppiah7890

😄
"When given the choice between being right or being kind, choose kind" Dr Wayne
View GitHub Profile
@karuppiah7890
karuppiah7890 / WebRTC-Resources.md
Last active March 11, 2024 15:11
WebRTC Resources

WebRTC and creating Web Apps using WebRTC

It's good to have some basic knowledge about networking before starting to learn about WebRTC.

Basic knowledge about IP addresses & Ports (Sockets) and about P2P networks
should be enough. And yes, knowledge about JavaScript is important to code WebRTC based web applications and some knowledge about NodeJS or other server side languages if you want to implement a signalling server for the WebRTC application or you could just use some code in GitHub.

But it's fine, you can still learn WebRTC with some abstraction, it's just that you might get confused with what's going on
or might wanna know the subject in a more better manner to wrap your head around it.

@karuppiah7890
karuppiah7890 / clickhouse-client-log.md
Last active October 19, 2023 05:33
Output while Building ClickHouse Locally
$ ./programs/clickhouse client
ClickHouse client version 23.10.1.1.
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 23.10.1 revision 54466.

Warnings:
 * Server was built in debug mode. It will work slowly.
 * Maximum number of threads is lower than 30000. There could be problems with handling a lot of simultaneous queries.
@karuppiah7890
karuppiah7890 / blog-post.md
Created September 22, 2023 12:46
Ingestion Service memory leak issue and solution. Write ✍️ Blog post

ClinicJS Doctor command showing heap issue

Running test against local. Using autocannon. Running test against staging environment using autocannon. Running clinic heap profiler tool along with autocannon to find memory leak issue

Show how heap dump is done

Share the blog post with team :)

Put all the details in it. ALL the details :)

@karuppiah7890
karuppiah7890 / learning-databases.md
Last active October 19, 2022 03:20
Learning Databases
  • Write about databases online - blog posts, articles
  • Answer user queries on
    • Community Forums, like
      • StackOverflow
      • Discourse Forum
      • Slack
      • Mailing List forum
      • Meetup communities
      • Conferences
  • Bugs, Issues, Pull Requests, Tickets, Stories etc
@karuppiah7890
karuppiah7890 / notes-1.md
Last active October 14, 2022 02:52
Teaching Vector
  • What is Vector? https://vector.dev

  • What is an observability pipeline? Why does it exist? And how is it used? Who uses it? Who benefits from it? When is it used?

  • How is Vector different from Logstash, Prometheus, Influx DB, Grafana Loki, netdata etc?

  • Pros and cons of using Vector. Usage, cost, operational ease etc

  • What are the different ways in which Vector can be deployed and used? Why are there so many ways instead of just one? What are their use cases, or pros and cons?

@karuppiah7890
karuppiah7890 / things-i-like.md
Last active October 7, 2022 06:09
Things I like

I like

  • Fasting
  • Eating fruits, vegetables. Eating them raw and cooked too
  • Sweating a lot by working out, running
  • Learning
  • Teaching
  • Talking about stuff I learned / discovered
  • Talking about interesting ideas I heard or came up with
  • Talking about new tech
  • Checking out how stuff works and being eternally curious about how stuff works

What is self worth?

What does it mean to have low / high self worth?

How does having a good self worth help in living?

Studies and research around self worth?

What can one do to improve their sense of self worth?

@karuppiah7890
karuppiah7890 / todo.md
Last active May 20, 2022 02:54
Timescale DB benchmarking tool

Code

  • Create project in GitHub and local
  • Add basic README
  • Create GitHub Project
  • Enable Golang VSCode Extension for the project in local
  • Initialize Golang Module with go mod init
  • Add a basic main.go for the CLI tool
  • Setup Timescale DB in local using docker or docker-compose
  • Create user stories / story cards as GitHub issues for different tasks / work
  • Add Makefile to ease dev tasks like running tests, building tool etc
@karuppiah7890
karuppiah7890 / run-redis.sh
Last active November 14, 2021 10:28
Install and run Redis and configure it to enable TLS support and protect it with a password. This has been tested only on Ubuntu 20.04 x64 OS and may not work with other OSes or OS versions
#!/bin/bash
set -o pipefail
set -o errexit
set -o nounset
set -o xtrace
email=${1:?Email has not been passed to the script. Usage example: ./run-redis.sh abc@example.com redis-server.example.com 156.165.10.5 6379}
domain_name=${2:?Domain name has not been passed to the script. Usage example: ./run-redis.sh abc@example.com redis-server.example.com 156.165.10.5 6379}
ip=${3:?IP address has not been passed to the script. Usage example: ./run-redis.sh abc@example.com redis-server.example.com 156.165.10.5 6379}