[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"academy-blogs-en-1-1-all-ep-123-load-balancing-sticky-sessions-websocket-all--*":3,"academy-blog-translations-7swzy8k025b0417":79},{"data":4,"page":67,"perPage":67,"totalItems":67,"totalPages":67},[5],{"alt":6,"collectionId":7,"collectionName":8,"content":9,"cover_image":10,"cover_image_path":11,"created":12,"created_by":13,"expand":14,"id":73,"keywords":74,"locale":49,"published_at":75,"scheduled_at":13,"school_blog":71,"short_description":76,"slug":77,"status":69,"title":6,"updated":78,"updated_by":13,"views":72},"EP.123 Load Balancing & Sticky Sessions for WebSocket (Production-Ready Guide)","sclblg987654321","school_blog_translations","\u003Cp>When your WebSocket server starts handling a large number of concurrent users, simply adding more servers or pods is no longer enough.\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>In real-world systems, common problems often appear:\u003C\u002Fp>\u003Cul>\u003Cli>Clients get disconnected unexpectedly\u003C\u002Fli>\u003Cli>Messages are delayed or never delivered\u003C\u002Fli>\u003Cli>Clients keep reconnecting in loops, eventually overloading the system\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>In most cases, the root cause is the same: 👉 a load balancer that does not properly understand WebSocket connections and lacks sticky session support\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>This article walks you through everything you need to know from core concepts, to practical implementation, to production-grade best practices.\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🎯 Goals of This Article\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>After reading this article, you will understand:\u003C\u002Fp>\u003Cul>\u003Cli>Why WebSocket requires sticky sessions\u003C\u002Fli>\u003Cli>Which types of load balancers truly support WebSocket\u003C\u002Fli>\u003Cli>How to scale your system without dropping connections\u003C\u002Fli>\u003Cli>How to design a WebSocket server that is ready for production\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🧠 Why WebSocket Is Not HTTP\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>HTTP (Stateless)\u003C\u002Fh3>\u003Cul>\u003Cli>Request → Response → Done\u003C\u002Fli>\u003Cli>Load balancers can freely distribute requests\u003C\u002Fli>\u003Cli>Each request may hit a different server without affecting the user\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>WebSocket (Stateful)\u003C\u002Fh3>\u003Cul>\u003Cli>Connect once → stay connected for a long time\u003C\u002Fli>\u003Cli>The connection is bound to a single server\u003C\u002Fli>\u003Cli>If traffic is routed to another server → ❌ the connection breaks immediately\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>🔑 A WebSocket connection must stay on the same server for its entire lifetime.\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🍪 What Is a Sticky Session?\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>A sticky session tells the load balancer:\u003C\u002Fp>\u003Cblockquote>\u003Cp>“This client must always be routed to the same backend server.”\u003C\u002Fp>\u003C\u002Fblockquote>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>Common sticky session strategies used in practice:\u003C\u002Fp>\u003Cul>\u003Cli>Cookie-based affinity\u003C\u002Fli>\u003Cli>IP hash\u003C\u002Fli>\u003Cli>Header-based routing\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>👉 For WebSocket, sticky sessions are mandatory not optional.\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>❌ What Happens Without Sticky Sessions?\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>A very common real-world scenario:\u003C\u002Fp>\u003Col>\u003Cli>A client connects to WebSocket via a load balancer\u003C\u002Fli>\u003Cli>The load balancer routes it to Pod A\u003C\u002Fli>\u003Cli>The system scales and adds Pod B\u003C\u002Fli>\u003Cli>The next packet is routed to Pod B\u003C\u002Fli>\u003Cli>❌ The WebSocket connection breaks instantly\u003C\u002Fli>\u003C\u002Fol>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>What users experience:\u003C\u002Fp>\u003Cul>\u003Cli>Random disconnects\u003C\u002Fli>\u003Cli>Endless reconnect loops\u003C\u002Fli>\u003Cli>Lost messages\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>⚖️ Load Balancer Types That Work with WebSocket\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>1. Layer 4 Load Balancer (TCP)\u003C\u002Fh3>\u003Cp>The best option for WebSocket\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>Examples:\u003C\u002Fp>\u003Cul>\u003Cli>AWS Network Load Balancer (NLB)\u003C\u002Fli>\u003Cli>GCP TCP Load Balancer\u003C\u002Fli>\u003Cli>HAProxy (TCP mode)\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>Advantages:\u003C\u002Fp>\u003Cul>\u003Cli>No protocol inspection\u003C\u002Fli>\u003Cli>Stable, long-lived connections\u003C\u002Fli>\u003Cli>Sticky behavior by nature\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>2. Layer 7 Load Balancer (HTTP)\u003C\u002Fh3>\u003Cp>Can be used, but only with proper configuration\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>Examples:\u003C\u002Fp>\u003Cul>\u003Cli>Nginx\u003C\u002Fli>\u003Cli>AWS Application Load Balancer (ALB)\u003C\u002Fli>\u003Cli>Traefik\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>Required settings:\u003C\u002Fp>\u003Cul>\u003Cli>Support \u003Ccode inline=\"\">Upgrade: websocket\u003C\u002Fcode>\u003C\u002Fli>\u003Cli>Sticky sessions enabled\u003C\u002Fli>\u003Cli>Long idle timeout (at least 1–2 hours)\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>⚙️ Sticky Session Example (Nginx)\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cpre>\u003Ccode class=\"language-plaintext language-nginx\">upstream websocket_backend {\n    ip_hash;\n    server ws1:8080;\n    server ws2:8080;\n}\n\nserver {\n    location \u002Fws {\n        proxy_pass http:\u002F\u002Fwebsocket_backend;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection \"Upgrade\";\n        proxy_read_timeout 1h;\n    }\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>\u003Ccode inline=\"\">ip_hash\u003C\u002Fcode> provides a simple and effective form of sticky sessions that works well in many scenarios.\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>📦 Sticky Sessions on Kubernetes\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>1. Service with Session Affinity\u003C\u002Fh3>\u003Cpre>\u003Ccode class=\"language-plaintext language-yaml\">spec:\n  sessionAffinity: ClientIP\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>2. Ingress (NGINX Ingress)\u003C\u002Fh3>\u003Cpre>\u003Ccode class=\"language-plaintext language-yaml\">nginx.ingress.kubernetes.io\u002Faffinity: \"cookie\"\nnginx.ingress.kubernetes.io\u002Fsession-cookie-name: \"ws-session\"\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🔧 Example: Production-Friendly WebSocket Server in Go\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cpre>\u003Ccode class=\"language-plaintext language-go\">package main\n\nimport (\n\t\"log\"\n\t\"net\u002Fhttp\"\n\n\t\"github.com\u002Fgorilla\u002Fwebsocket\"\n)\n\nvar upgrader = websocket.Upgrader{\n\tCheckOrigin: func(r *http.Request) bool {\n\t\treturn true\n\t},\n}\n\nfunc wsHandler(w http.ResponseWriter, r *http.Request) {\n\tconn, err := upgrader.Upgrade(w, r, nil)\n\tif err != nil {\n\t\tlog.Println(\"upgrade error:\", err)\n\t\treturn\n\t}\n\tdefer conn.Close()\n\n\tfor {\n\t\tmsgType, msg, err := conn.ReadMessage()\n\t\tif err != nil {\n\t\t\tlog.Println(\"read error:\", err)\n\t\t\tbreak\n\t\t}\n\n\t\tif err := conn.WriteMessage(msgType, msg); err != nil {\n\t\t\tlog.Println(\"write error:\", err)\n\t\t\tbreak\n\t\t}\n\t}\n}\n\nfunc main() {\n\thttp.HandleFunc(\"\u002Fws\", wsHandler)\n\tlog.Println(\"WebSocket server started on :8080\")\n\thttp.ListenAndServe(\":8080\", nil)\n}\n\u003C\u002Fcode>\u003C\u002Fpre>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>⚠️ Important:\u003Cbr>When a load balancer sits in front of this server, sticky sessions must be enabled otherwise the connection will not be routed back to the same server.\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>📈 Scaling Without Dropping Connections\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>❌ What Not to Do\u003C\u002Fh3>\u003Cul>\u003Cli>Kill pods immediately\u003C\u002Fli>\u003Cli>Perform rolling updates without considering active connections\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch3>✅ Correct Approach\u003C\u002Fh3>\u003Cul>\u003Cli>Mark pods as draining\u003C\u002Fli>\u003Cli>Stop accepting new connections\u003C\u002Fli>\u003Cli>Wait for clients to disconnect naturally\u003C\u002Fli>\u003Cli>Then terminate the pod\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🧠 Key Design Principle: Stateless WebSocket Server\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>To scale effectively:\u003C\u002Fp>\u003Cul>\u003Cli>Do not store critical state only in memory\u003C\u002Fli>\u003Cli>Use Redis or an external data store\u003C\u002Fli>\u003Cli>Allow clients to reconnect and recover session state\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🔁 Safe Reconnection Strategy\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>Production systems should support:\u003C\u002Fp>\u003Cul>\u003Cli>Client-side reconnect logic\u003C\u002Fli>\u003Cli>Session resumption\u003C\u002Fli>\u003Cli>Token-based authentication\u003C\u002Fli>\u003Cli>Idempotent message handling\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🧪 What to Test Before Production\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cul>\u003Cli>Scale pods while users are actively connected\u003C\u002Fli>\u003Cli>Mass reconnect scenarios\u003C\u002Fli>\u003Cli>Chaos testing (random pod termination)\u003C\u002Fli>\u003Cli>Message loss and duplication detection\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🚀 Challenge: Try It Yourself\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cul>\u003Cli>Enable sticky sessions on your load balancer\u003C\u002Fli>\u003Cli>Scale your WebSocket servers during real usage\u003C\u002Fli>\u003Cli>Observe whether users get disconnected\u003C\u002Fli>\u003Cli>Tune timeouts and draining behavior\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>If users don’t notice anything at all,\u003Cbr>your system has truly passed the production test ✅\u003C\u002Fp>\u003Cp>&nbsp;\u003C\u002Fp>\u003Chr>\u003Cp>&nbsp;\u003C\u002Fp>\u003Ch2>🔮 Coming Next EP.124: Advanced Security &amp; Authentication for WebSocket\u003C\u002Fh2>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cp>Next episode, we’ll dive into:\u003C\u002Fp>\u003Cul>\u003Cli>JWT and token strategies\u003C\u002Fli>\u003Cli>Preventing WebSocket hijacking\u003C\u002Fli>\u003Cli>Enterprise-grade secure handshakes\u003C\u002Fli>\u003C\u002Ful>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cdiv class=\"raw-html-embed\">\u003Cdiv style=\"margin:0 0 6px 0; font-weight:700;\">Read more:\u003C\u002Fdiv>\n\u003Cul style=\"list-style:none; padding:0; margin:0; line-height:1.4;\">\n  \u003Cli style=\"margin:0;\">\u003Ca href=\"\u002Fen\u002Fblogs\u002Fcategories\u002FGolang\" title=\"Golang The Series\">Golang The Series\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli style=\"margin:0;\">\u003Ca href=\"\u002Fen\u002Fblogs\u002Fcategories\u002FJS2GO\" title=\"JS2GO\">JS2GO\u003C\u002Fa>\u003C\u002Fli>\n  \u003Cli style=\"margin:0;\">\u003Ca href=\"\u002Fen\u002Fblogs\u002Fcategories\u002FTailwind%20CSS\" title=\"Tailwind CSS\">Tailwind CSS\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\u003C\u002Fdiv>\u003Cp>&nbsp;\u003C\u002Fp>\u003Cdiv class=\"raw-html-embed\">\n  \u003Cp style=\"margin:0 0 6px 0;\">\u003Cstrong>Follow Us:\u003C\u002Fstrong>\u003C\u002Fp>\n  \u003Cul style=\"list-style:none; padding:0; margin:0; line-height: 0.4;\">\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#1877F2\" aria-hidden=\"true\">\n        \u003Cpath d=\"M22 12.07C22 6.48 17.52 2 11.93 2S2 6.48 2 12.07c0 5 3.66 9.14 8.44 9.93v-7.02H7.9v-2.91h2.54V9.41c0-2.5 1.49-3.88 3.77-3.88 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56v1.87h2.78l-.44 2.91h-2.34V22c4.78-.79 8.44-4.93 8.44-9.93Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.facebook.com\u002Fsuperdev.academy.th\" target=\"_blank\" rel=\"nofollow noopener\" title=\"Follow Superdev Academy on Facebook\">Facebook: Superdev Academy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#FF0000\" aria-hidden=\"true\">\n        \u003Cpath d=\"M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8ZM9.75 15.02V8.98L15.5 12l-5.75 3.02Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.youtube.com\u002F@SuperdevAcademy\" target=\"_blank\" rel=\"nofollow noopener\" title=\"Watch on YouTube\">YouTube: Superdev Academy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#E4405F\" aria-hidden=\"true\">\n        \u003Cpath d=\"M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm10 2H7a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm-5 3.5A5.5 5.5 0 1 1 6.5 13 5.5 5.5 0 0 1 12 7.5Zm0 2A3.5 3.5 0 1 0 15.5 13 3.5 3.5 0 0 0 12 9.5Zm5.75-2.75a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.instagram.com\u002Fsuperdevacademy\u002F?hl=en target=\" _blank\"=\"\" rel=\"nofollow noopener\" title=\"See behind-the-scenes on Instagram\">Instagram: Superdev Academy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#000000\" aria-hidden=\"true\">\n        \u003Cpath d=\"M21 8.12a6.86 6.86 0 0 1-4.8-2V16a6 6 0 1 1-6-6 5.9 5.9 0 0 1 1.63.23V8.05a9.08 9.08 0 0 1-1.63-.15V4.5a6.86 6.86 0 0 0 4.8 2.05V6.5a6.86 6.86 0 0 0 4.8 1.62ZM9.2 12.5A3.5 3.5 0 1 0 12.7 16V9.94a6 6 0 0 1-1.63-.27v3.95a3.5 3.5 0 0 1-1.87 3.17 3.5 3.5 0 0 1-4.78-3.23 3.5 3.5 0 0 1 4.78-3.06Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.tiktok.com\u002F@superdevacademy\" target=\"_blank\" rel=\"nofollow noopener\" title=\"Watch short tips on TikTok\">TikTok: @superdevacademy\u003C\u002Fa>\n    \u003C\u002Fli>\n\n    \u003Cli style=\"display:flex; align-items:center; gap:6px; margin:0;\">\n      \n      \u003Csvg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"#111827\" aria-hidden=\"true\">\n        \u003Cpath d=\"M12 2a10 10 0 1 0 10 10A10.01 10.01 0 0 0 12 2Zm6.93 6h-3.26a15.6 15.6 0 0 0-1.39-3.62A8.03 8.03 0 0 1 18.93 8ZM12 4c.73.93 1.7 2.74 2.2 4H9.8C10.3 6.74 11.27 4.93 12 4ZM8.72 4.38A15.6 15.6 0 0 0 7.32 8H4.07a8.03 8.03 0 0 1 4.65-3.62ZM4.07 16h3.25a15.6 15.6 0 0 0 1.4 3.62A8.03 8.03 0 0 1 4.07 16ZM12 20c-.73-.93-1.7-2.74-2.2-4h4.4C13.7 17.26 12.73 19.07 12 20Zm3.28-.38A15.6 15.6 0 0 0 16.68 16h3.25a8.03 8.03 0 0 1-4.65 3.62ZM20 14h-3.54a13.8 13.8 0 0 1-.26-4H20a7.98 7.98 0 0 1 0 4Zm-12.2 0H4a7.98 7.98 0 0 1 0-4h3.54a13.8 13.8 0 0 1-.26 4Zm2 .5h4.4a17.8 17.8 0 0 1-.72-4.5c0-1.58.25-3.1.72-4.5H9.8a17.8 17.8 0 0 1 .72 4.5c0 1.58-.25 3.1-.72 4.5Z\">\u003C\u002Fpath>\n      \u003C\u002Fsvg>\n      \u003Ca href=\"https:\u002F\u002Fwww.superdevacademy.com\u002F\" target=\"_blank\" rel=\"noopener\" title=\"Visit the official website of Superdev Academy\">Official Website: Superdev Academy.com\u003C\u002Fa>\n    \u003C\u002Fli>\n  \u003C\u002Ful>\n\u003C\u002Fdiv>","cover_image_ep_2pqo0kl48b.tion-ReadyGuide.webp","https:\u002F\u002Ftwsme-r2.tumwebsme.com\u002Fsclblg987654321\u002Fek7zzajyalhrlh3\u002Fcover_image_ep_2pqo0kl48b.tion-ReadyGuide.webp","2026-03-04 08:44:49.230Z","",{"keywords":15,"locale":43,"school_blog":53},[16,23,28,33,38],{"collectionId":17,"collectionName":18,"created":19,"created_by":13,"id":20,"name":21,"updated":22,"updated_by":13},"sclkey987654321","school_keywords","2026-03-04 08:20:11.547Z","ey3puyme01a9bsw","Go","2026-04-10 16:07:25.893Z",{"collectionId":17,"collectionName":18,"created":24,"created_by":13,"id":25,"name":26,"updated":27,"updated_by":13},"2026-03-04 08:20:14.253Z","ah6lvy4x8qe08l5","Golang","2026-04-10 16:07:26.172Z",{"collectionId":17,"collectionName":18,"created":29,"created_by":13,"id":30,"name":31,"updated":32,"updated_by":13},"2026-03-04 08:44:47.893Z","1r53azecnj44o3t","Real-time","2026-04-10 16:12:50.006Z",{"collectionId":17,"collectionName":18,"created":34,"created_by":13,"id":35,"name":36,"updated":37,"updated_by":13},"2026-03-04 08:34:10.799Z","m3qoswhgnc4c38n","Kubernetes","2026-04-10 16:08:08.875Z",{"collectionId":17,"collectionName":18,"created":39,"created_by":13,"id":40,"name":41,"updated":42,"updated_by":13},"2026-03-04 08:34:00.920Z","ecac9y661or1xka","WebSocket","2026-04-10 16:08:05.227Z",{"code":44,"collectionId":45,"collectionName":46,"created":47,"flag":48,"id":49,"is_default":50,"label":51,"updated":52},"en","pbc_1989393366","locales","2026-01-22 11:00:02.726Z","twemoji:flag-united-states","qv9c1llfov2d88z",false,"English","2026-04-10 15:42:46.825Z",{"category":54,"collectionId":55,"collectionName":56,"expand":57,"id":71,"views":72},"wqxt7ag2gn7xcmk","pbc_2105096300","school_blogs",{"category":58},{"blogIds":59,"collectionId":60,"collectionName":61,"created":62,"created_by":13,"id":54,"image":63,"image_alt":13,"image_path":64,"label":65,"name":66,"priority":67,"publish_at":68,"scheduled_at":13,"status":69,"updated":70,"updated_by":13},[],"sclcatblg987654321","school_category_blogs","2026-03-04 08:33:53.210Z","59ty92ns80w_15oc1implw.png","https:\u002F\u002Ftwsme-r2.tumwebsme.com\u002Fsclcatblg987654321\u002Fwqxt7ag2gn7xcmk\u002F59ty92ns80w_15oc1implw.png",{"en":66,"th":66},"Golang The Series",1,"2026-03-16 04:39:38.440Z","published","2026-04-25 02:32:15.470Z","7swzy8k025b0417",215,"ek7zzajyalhrlh3",[20,25,30,35,40],"2025-12-30 09:45:58.631Z","A practical guide to designing WebSocket load balancing with sticky sessions, covering real-world scaling strategies on Kubernetes to prevent dropped connections and ensure production-grade reliability.","ep-123-load-balancing-sticky-sessions-websocket","2026-04-25 02:47:46.100Z",{"en":77}]