Thunder Script
592 subscribers
110 photos
47 videos
337 files
86 links
Store Channel: @Thunder_script_store
Discussion Group: @Thunder_script_chat
Download Telegram
my last Last 7 days. 😌

Try WakaTime and see your statistics.

https://wakatime.com/
πŸ”₯4πŸ‘€2
Proxy Vs VPS (Virtual Private Server)


πŸ” Proxy:

πŸ›‘ What it is: A middleman between your device and the internet.

πŸ›‘How it works: You connect to the proxy, and it sends your traffic to the final destination. Websites see the proxy's IP address instead of yours.

πŸ›‘Used for:
1. Hiding your IP address
2. Bypassing geo-blocks
3. Web scraping
4. Managing multiple accounts

πŸ›‘Types: HTTP, HTTPS, SOCKS4/5, residential, datacenter, etc.

πŸ›‘Control level: Minimal – you usually don’t have much control over how the proxy server is configured.

πŸ’» VPS (Virtual Private Server):


πŸ›‘What it is: A virtual machine running on a physical server.

πŸ›‘How it works: You rent a portion of a server with full root/admin access. It behaves like a personal computer in the cloud.

πŸ›‘Used for:
1. Hosting websites
2. Running bots/scripts
3. Game servers
4. Creating your own VPN or proxy
πŸ›‘Control level: High – you manage everything from the OS up.

#thunder
πŸ‘5
Vibe Coder 😁


Anyway, Happy Easter everyone!☦️☦️
πŸ”₯πŸ”₯use your AAU email to use cursor premium for free(500 requests/month)
What is Redis?


Redis (Remote Dictionary Server) is an open-source, in-memory data structure store used as a database, cache, and message broker.

Key Features of Redis:

1. In-memory speed – Extremely fast data access

2. Persistence options – Supports saving data to disk

3. Rich data types – Suitable for complex operations


Redis can be used in many scenarios, but the most common use cases for me and most developers are:

1. Caching

Reduce database load and speed up response times.
Example: Cache user sessions, API responses, or product details.

2. Session Store

Store temporary session data for users.
Provides fast read/write access with TTL support.

And trust me ... its worth learning Redis. It can save you time and money while boosting your system’s performance.

#Redis
🀐
πŸ”’ What is Rate Limiting?

Rate limiting is the process of controlling the number of requests a user or client can make to a server within a specified time window.

🧠 Why Use Rate Limiting?
1. Prevent abuse (e.g., brute-force login attempts).
2. Ensure fair access to APIs for all users.
3. Protect backend resources (e.g., databases, third-party APIs).
4. Avoid unexpected costs from overuse of metered services.

βš™οΈ Efficient Backend Implementation Options

1. Distributed Store (e.g., Redis-based)

a. Store counters or tokens in Redis with TTL.
b. Use atomic operations (e.g., INCR, EXPIRE, SETNX).
c. Can implement token bucket or fixed window.

βœ… Highly scalable
βœ… Centralized control across services

2. In-Memory (Golang/Python Cache)

a. Use a simple map with IP/user ID β†’ count/timestamp.
b. Suitable for single-instance apps.


How to:


Golang + Radis : https://dev.to/pradumnasaraf/rate-limiting-a-golang-api-using-redis-ogi

NodeJs + Radis : https://medium.com/@ignatovich.dm/creating-a-simple-api-rate-limiter-with-node-a834d03bad7a
❀4πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
A free online tool for drawing Entity-Relationship Diagrams by writing code. Designed specially for developers and data analysts.

https://dbdiagram.io/

@thunder_script #tool
❀3
Database Migration


Database migration is the process of moving data from one database system to another, or upgrading to a new version of the same system.

This could involve:

1. Switching database engines (e.g., from MySQL to PostgreSQL)
2. Changing storage locations (e.g., to the cloud)
3. Restructuring the data for better performance.

Why is it important?

A. Scalability: Supports growing data and user demands. ( πŸ‘Œ)
B. Performance: Improves speed and efficiency with modern systems.
C. Security: Helps adopt systems with stronger security features.
D. Cost-effectiveness: Enables using more affordable or managed solutions.
F. Innovation: Unlocks access to advanced features like analytics, replication, and automation.


This is one of my favorite and lifesaving topics. If you are a backend engineer or want to become one, please learn this because it’s one of the most necessary topics when working on scalable systems.

@thunder_script
⚑1
Grok is playing with me πŸ˜‚

Plz tell me .. What's ur best model ?
😁1🀣1
This media is not supported in your browser
VIEW IN TELEGRAM
I have been in this exact situation ... struggling to post consistently.
But I’m back now, ready to share some cool topics I’ve been working with.

Upcoming post on

Prometheus and Grafana


Stay tuned!
πŸ”₯6πŸ‘1
What are Prometheus & Grafana?

Prometheus: An open-source monitoring and alerting system designed for reliability and scalability. It scrapes metrics from services and stores them in a time-series database.

Grafana: A highly flexible dashboarding and visualization tool that lets you query and display metrics beautifully (including those collected by Prometheus).

Why Use Them?
1. Real-time monitoring of app health and infrastructure.
2. Automatic alerting for anomalies (e.g., high CPU, memory, traffic spikes)
3.Integrates seamlessly with Kubernetes and cloud-native stacks

How to Set Them Up with Helm (K8s)
Setting them up on Kubernetes is super smooth using Helm charts.
# Add the community repo
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

# Install both Prometheus & Grafana
helm install monitoring prometheus-community/kube-prometheus-stack


This will deploy:

1. Prometheus
2. Grafana
3. Node Exporter
4. Alertmanager And all necessary CRDs

You can then port-forward Grafana to access the dashboards:
kubectl port-forward svc/monitoring-grafana 3000:80

Login using:
Username: admin
Password: prom-operator (or check the secret)


πŸ“š Resources:
Helm Kube-Prometheus-Stack
Official Prometheus Docs
Grafana Documentation

If you're confused or want more clarity, I recommend this video: Link

If you have anything to discuss, feel free to drop it in the comments below.I know its really short, but you can definitely start here.i will share related documentation as well.

@thunder_script

#K8s #Prometheus #Grafana #monitoring
πŸ”₯4
Software Engineer Assistant (Remote)

I’m looking for a Software Engineer Assistant to work with me.

What you’ll do:

You will not write any code β€” I will handle all coding.


1. Be available from 12:00 PM – 5:00 PM EST (7:00 PM – 11:59 PM Ethiopian local time).
2. Have a reliable internet connection.
3. Be able to manage and operate a LinkedIn account.
4. Understand basic software engineering terms such as Golang, React, etc just terms

Compensation:
5,200 ETB/month, paid weekly.

How to apply:
Apply here: Link
❀4
Okay guys, I reached out to most of you and had interviews with a few. Since I didn’t get a response from others, I had to move to the next person. After considering everything related to the work,

I’ve decided to continue with: Dawit Kindea (@davido1221)

For those who had an interview with me, I’ll have other jobs and will reach out.

Thanks πŸ™
πŸ‘6
Assign issues to Cursor and launch background agents from within Linear,


I saw it, bro its gonna be assigned tasks just like me 😁
😁3❀1
I personally prefer KEDA (Kubernetes Event-driven Autoscaling) instead of HPA.
#k8s