侯สุด95☁️
28K posts

侯สุด95☁️
@sudej
#รับนำเข้าส่งออกสินค้า 🇹🇭↔️🇨🇳🇺🇸รับทำโปรเจค #gcp/#aws/#aliyun/#阿里云/#PHP/#Hardening OS+middleware 💚#Poker/#Crypto/#Technology/#Golf/#Bakerian
Lamphun, Thailand Entrou em Aralık 2008
502 Seguindo653 Seguidores
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou

If I had to load balance traffic,
here are 6 algorithms I'd consider:
1) Round robin
2) Weighted round robin
3) Least connections
4) IP hash
5) Random
6) Least response time
There's no one-size-fits-all solution.
When choosing, consider these key factors:
↳ Workload uniformity: Are all requests roughly equal in complexity?
↳ Session state: Do you need sticky sessions?
↳ Server variability: Are all instances identical, or do some have significantly more horsepower?
↳ Traffic patterns: Do you regularly experience bursts, or is traffic relatively predictable? Are requests short-lived or persistent?
In many production environments, load balancers like NGINX, HAProxy, AWS ELB, or Envoy enable combining algorithms or fine-tuning behaviors with custom logic and health checks.
👋 PS - we wrote a detailed article about this in our newsletter (with visuals): lucode.co/load-balancing…
--
♻️ Repost to help others learn system design.
🙋🏻♀️ Follow Nikki Siapno + turn on notifications.

English
侯สุด95☁️ retweetou

RESTful API Design Checklist
🔹 Domain Model Driven
Base API path structure on your domain model.
🔹 Choose Proper HTTP Methods
Use standard HTTP methods and avoid problematic ones like PATCH when possible.
🔹 Implement Idempotence Properly
Design for idempotence upfront to improve API robustness. GET is naturally idempotent; design POST carefully.
🔹 Choose Proper HTTP Status Codes
Use a limited set of status codes to simplify development.
🔹 Versioning
Plan version numbering in advance to simplify future upgrades.
🔹 Semantic Paths
Use descriptive paths to make APIs self-documenting and easier to find.
🔹 Batch Processing
Use batch or bulk keywords at the end of paths for processing multiple items.
🔹 Query Language
Design consistent query rules for pagination, sorting, filtering, and other operations.
--
We just launched the all-in-one tech interview prep platform, covering coding, system design, OOD, and machine learning.
Launch sale: 50% off. Check it out: bit.ly/bbg-li-posts

English
侯สุด95☁️ retweetou

Many Cloud Engineers think load balancers are just for traffic distribution.
There are plenty of use cases in modern cloud architectures proving otherwise.
Here, I’ve made this to help you better understand.
55K+ read my DevOps and Cloud newsletter: techopsexamples.com/subscribe
What do we cover:
DevOps, Cloud, Kubernetes, IaC, GitOps, MLOps
🔁 Consider a Repost if this is helpful

English
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou
侯สุด95☁️ retweetou

"บักบอย" ออกทวงบุญคุณ! ลั่น "ไทยมีทุกวันนี้ได้เพราะกัมพูชา" พร้อมกล่าวหาคนไทยนิสัยโจร
#บักบอย #ไทย #กัมพูชา #ชายแดนไทยกัมพูชา #trending #trendingnow #คลิปโซเชียล #ไทยรัฐทีวี32
ไทย


















