Tagged articles
Stateless
50 articles · Page 1 of 1
This article explains JWT structure, its stateless design, four scenarios where pure JWT fails (account theft, user ban, password change, token expiry), solutions using Redis blacklist or whitelist, double-token refresh, Redis reliability, when pure JWT fits, and how to articulate trade-offs in interviews.
AuthenticationBlacklistInterview
0 likes · 9 min read

The article explains how MCP 1.x's stateful handshake caused node‑crash failures, sticky sessions, and serverless incompatibility, and how the 2.0 release removes the handshake, makes each request self‑describing via _meta and HTTP headers, introduces MRTR for multi‑round interactions, and provides a Java/TypeScript code walkthrough demonstrating the new stateless behavior.
JavaKubernetesMCP
0 likes · 8 min read

The article analyzes how local state—such as in‑memory sessions, caches, files, and long‑lived connections—breaks elastic scaling, outlines four concrete paths to externalize that state (Redis, JWT, object storage, and gateway separation), and explains the resulting scalability benefits, trade‑offs, and performance considerations.
KubernetesStatelessmicroservices
0 likes · 20 min read

The MCP protocol’s fifth major version switches from a stateful bidirectional model to a stateless request/response design, adding new headers, auth hardening, deprecating legacy features, updating SDKs, and gaining broad cloud and tool support, while outlining migration steps for production users.
MCPSDKStateless
0 likes · 5 min read

The article explains JWT fundamentals, the drawbacks of pure stateless tokens, why adding a Redis blacklist or whitelist can solve revocation issues, compares the approaches, and provides a structured way to discuss these choices in a technical interview.
AuthenticationBlacklistInterview
0 likes · 9 min read


21CTOMay 15, 2026 · Cloud Native
The article explains how the longstanding web architecture that separates stateful databases from stateless compute is being challenged by large language models and AI agents, which introduce long‑running, stateful, bidirectional workflows, exposing the need for new routing primitives such as persistent pub/sub channels rather than traditional HTTP‑load‑balancer setups.
LLMRoutingStateless
0 likes · 8 min read

Although JWT is marketed as a stateless, database‑free authentication method, real‑world applications often store token identifiers in Redis to handle logout, password changes, and token renewal, which reintroduces state and a database lookup.
AuthenticationJWTRefresh Token
0 likes · 6 min read

This article explains why traditional session authentication is unsuitable for distributed micro‑service systems, introduces JWT as a stateless alternative, and provides a step‑by‑step SpringBoot implementation—including double‑token handling, Redis blacklist logout, interceptor configuration, and end‑to‑end testing—complete with code snippets and best‑practice recommendations.
AuthenticationJWTStateless
0 likes · 30 min read

In a recent interview question about placing authentication tokens in Redis, experts debate the trade‑offs between pure JWT statelessness and Redis‑backed session control, covering security risks, performance, token revocation, sliding expiration, and practical implementation guidelines.
JWTStatelessredis
0 likes · 13 min read

Although JWT is marketed as a decentralized, stateless solution, the majority of real‑world applications still rely on a Token + Redis approach because it simplifies logout handling, avoids Redis outages, and aligns better with practical security requirements.
AuthenticationBackendJWT
0 likes · 7 min read

JSON Web Tokens (JWT) provide a compact, signed, self-contained way to authenticate API requests without server-side session storage, offering scalability and speed, while introducing trade-offs such as revocation challenges, token size, and exposure of unencrypted payloads, making them ideal for distributed systems but unsuitable for scenarios requiring immediate logout or sensitive data.
API SecurityAuthenticationBest Practices
0 likes · 10 min read

This article walks through a production‑grade OAuth2 authentication center built with Go and Gin, covering a three‑layer architecture, stateless JWT handling, key‑rotation, short‑hash token revocation, high‑availability design, and practical open‑source references.
AuthenticationGoJWT
0 likes · 11 min read

This article critically examines JWT authentication, comparing it with Session and traditional token approaches, detailing its stateless advantage, CSRF implications, token revocation challenges, refresh strategies, size overhead, and concrete scenarios where JWT fits or fails.
AuthenticationBackend SecurityCSRF
0 likes · 15 min read

The article explains how Claude Code’s decision to use real‑time grep instead of code indexing reflects a 50‑year‑old Unix philosophy, showing that stateless design improves composability, scalability, predictability, and privacy across AI assistants, serverless platforms, and distributed systems.
AI assistantsStatelessUnix Philosophy
0 likes · 19 min read

This article explains how JWT provides stateless authentication while Session adds an extra security layer and lifecycle management, and demonstrates their combined use with Java code to achieve both scalability and fine‑grained control over user sessions.
AuthenticationJWTJava
0 likes · 8 min read

This article explains core microservice design principles—including the AKF scalability cube with its Y (functional), X (horizontal scaling), and Z (data partition) axes, front‑end/back‑end separation, stateless service architecture, and RESTful communication—providing practical guidance for building scalable, maintainable systems.
RESTfulStatelessfrontend backend separation
0 likes · 9 min read

This article explains microservice architecture fundamentals, covering the AKF scalability cube split principle, front‑end/back‑end separation, stateless service design, and RESTful communication, illustrating Y, X, Z axes for functionality, horizontal scaling, and data partitioning with diagrams and practical examples.
RESTfulStateless
0 likes · 9 min read

JSON Web Token (JWT) is a compact, self‑contained, stateless token that encodes header, payload, and signature in Base64URL, enabling secure, signature‑verified authentication without server‑side session storage, simplifying scaling, supporting cross‑domain use, while offering advantages like lightweight extensibility and drawbacks such as revocation difficulty and secret‑key reliance.
AuthenticationJSONJWT
0 likes · 16 min read

The article explains why Spring StateMachine is heavyweight and thread‑unsafe for high‑concurrency order management, introduces the open‑source COLA stateless state machine as a simpler, lock‑free solution, and provides detailed design principles, core concepts, and extensive Java code examples.
COLAJavaSpring
0 likes · 13 min read

This article critically examines the common misconceptions about JWT advantages, explains the security and practical drawbacks of using JWT for session management, and outlines the scenarios where JWT is appropriate, such as short‑lived, one‑time authorization tokens.
AuthenticationJWTStateless
0 likes · 14 min read

This article traces the evolution from simple web page browsing to modern token‑based authentication, explaining the scalability and security problems of server‑side sessions and showing how signed, stateless tokens using HMAC‑SHA256 eliminate those issues while supporting horizontal scaling and cross‑platform access.
HMACStatelessWeb Security
0 likes · 13 min read

This article explains the concept of transient clusters and the Stateless architecture in Volcano Engine's EMR platform, compares Stateless with traditional Stateful approaches, outlines its evolution, core components, elastic scaling features, and the business value of cost‑effective, on‑demand big‑data processing.
EMRStatelessTransient Cluster
0 likes · 17 min read

This article explains why HTTP is a stateless protocol, introduces authentication and authorization concepts, and compares cookies, sessions, and token-based mechanisms such as JWT, detailing their characteristics, workflows, and security considerations for modern web applications.
HTTPJWTSession
0 likes · 14 min read

This guide explains the core principles of resource‑oriented API design, including naming resources, using standard and custom methods, modeling hierarchical collections, and adhering to stateless protocols, while drawing on REST concepts and Google’s API design guidelines.
API DesignBackendREST
0 likes · 6 min read

This article critiques the over‑idealization of object‑oriented programming, explaining how inheritance can create tight coupling and hidden bugs, why encapsulation may leak state, the limits of polymorphism, and how modern stateless service architectures favor composition and functional approaches.
CompositionEncapsulationInheritance
0 likes · 13 min read

This article presents a comprehensive set of practical microservice design guidelines—including stateless services, front‑back separation, domain‑driven business abstraction, use‑case and entity convergence, high cohesion, low coupling, vertical and horizontal slicing, and team self‑organization—to help architects build scalable, maintainable backend systems.
Statelessbackend architecturelow coupling
0 likes · 9 min read

This article explains why HTTP is a stateless protocol and how authentication and authorization are achieved using cookies, sessions, and token-based mechanisms such as JWT, detailing their characteristics, workflows, and security considerations for modern web applications.
HTTPJWTSession
0 likes · 13 min read

This article uses ten vivid real‑life analogies to clarify essential interview topics such as HTTP statelessness, serialization, rate limiting, TCP handshakes, thread‑pool mechanics, flow‑control windows, BIO/NIO/AIO differences, deadlocks, and the select versus epoll model, helping readers grasp complex computing concepts through familiar scenarios.
HTTPIO MultiplexingStateless
0 likes · 10 min read

This article explains practical principles for designing scalable, stateless backend systems—choosing the right tools, using multiple servers, caching, rate limiting, dividing responsibilities, handling large data volumes, and providing concrete example architectures for projects of any size.
Statelessdatabase designscalability
0 likes · 14 min read

The article outlines practical principles for building scalable, stateless backend architectures—choosing the right tools, using multiple servers, applying caching and rate limiting, delegating responsibilities to databases, handling large data volumes, and presenting example configurations from small to massive deployments.
CachingStatelessdatabase
0 likes · 11 min read

The article explains that migrating legacy monolithic systems to the cloud is far from a simple lift‑and‑shift, highlighting the pitfalls of inflexible on‑premise infrastructure, the importance of horizontal scaling, stateless application design, micro‑service decomposition, and asynchronous communication to fully leverage cloud elasticity and cost efficiency.
Horizontal ScalingStatelessarchitecture
0 likes · 11 min read

This article explores what “state” means in the HTTP protocol, clarifies the concepts of statelessness and connection‑lessness, demonstrates their impact through a simulated shopping‑cart scenario, and explains how cookies and sessions introduce state to enable practical web interactions.
HTTPSessionStateless
0 likes · 14 min read

This article traces the evolution from early stateless web browsing to modern token‑based authentication, explaining how session management challenges led to centralized stores, their drawbacks, and how signed tokens using HMAC‑SHA256 provide a scalable, secure, and truly stateless alternative.
AuthenticationHMACSession
0 likes · 15 min read

Although HTTP is described as a stateless, connectionless protocol, this article dissects what “state” truly refers to, explains why the protocol lacks memory of client interactions, and demonstrates how mechanisms like cookies, sessions, and server‑side caching introduce stateful behavior to enable features such as login persistence and shopping carts.
HTTPSessionStateless
0 likes · 16 min read

The article traces the history of web session handling from simple stateless requests through the challenges of scaling session IDs, explains why token‑based authentication (e.g., JWT) offers a stateless, scalable, and more secure alternative, and outlines its core principles and advantages.
SessionStatelessWeb
0 likes · 12 min read

This article explains how to build a high‑availability service layer for large‑scale web systems by vertically splitting business domains, adopting stateless design, configuring timeouts, using asynchronous messaging, ensuring idempotent operations, and applying service degradation techniques to maintain stability during traffic spikes.
BackendIdempotenceService Layer
0 likes · 11 min read

The article traces the history of web session handling, explains the scalability and security challenges of server‑side sessions, and introduces stateless token‑based authentication using signed HMAC‑SHA256 tokens as a modern solution for scalable, secure web applications.
HMACSessionStateless
0 likes · 14 min read

This article explores what “state” means in the HTTP protocol, clarifying the concepts of statelessness, the role of cookies and sessions, and how they address the limitations of pure HTTP through practical examples and security considerations.
HTTPSessionStateless
0 likes · 14 min read

The article traces the history of web session handling from simple document browsing to the challenges of storing session IDs in clustered servers, and explains how token‑based authentication using signed tokens like HMAC‑SHA256 provides a stateless, scalable, and more secure alternative for modern web and mobile applications.
SessionStatelesstoken
0 likes · 12 min read

The article traces the history of web session handling, explains the drawbacks of server‑side session storage, introduces token‑based authentication with HMAC‑signed JWTs, and highlights the security, scalability and cross‑domain benefits of stateless token mechanisms over traditional cookies and sessions.
SessionStatelesscookies
0 likes · 13 min read

This article explores the true meaning of HTTP’s stateless nature, clarifies common misconceptions, examines how cookies and sessions add state, and demonstrates through a simulated shopping scenario why additional mechanisms are needed to maintain user context across requests.
HTTPSessionStateless
0 likes · 15 min read

This article explains the principles, structure, and practical usage of JSON Web Tokens (JWT), highlighting how they replace server‑side sessions with signed, Base64URL‑encoded tokens to achieve stateless, scalable authentication across domains while outlining security considerations and best practices.
JWTStatelessWeb
0 likes · 8 min read

This article explains how traditional session‑cookie authentication creates scalability, security, and deployment challenges in front‑end/back‑end separated web applications, and how JSON Web Tokens (JWT) provide a compact, self‑contained, stateless solution while also outlining their advantages and limitations.
JWTSessionStateless
0 likes · 7 min read

This article explains the concept of state in software, contrasts stateful and stateless designs, and shows how moving state handling to the client or shared storage improves scalability, fault tolerance, and maintainability in distributed backend systems.
StatefulStatelessbackend architecture
0 likes · 8 min read

REST, an architectural style defined by Roy Fielding, structures web APIs around resources identified by URIs, exchanged as representations, and manipulated through stateless, uniform HTTP methods that enforce constraints such as client‑server separation, caching, layered systems, and optional code‑on‑demand to ensure scalable, predictable interactions.
APIHTTPREST
0 likes · 13 min read

This article explains how to build a highly available service layer by vertically splitting business domains, adopting stateless architecture, configuring timeout policies, using asynchronous calls with message queues, ensuring idempotent operations, and applying service degradation techniques to handle traffic spikes and failures.
BackendIdempotencyService Layer
0 likes · 13 min read

This article explains HTTP's stateless nature, how cookies and server‑side sessions try to overcome it, the challenges of session sharing in clustered environments, and why JSON Web Tokens (JWT) provide a lightweight, secure, and scalable alternative for modern authentication.
AuthenticationJWTSession
0 likes · 14 min read

This article explains how Taobao achieves horizontal scalability by adopting stateless session handling, efficient client‑side cookie storage, multi‑level caching, service splitting with HSF, database sharding via TDDL, asynchronous messaging, unstructured data storage, and comprehensive monitoring and configuration management.
CachingStatelessmonitoring
0 likes · 18 min read


ITPUBNov 9, 2015 · Fundamentals
This article explains how HTTP relies on TCP/IP, clarifies the stateless nature of HTTP, compares short and long connections in HTTP/1.0 and HTTP/1.1, and discusses the advantages, disadvantages, and appropriate use cases for each connection type.
HTTPLong ConnectionNetworking
0 likes · 9 min read

The article explains how to achieve horizontal scalability by making applications stateless, using client‑side cookies for session data, applying various caching layers, splitting services and databases with sharding, adopting asynchronous messaging, storing unstructured data, and integrating monitoring with alerting.
CachingShardingStateless
0 likes · 9 min read
