# stateless

A computing property in which a data representation or process is self-contained and does not depend on external data storage.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## HqcLethe: Streaming HQC Encapsulation for Tiny Stateless Servers

DevFeed: [HqcLethe: Streaming HQC Encapsulation for Tiny Stateless Servers](<https://devfeed.tech/articles/hqclethe-streaming-hqc-encapsulation-for-tiny-stateless-servers-103368.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.36808>)

Author: Wind Wong, Klaus v. Gleissenthall

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Post-quantum cryptography](<https://devfeed.tech/topics/post-quantum-cryptography.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [stateless](<https://devfeed.tech/topics/stateless.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [client](<https://devfeed.tech/tags/client.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [handshake](<https://devfeed.tech/tags/handshake.md>), [hedge](<https://devfeed.tech/tags/hedge.md>), [independent](<https://devfeed.tech/tags/independent.md>), [lattice](<https://devfeed.tech/tags/lattice.md>), [masks](<https://devfeed.tech/tags/masks.md>), [memory](<https://devfeed.tech/tags/memory.md>), [nist](<https://devfeed.tech/tags/nist.md>), [packet](<https://devfeed.tech/tags/packet.md>), [packets](<https://devfeed.tech/tags/packets.md>), [pi](<https://devfeed.tech/tags/pi.md>), [post-quantum](<https://devfeed.tech/tags/post-quantum.md>), [puzzles](<https://devfeed.tech/tags/puzzles.md>), [raspberry-pi](<https://devfeed.tech/tags/raspberry-pi.md>), [servers](<https://devfeed.tech/tags/servers.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [streaming](<https://devfeed.tech/tags/streaming.md>)

### AI overview

HqcLethe streams an HQC encapsulation in packet-sized pieces, enabling a stateless post-quantum key exchange without buffering multi-packet handshakes. It uses the Chinese remainder theorem to split cyclic polynomial multiplication into per-packet remainders and masks them so they reveal no more than an ordinary HQC ciphertext; the authors report proving this in Rocq with SSProve and verifying session secrecy, server authentication, and forward secrecy in ProVerif. Client puzzles bound CPU exhaustion, while each worker used a fixed 1.2-1.6 MiB on a Raspberry Pi 3B+. At category 5, the abstract reports 27 times fewer bytes and 9 times less server CPU than McTiny.

### Source excerpt

arXiv:2610.36808v1 Announce Type: new Abstract: Stateless post-quantum authenticated key exchanges such as post-quantum WireGuard hedge against unexpected cryptanalytic advances by combining a lattice KEM with code-based Classic McEliece. However, recent attacks have led Germany's BSI to advise against McEliece, which leaves these protocols with lattices alone. HQC, the code-based KEM that NIST selected, could restore diversity, but its keys do not fit in a single packet, so a server would have to buffer multi-packet handshakes. This would leave an attack surface for memory exhaustion, which is what WireGuard's stateless handshake was designed to avoid in the first place. McTiny demonstrated that stateless key encapsulation for Classic McEliece is possible by streaming key blocks one-at-a-time. However, HQC's encapsulation does not split as easily into individual packets, as cyclic polynomial multiplication, unlike matrix-vector multiplication, is inherently non-local. We present HqcLethe, a stateless key exchange that streams an HQC encapsulation in packet-sized pieces. It uses the Chinese remainder theorem to split the polynomial multiplication into independent remainders, one per packet, and masks them so that they reveal no more than an ordinary HQC ciphertext, which we prove in Rocq with SSProve; we also verify session secrecy, server authentication and forward secrecy in ProVerif. Client puzzles bound CPU exhaustion, and HqcLethe removes memory exhaustion: on a Raspberry Pi 3B+, each worker runs in a fixed 1.2-1.6 MiB. At category 5 it sends 27x fewer bytes and uses 9.0x less server CPU than McTiny, the earlier stateless code-based design.

## Stateful vs. Stateless: Managing Context in AI Agent Builds

DevFeed: [Stateful vs. Stateless: Managing Context in AI Agent Builds](<https://devfeed.tech/articles/stateful-vs-stateless-managing-context-in-ai-agent-builds-96010.md>)

Original publisher: [Read original article](<https://blog.n8n.io/stateful-vs-stateless/>)

Author: n8n team

Published: 2026-10-22T15:44:39Z

Content type: article

Language: en

Sources: [n8n](<https://devfeed.tech/sources/n8n-blog.md>)

Topics: [Stateful](<https://devfeed.tech/topics/stateful.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [context](<https://devfeed.tech/topics/context.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agent-state](<https://devfeed.tech/tags/agent-state.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-workflows](<https://devfeed.tech/tags/agentic-workflows.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agent-memory](<https://devfeed.tech/tags/ai-agent-memory.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-native](<https://devfeed.tech/tags/ai-native.md>), [context](<https://devfeed.tech/tags/context.md>), [design](<https://devfeed.tech/tags/design.md>), [guide](<https://devfeed.tech/tags/guide.md>), [memory](<https://devfeed.tech/tags/memory.md>), [scale](<https://devfeed.tech/tags/scale.md>), [state](<https://devfeed.tech/tags/state.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [systems](<https://devfeed.tech/tags/systems.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

Stateless execution makes requests easier to distribute and recover, while stateful behavior preserves continuity but requires state to be stored and available. LLMs do not retain prior requests automatically; agents can retrieve stored context and add it to later inputs. In n8n, executions are independent by default. Simple Memory buffers recent session messages but is incompatible with queue mode; Postgres Chat Memory persists conversations by session ID, and Redis Chat Memory can share session state across workers. Chat Memory Manager allows workflows to load, insert, and clear messages. For data that must persist across executions, n8n data tables or workflow static data and external Postgres or Redis stores are options. The text recommends keeping execution stateless where possible and adding session memory or durable shared storage where continuity requires it.

### Source excerpt

Stateful versus stateless design changes how systems scale and remember context. Learn when to use memory nodes, state stores, or both.

## The Plane, Not the Fleet

DevFeed: [The Plane, Not the Fleet](<https://devfeed.tech/articles/the-plane-not-the-fleet-84817.md>)

Original publisher: [Read original article](<https://www.starburst.io/blog/starburst-nebula-ai-agent-the-plane-not-the-fleet>)

Published: 2026-10-08T16:37:43Z

Content type: article

Language: en

Sources: [Starburst Data](<https://devfeed.tech/sources/starburst-data.md>)

Topics: [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [control-plane](<https://devfeed.tech/topics/control-plane.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [container images](<https://devfeed.tech/topics/container-images.md>), [virtual machines](<https://devfeed.tech/topics/virtual-machines.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>), [stateless](<https://devfeed.tech/topics/stateless.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-infra](<https://devfeed.tech/tags/ai-infra.md>), [atlassian](<https://devfeed.tech/tags/atlassian.md>), [audit](<https://devfeed.tech/tags/audit.md>), [audit-trail](<https://devfeed.tech/tags/audit-trail.md>), [authoring](<https://devfeed.tech/tags/authoring.md>), [bedrock](<https://devfeed.tech/tags/bedrock.md>), [bedrock-agentcore](<https://devfeed.tech/tags/bedrock-agentcore.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [builds](<https://devfeed.tech/tags/builds.md>), [can](<https://devfeed.tech/tags/can.md>), [ci](<https://devfeed.tech/tags/ci.md>), [engineer](<https://devfeed.tech/tags/engineer.md>), [failed](<https://devfeed.tech/tags/failed.md>), [fleet](<https://devfeed.tech/tags/fleet.md>), [on-call](<https://devfeed.tech/tags/on-call.md>)

### AI overview

Nebula's central "agent plane" handles shared infrastructure while Starburst teams own agent behavior, giving 82 agents a common deployment, identity, access-control and audit path. Agents declare reviewed tool grants; credentials stay in managed gateways, user identity is bound by the platform, and outside content is treated as data. The platform provides runtime selection, Slack routing, per-agent state and storage, scoped retrieval, scheduling and telemetry. The account also describes unresolved gaps: downstream services still see Nebula's identity, model-call paths are not yet centralized, cost figures are estimates not checked against invoices, and portfolio-wide health, deployment-blocking evaluations and drift detection remain unsolved.

### Source excerpt

Imagine you are an engineer on call, looking at a failed CI run at 2am ...

## AI Agents Don't Need More Memory. They Need Better State Management.

DevFeed: [AI Agents Don't Need More Memory. They Need Better State Management.](<https://devfeed.tech/articles/ai-agents-don-t-need-more-memory-they-need-better-state-management-58705.md>)

Original publisher: [Read original article](<https://hackernoon.com/ai-agents-dont-need-more-memory-they-need-better-state-management?source=rss>)

Author: Atul Kumar

Published: 2026-09-23T07:00:09Z

Content type: opinion

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [state-management](<https://devfeed.tech/topics/state-management.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Stateful](<https://devfeed.tech/topics/stateful.md>), [stateless](<https://devfeed.tech/topics/stateless.md>)

Tags: [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent-state-machine](<https://devfeed.tech/tags/ai-agent-state-machine.md>), [ai-agent-state-management](<https://devfeed.tech/tags/ai-agent-state-management.md>), [ai-agent-workflow-checkpoints](<https://devfeed.tech/tags/ai-agent-workflow-checkpoints.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [idempotent-ai-agent-systems](<https://devfeed.tech/tags/idempotent-ai-agent-systems.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [state-management](<https://devfeed.tech/tags/state-management.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

The article argues that production AI agents need better state management rather than simply more memory. It distinguishes remembered information from the current truth held by external systems and discusses stateful runtimes, recovery, and workflow state.

### Source excerpt

AI agents don't need more memory. They need better state management to handle current truth, concurrency, workflows, recovery, and real-world actions.

## What the Heck is Agent Harness?

DevFeed: [What the Heck is Agent Harness?](<https://devfeed.tech/articles/what-the-heck-is-agent-harness-58163.md>)

Original publisher: [Read original article](<https://merinova.substack.com/p/what-the-heck-is-agent-harness>)

Author: Meri Nova

Published: 2026-09-22T18:55:42Z

Content type: tutorial

Language: en

Sources: [Meri Nova](<https://devfeed.tech/sources/meri-nova.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [codex](<https://devfeed.tech/topics/codex.md>), [systems](<https://devfeed.tech/topics/systems.md>), [stateless](<https://devfeed.tech/topics/stateless.md>)

Tags: [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [codex](<https://devfeed.tech/tags/codex.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

### AI overview

An agent harness is the runtime and control layer around a language model that executes tool calls, preserves context, and supports multi-step task completion. The article explains its responsibilities and how harness choice affects coding-agent performance.

### Source excerpt

8 core components explained through Pi, an open-source coding agent harness

## Spotlight on SIG Apps

DevFeed: [Spotlight on SIG Apps](<https://devfeed.tech/articles/spotlight-on-sig-apps-58222.md>)

Original publisher: [Read original article](<https://kubernetes.io/blog/2026/09/22/sig-apps-spotlight/>)

Author: Natalie Fisher

Published: 2026-09-22T18:00:00Z

Content type: article

Language: en

Sources: [Kubernetes Blog](<https://devfeed.tech/sources/kubernetes-blog.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Stateful](<https://devfeed.tech/topics/stateful.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Tech Lead](<https://devfeed.tech/topics/tech-lead.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [deployment](<https://devfeed.tech/tags/deployment.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [led](<https://devfeed.tech/tags/led.md>), [resilience](<https://devfeed.tech/tags/resilience.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [software-engineer](<https://devfeed.tech/tags/software-engineer.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [tech-lead](<https://devfeed.tech/tags/tech-lead.md>)

### AI overview

This spotlight examines SIG Apps and its role in Kubernetes workload management. Its chairs discuss application lifecycle management, workload resilience, reliability during upgrades and failures, and support for stateless, stateful, batch, and AI workloads.

### Source excerpt

As Kubernetes adoption has grown, the conversation has shifted beyond running containers to managing increasingly complex application lifecycles. Modern platforms support stateless web services, stateful databases, batch processing, AI workloads, and platform services. At the same time, they must remain reliable during upgrades, scaling events, and infrastructure failures. Every Kubernetes user relies on SIG Apps, whether they realize it or not. Deployments, StatefulSets, DaemonSets, Jobs, and CronJobs form the foundation of how applications are deployed, updated, scaled, and operated across the Kubernetes ecosystem. SIG Apps is focused on improving workload resilience, refining application lifecycle management, and addressing the operational challenges that emerge when applications encounter node failures, rollout disruptions, and increasingly complex infrastructure environments. In this spotlight, we sit down with two of the three SIG Apps chairs Janet Kuo and Maciej Szulik to discuss the evolution of Kubernetes workload management, the challenges of balancing application reliability with operational simplicity, and the future of application lifecycle management within one of Kubernetes' most influential Special Interest Groups. Introducing SIG Apps Natalie Fisher: Can you introduce yourself, your role, and how you got involved in SIG Apps? Janet Kuo: I'm a Senior Staff Software Engineer at Google and have been a Kubernetes maintainer since 2015, joining the community just as we were racing toward the 1.0 launch. In those early days, my focus was on building the core Workloads API, specifically developing controllers like Deployment, ReplicaSet, StatefulSet, and DaemonSet, defining their rollout behaviors, and bringing them from initial designs to GA. That hands-on work was my entry point into SIG Apps. Since then, I've stayed deeply involved in both the technical and community sides of Kubernetes. I have led SIG Apps as Co-Chair and Tech Lead since 2019. Currentl

## MCP goes stateless, and Quarkus already implements it

DevFeed: [MCP goes stateless, and Quarkus already implements it](<https://devfeed.tech/articles/mcp-goes-stateless-and-quarkus-already-implements-it-58518.md>)

Original publisher: [Read original article](<https://quarkus.io/blog/mcp-stateless/>)

Author: Kevin Dubois (https://twitter.com/kevindubois)

Published: 2026-09-21T00:00:00Z

Content type: article

Language: en

Sources: [Quarkus - Supersonic Subatomic Java](<https://devfeed.tech/sources/quarkus-supersonic-subatomic-java.md>)

Topics: [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Remote Procedure Call (RPC)](<https://devfeed.tech/topics/rpc.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [JSON](<https://devfeed.tech/topics/json.md>), [sessions](<https://devfeed.tech/topics/sessions.md>), [versioning](<https://devfeed.tech/topics/versioning.md>), [client](<https://devfeed.tech/topics/client.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [http](<https://devfeed.tech/tags/http.md>), [json-rpc](<https://devfeed.tech/tags/json-rpc.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [rpc](<https://devfeed.tech/tags/rpc.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [versioning](<https://devfeed.tech/tags/versioning.md>)

### AI overview

This article explains how the July 28, 2026 revision of the Model Context Protocol removes stateful session handshakes in favor of self-contained JSON-RPC requests. It describes how Quarkus MCP Server 2.0.x supports the change, including metadata, version negotiation, capability discovery, and multi-round-trip requests.

### Source excerpt

If you've been running Model Context Protocol (MCP) servers, you might have bumped into the limitations of stateful sessions. Until recently, a client had to perform an initialize handshake, get a session ID, and stick to that specific server instance for the duration of the connection. For a single-instance setup, this is fine. But the moment you move to a distributed environment, you're forced into using sticky sessions or a shared session store just to keep the connection alive. It's an unnecessary hurdle for what should essentially be a set of HTTP calls. The 2026-07-28 revision of the MCP specification finally solves this by going stateless, and the 2.0.x line of the Quarkus MCP Server already supports these changes out of the box. Here is a look at how the protocol has evolved in this latest version and how to use it in Quarkus. Moving from sessions to self-contained requests The core shift in the July 28 revision is the removal of the stateful session handshake. Instead of negotiating a session once, every request is now a self-contained JSON-RPC message. Everything the server needs -- protocol version, client identity, and capabilities -- is now packed into a _meta field within the request. If you're using Streamable HTTP, this metadata is mirrored in headers (MCP-Protocol-Version, Mcp-Method, and Mcp-Name) so the server can route or reject the request before it even parses the body. Since there is no session state to track, any server instance can handle any request. An MCP server is now as easy to scale horizontally as any other stateless REST API. What about versioning? Negotiation has also moved to the request level. If a server doesn't recognize the version requested in a specific call, it responds with an UnsupportedProtocolVersionError and lists its supported versions. For clients that want to be proactive, there is now a server/discover RPC to check capabilities upfront. Multi Round-Trip Requests Going stateless creates one obvious problem though: how

## Scaling AI Agents: Key Takeaways from the Model Context Protocol (MCP) Specification Release

DevFeed: [Scaling AI Agents: Key Takeaways from the Model Context Protocol (MCP) Specification Release](<https://devfeed.tech/articles/scaling-ai-agents-key-takeaways-from-the-model-context-protocol-mcp-specification-release-51155.md>)

Original publisher: [Read original article](<https://www.gravitee.io/blog/scaling-ai-agents-key-takeaways-from-the-model-context-protocol-mcp-specification-release>)

Author: Kay James

Published: 2026-08-13T06:00:12Z

Content type: article

Language: en

Sources: [Gravitee](<https://devfeed.tech/sources/blog-2.md>)

Topics: [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [session affinity](<https://devfeed.tech/topics/session-affinity.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Redis](<https://devfeed.tech/topics/redis.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [apis](<https://devfeed.tech/tags/apis.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [redis](<https://devfeed.tech/tags/redis.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [scaling-ai-agents-key-takeaways-from-the-model-context-protocol-mcp-specification-release](<https://devfeed.tech/tags/scaling-ai-agents-key-takeaways-from-the-model-context-protocol-mcp-specification-release.md>)

### AI overview

This article explains the MCP 2026-07-28 specification update, which moves MCP toward a fully remote, stateless design for web-scale AI-agent environments. It highlights multi-round-trip requests, issuer authorization metadata, and the deprecation of Roots, Sampling, and Logging. It also describes how removing server-maintained sessions can simplify load balancing and cluster scaling.

### Source excerpt

The AAIF (Agentic AI Foundation) recently hosted gatherings in several cities, including New York, San Francisco, and London, for the release of the MCP 2026-07-28 specification update.

## Serverless Database Persistence for AI Applications: Memory, Files, Operational State, and Retrieval

DevFeed: [Serverless Database Persistence for AI Applications: Memory, Files, Operational State, and Retrieval](<https://devfeed.tech/articles/the-complete-agent-state-stack-memory-files-and-serverless-database-persistence-for-ai-apps-43554.md>)

Original publisher: [Read original article](<https://www.pingcap.com/blog/serverless-database/>)

Author: Fan Wang

Published: 2026-08-07T13:00:00Z

Content type: tutorial

Language: en

Sources: [TiDB](<https://devfeed.tech/sources/tidb.md>)

Topics: [Serverless](<https://devfeed.tech/topics/serverless.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Database](<https://devfeed.tech/topics/database.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [event driven](<https://devfeed.tech/topics/event-driven.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agent-state](<https://devfeed.tech/tags/agent-state.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-apps](<https://devfeed.tech/tags/ai-apps.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [data](<https://devfeed.tech/tags/data.md>), [database-architecture](<https://devfeed.tech/tags/database-architecture.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [operational](<https://devfeed.tech/tags/operational.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [serverless-database](<https://devfeed.tech/tags/serverless-database.md>), [state](<https://devfeed.tech/tags/state.md>), [tidb](<https://devfeed.tech/tags/tidb.md>), [what-is](<https://devfeed.tech/tags/what-is.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

This guide explains how serverless databases provide managed, usage-based infrastructure that can scale to zero and support bursty AI application workloads. It examines persistence across agent memory, files, operational state, and retrieval data, and discusses evaluating connection behavior, cold starts, and system boundaries.

### Source excerpt

A serverless database is a fully-managed database that automatically scales compute and storage with demand, requires no server provisioning or capacity planning, and bills only for actual usage, including scaling to zero when idle. The provider handles infrastructure; you handle data. That definition covers the category. It doesn't cover the problem most teams actually face [...] The post The Complete Agent State Stack: Memory, Files, and Serverless Database Persistence for AI Apps appeared first on TiDB.

## Aurora DSQL: Scalable, Multi-Region OLTP

DevFeed: [Aurora DSQL: Scalable, Multi-Region OLTP](<https://devfeed.tech/articles/aurora-dsql-scalable-multi-region-oltp-41849.md>)

Original publisher: [Read original article](<https://muratbuffalo.blogspot.com/2026/07/aurora-dsql-scalable-multi-region-oltp.html>)

Author: Murat (noreply@blogger.com)

Published: 2026-07-24T00:15:59Z

Content type: opinion

Language: en

Sources: [Metadata](<https://devfeed.tech/sources/metadata.md>)

Topics: [DSQL](<https://devfeed.tech/topics/dsql.md>), [Database](<https://devfeed.tech/topics/database.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [stateless](<https://devfeed.tech/topics/stateless.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [aws](<https://devfeed.tech/tags/aws.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrency-control](<https://devfeed.tech/tags/concurrency-control.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [distributed-transactions](<https://devfeed.tech/tags/distributed-transactions.md>), [distsql](<https://devfeed.tech/tags/distsql.md>), [dsql](<https://devfeed.tech/tags/dsql.md>), [mvcc](<https://devfeed.tech/tags/mvcc.md>), [paper-review](<https://devfeed.tech/tags/paper-review.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [replication](<https://devfeed.tech/tags/replication.md>), [routing](<https://devfeed.tech/tags/routing.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

An analysis of Aurora DSQL's architecture, which decomposes a traditional monolithic database into independently scalable services for query processing, storage, conflict resolution, replication, and routing. It also examines synchronized clocks, MVCC, snapshot isolation, and optimistic concurrency control.

### Source excerpt

The Aurora DSQL paper finally dropped. Reading it yesterday was an interesting experience, because I spent two years (2022-23) working with the AWS team that designed and built Aurora DSQL. Since I have been very familiar with the architecture, the paper's overview description of the system didn't excite me much. And if I am being honest, reading the paper also felt a bit dry, most likely because I am not doing the usual extra thinking to explore/understand the ideas in the paper. But taking a step back today, and leaving my subjective experience aside, I will try to elaborate on how the DSQL architecture is actually built on a set of aggressive and opinionated engineering bets. If I had to explain this architecture in a single sentence (just as I used to do for other teams at AWS) it would be this: We took a traditional monolithic database and blew out every single component into an independent, horizontally scalable service. Exploding the Monolith DSQL divides the database into the following specialized services: Query Processors (QP): Stateless virtual machines that run a custom PostgreSQL engine to parse queries and buffer writes locally. Storage Nodes: Sharded nodes that hold the data and use multiversion concurrency control (MVCC) to serve historical data to QP instantly. Adjudicators: The conflict-resolution layer that checks if a transaction handed of to them by QP is safe to commit. Journals: A highly available replication log that durably saves transactions across zones or regions. (Good for short term durability before this reaches the storage nodes. See my MemoryDB review.) Crossbars: The routing layer that reads the updates from the Journals and sends changes to the right Storage Nodes. The Big Architectural Bets in DSQL Design Well, in addition to fully committing to the disaggregation principle, here are the other big bets in DSQL design. The Synchronized Clock Bet: To get reads without coordination, DSQL relies entirely on highly synchronized physica

## Passing Context Between Agents in Multi-Agent A2A Systems

DevFeed: [Passing Context Between Agents in Multi-Agent A2A Systems](<https://devfeed.tech/articles/passing-context-between-agents-in-multi-agent-a2a-systems-50200.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/ise/a2a-context-passing-multi-agent-systems/>)

Author: Olha Konstantinova, Scott Grosenick

Published: 2026-06-26T07:00:00Z

Content type: article

Language: en

Sources: [ISE Developer Blog](<https://devfeed.tech/sources/ise-developer-blog.md>)

Topics: [A2A protocol](<https://devfeed.tech/topics/a2a-protocol.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [agent to agent communication](<https://devfeed.tech/topics/agent-to-agent-communication.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [a2a](<https://devfeed.tech/tags/a2a.md>), [a2a-protocol](<https://devfeed.tech/tags/a2a-protocol.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-communication](<https://devfeed.tech/tags/agent-communication.md>), [agent-to-agent-communication](<https://devfeed.tech/tags/agent-to-agent-communication.md>), [agents](<https://devfeed.tech/tags/agents.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [backend](<https://devfeed.tech/tags/backend.md>), [context-passing](<https://devfeed.tech/tags/context-passing.md>), [cse](<https://devfeed.tech/tags/cse.md>), [ise](<https://devfeed.tech/tags/ise.md>), [multi-agent](<https://devfeed.tech/tags/multi-agent.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

This article explains how to pass conversational and domain-specific context between independently deployed agents in a multi-agent system using the A2A protocol. It describes the context-passing challenge created by stateless domain agents and introduces an embedded context pattern.

### Source excerpt

How we solved the challenge of passing conversational context between independently deployed agents using the A2A protocol's embedded context pattern, keeping domain agents stateless and secure. The post Passing Context Between Agents in Multi-Agent A2A Systems appeared first on ISE Developer Blog.

## MCP Goes Stateless: The 2026-07-28 Migration Guide

DevFeed: [MCP Goes Stateless: The 2026-07-28 Migration Guide](<https://devfeed.tech/articles/mcp-goes-stateless-the-2026-07-28-migration-guide-56216.md>)

Original publisher: [Read original article](<https://www.developersdigest.tech/blog/mcp-stateless-migration-guide-2026>)

Author: Developers Digest

Published: 2026-06-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Developers Digest](<https://devfeed.tech/sources/developers-digest.md>)

Topics: [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [migration](<https://devfeed.tech/topics/migration.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [guide](<https://devfeed.tech/tags/guide.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-servers](<https://devfeed.tech/tags/mcp-servers.md>), [migration](<https://devfeed.tech/tags/migration.md>), [migration-guide](<https://devfeed.tech/tags/migration-guide.md>), [model-context-protocol](<https://devfeed.tech/tags/model-context-protocol.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [servers](<https://devfeed.tech/tags/servers.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

A migration guide covering the MCP 2026-07-28 final specification, including the removal of sessions, the shift to a stateless protocol, resulting breakages, and migration of MCP servers.

### Source excerpt

The MCP 2026-07-28 final spec is here - sessions are gone, the protocol is stateless. Here is what changed, what broke, and how to finish migrating your MCP servers.

## The agent unconscious: Embedding organizational memory in AI

DevFeed: [The agent unconscious: Embedding organizational memory in AI](<https://devfeed.tech/articles/the-agent-unconscious-embedding-organizational-memory-in-ai-57192.md>)

Original publisher: [Read original article](<https://www.thoughtworks.com/insights/blog/generative-ai/agent-unconscious-embedding-organizational-memory-ai>)

Author: Matt Kamelman

Published: 2026-05-18T00:00:00Z

Content type: opinion

Language: en

Sources: [Thoughtworks Insights](<https://devfeed.tech/sources/thoughtworks-insights.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [context](<https://devfeed.tech/topics/context.md>), [sessions](<https://devfeed.tech/topics/sessions.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [systems](<https://devfeed.tech/topics/systems.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [npm](<https://devfeed.tech/topics/npm.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [memory](<https://devfeed.tech/tags/memory.md>), [npm](<https://devfeed.tech/tags/npm.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [systems](<https://devfeed.tech/tags/systems.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

The article examines intent debt in enterprise AI agents: systems can follow encoded logic correctly while lacking the organizational context needed for sound judgment. It describes a shift from stateless agents toward persistent memory architectures, including an "agent unconscious" that retains knowledge and latent context across sessions.

### Source excerpt

The agent unconscious: Embedding organizational memory in AI

## Scaling Single-Tenant FusionAuth Deployments

DevFeed: [Scaling Single-Tenant FusionAuth Deployments](<https://devfeed.tech/articles/the-importance-of-scaling-and-why-single-tenant-applications-are-better-than-multi-tenant-saas-43480.md>)

Original publisher: [Read original article](<https://fusionauth.io/blog/single-tenant-scaling>)

Author: Dan Moore

Published: 2025-06-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [FusionAuth](<https://devfeed.tech/sources/fusionauth-blog.md>)

Topics: [Scalability](<https://devfeed.tech/topics/scalability.md>), [Multi-tenancy](<https://devfeed.tech/topics/multi-tenancy.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Security](<https://devfeed.tech/topics/security.md>), [passwords](<https://devfeed.tech/topics/passwords.md>)

Tags: [architecture-design](<https://devfeed.tech/tags/architecture-design.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [hashing](<https://devfeed.tech/tags/hashing.md>), [multi-tenancy](<https://devfeed.tech/tags/multi-tenancy.md>), [product](<https://devfeed.tech/tags/product.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [security](<https://devfeed.tech/tags/security.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [self-hosting](<https://devfeed.tech/tags/self-hosting.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

This article explains how single-tenant and multi-tenant deployment models affect software scalability, performance, security isolation, cost, and operational control. It describes stateless horizontal scaling, logical multi-tenancy, self-hosting, and authentication-related password-hashing bottlenecks in FusionAuth deployments.

### Source excerpt

How to scale a cloud-hosted or self-hosted single-tenant deployment with FusionAuth. Ideal for environment isolation, client namespaces, and dev/test setups.

## Understanding JSON Web Tokens (JWTs)

DevFeed: [Understanding JSON Web Tokens (JWTs)](<https://devfeed.tech/articles/understanding-json-web-tokens-jwts-43502.md>)

Original publisher: [Read original article](<https://fusionauth.io/blog/understanding-json-web-tokens-jwt>)

Author: Kirsten Hunter

Published: 2025-04-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [FusionAuth](<https://devfeed.tech/sources/fusionauth-blog.md>)

Topics: [JSON Web Tokens](<https://devfeed.tech/topics/jwt.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [API](<https://devfeed.tech/topics/api.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [Security](<https://devfeed.tech/topics/security.md>), [private key](<https://devfeed.tech/topics/private-key.md>), [public key](<https://devfeed.tech/topics/public-key.md>), [stateless](<https://devfeed.tech/topics/stateless.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [education](<https://devfeed.tech/tags/education.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [private-key](<https://devfeed.tech/tags/private-key.md>), [public-key](<https://devfeed.tech/tags/public-key.md>), [security](<https://devfeed.tech/tags/security.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

A beginner-friendly tutorial explains what JSON Web Tokens are, how their signed structure supports authentication, and why they are useful for stateless communication across APIs and microservices. It also introduces token storage, refresh tokens, and asymmetric signing with private and public keys.

### Source excerpt

A high level view of Json Web Tokens (JWT).

## Session Management Options

DevFeed: [Session Management Options](<https://devfeed.tech/articles/session-management-options-43407.md>)

Original publisher: [Read original article](<https://fusionauth.io/blog/logouts-and-sessions>)

Author: Dan Moore

Published: 2024-09-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [FusionAuth](<https://devfeed.tech/sources/fusionauth-blog.md>)

Topics: [sessions](<https://devfeed.tech/topics/sessions.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Database](<https://devfeed.tech/topics/database.md>), [Redis](<https://devfeed.tech/topics/redis.md>)

Tags: [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [database](<https://devfeed.tech/tags/database.md>), [education](<https://devfeed.tech/tags/education.md>), [redis](<https://devfeed.tech/tags/redis.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

This tutorial explains centralized and application-managed session management with FusionAuth. It covers application sessions, FusionAuth SSO sessions, refresh-token-based centralized sessions, logout behavior, and session storage options such as cookies, Redis, and databases.

### Source excerpt

Explore session management software options and how they handle logout behavior. Learn what to look for in tools that manage user sessions in modern auth systems.

## Overcoming Database Challenges in Serverless and Edge Applications

DevFeed: [Overcoming Database Challenges in Serverless and Edge Applications](<https://devfeed.tech/articles/overcoming-database-challenges-in-serverless-and-edge-applications-47694.md>)

Original publisher: [Read original article](<https://www.prisma.io/blog/overcoming-challenges-in-serverless-and-edge-environments-TQtONA0RVxuW>)

Author: Jon Harrell

Published: 2023-05-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Prisma](<https://devfeed.tech/sources/prisma-blog.md>)

Topics: [Serverless](<https://devfeed.tech/topics/serverless.md>), [Database](<https://devfeed.tech/topics/database.md>), [Stateful](<https://devfeed.tech/topics/stateful.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [database](<https://devfeed.tech/tags/database.md>), [handler](<https://devfeed.tech/tags/handler.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

This article explains the challenges of using persistent data stores and stateful behavior in serverless and edge deployments. It discusses ephemeral function instances, database connections, transactions, scaling, and long-running queries, with an AWS Lambda and Node.js example.

### Source excerpt

Learn best practices around deploying stateful apps in traditionally stateless environments.

## Temporal Transparency Update #12

DevFeed: [Temporal Transparency Update #12](<https://devfeed.tech/articles/temporal-transparency-update-12-36044.md>)

Original publisher: [Read original article](<https://temporal.io/blog/temporal-transparency-update-12>)

Author: Ryland Goldstein

Published: 2021-09-20T07:00:00Z

Content type: article

Language: en

Sources: [Temporal](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [version](<https://devfeed.tech/topics/version.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Stateful](<https://devfeed.tech/topics/stateful.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [cncf](<https://devfeed.tech/tags/cncf.md>), [community](<https://devfeed.tech/tags/community.md>), [developer](<https://devfeed.tech/tags/developer.md>), [eol](<https://devfeed.tech/tags/eol.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [product-news](<https://devfeed.tech/tags/product-news.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [ui](<https://devfeed.tech/tags/ui.md>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

Temporal's transparency update highlights product and community developments, including a Cadence support end-of-life reminder, Node.js and UI progress, visibility improvements, and the company's KubeCon presence involving Kubernetes and serverless workflow topics.

### Source excerpt

There has been immense growth in our community since our last update which couldn't make us happier. This post will cover some highlights of that work.

## A Deep Dive into Rescalable State in Apache Flink

DevFeed: [A Deep Dive into Rescalable State in Apache Flink](<https://devfeed.tech/articles/a-deep-dive-into-rescalable-state-in-apache-flink-48306.md>)

Original publisher: [Read original article](<https://flink.apache.org/2017/07/04/a-deep-dive-into-rescalable-state-in-apache-flink/>)

Published: 2017-07-04T09:00:00Z

Content type: article

Language: en

Sources: [Apache Flink](<https://devfeed.tech/sources/apache-flink-stateful-computations-over-data-streams-on-apache-flink.md>)

Topics: [stream-processing](<https://devfeed.tech/topics/stream-processing.md>), [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>), [Stateful](<https://devfeed.tech/topics/stateful.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>)

Tags: [apache-flink](<https://devfeed.tech/tags/apache-flink.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [distributed-system](<https://devfeed.tech/tags/distributed-system.md>), [flink](<https://devfeed.tech/tags/flink.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [state](<https://devfeed.tech/tags/state.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [stream-processing](<https://devfeed.tech/tags/stream-processing.md>)

### AI overview

This deep dive explains stateful and stateless stream processing in Apache Flink, including how state retains information from past events. It describes Flink's rescalable state, parallel operator architecture, distributed execution, and the role of data locality in achieving high throughput and low latency.

### Source excerpt

Apache Flink 1.2.0, released in February 2017, introduced support for rescalable state. This post provides a detailed overview of stateful stream processing and rescalable state in Flink. An Intro to Stateful Stream Processing # At a high level, we can consider state in stream processing as memory in operators that remembers information about past input and can be used to influence the processing of future input. In contrast, operators in stateless stream processing only consider their current inputs, without further context and knowledge about the past.

## Functional Stateless Components in React

DevFeed: [Functional Stateless Components in React](<https://devfeed.tech/articles/functional-stateless-components-in-react-52483.md>)

Original publisher: [Read original article](<http://www.jackfranklin.co.uk/blog/functional-stateless-components-react/>)

Published: 2017-03-07T00:00:00Z

Content type: article

Language: en

Sources: [Jack Franklin](<https://devfeed.tech/sources/jack-franklin.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>)

Tags: [arrow](<https://devfeed.tech/tags/arrow.md>), [components](<https://devfeed.tech/tags/components.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [es2015](<https://devfeed.tech/tags/es2015.md>), [function](<https://devfeed.tech/tags/function.md>), [functional](<https://devfeed.tech/tags/functional.md>), [react](<https://devfeed.tech/tags/react.md>), [react-component](<https://devfeed.tech/tags/react-component.md>), [simplicity](<https://devfeed.tech/tags/simplicity.md>), [state](<https://devfeed.tech/tags/state.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

React 0.14 functional stateless components (FSCs) express presentational UI as props in and rendered output out, often in a concise function or arrow function. The article recommends them for simple rendering components: their form signals the absence of state and lifecycle logic, and they are easier to test by passing props and checking output. Use a class component when lifecycle methods or multiple event handlers are needed, or when frequent state changes are justified; converting an FSC to a stateful component takes more work, which the author sees as a prompt to reconsider adding state. FSCs can define inline event handlers, propTypes, defaultProps, and context. Inline handlers are recreated on rerender and may matter in performance critical cases, though the article says most applications will not notice. It describes possible future React optimizations but explicitly says FSCs currently have no performance advantage.

### Source excerpt

What are functional, stateless components? React 0.14 introduced functional, stateless components as a way to define React components as a function, rather than as an ES2015 class or via React.createClass. Prior to React 0.14, writing a presentational component (that is, one that just renders props, and doesn't have state), could be fairly verbose: const Username = React.createClass({ render() { return <p>The logged in user is: {this.props.username}</p>; }, }); // OR: class Username extends React.Component { render() { return <p>The logged in user is: {this.props.username}</p>; } } React 0.14 introduced functional stateless components (or, from now on, FSCs), which lets you express the above more succinctly: const Username = function(props) { return <p>The logged in user is: {props.username}</p>; }; Which, via ES2015 arrow functions, destructuring and implicit returns can be cut down really nicely: const Username = ({ username }) => <p>The logged in user is: {username}</p>; FSCs not only provide a cleaner syntax but also have some other benefits that I'd like to talk about today, along with a couple of gotchas and things to look out for. It's also important to note that you can have stateless class components, and that in the future we might be able to have functional, stateful components. Tyler McGinnis' post on the different types of components does a great job of laying out all the different terminology. I think the primary benefit of FSCs is simplicity, and to me they act as a visual signal: "this component is solely props in, rendered UI out". If I see a class component, I do have to scan through to see what lifecycle methods it may be using, and what callbacks it may have. If I see an FSC, I know it isn't doing anything fancy. There are definitely times I'll write a stateless class component so I can define callback methods as class properties (especially if I'm passing prop values into a callback prop), but I'll write FSCs to signal that "this is a very strai

## Stateless vs stateful web apps

DevFeed: [Stateless vs stateful web apps](<https://devfeed.tech/articles/stateless-vs-stateful-web-apps-44021.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/stateless-vs-stateful-web-apps>)

Author: George Guimarães

Published: 2016-02-04T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Stateful](<https://devfeed.tech/topics/stateful.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [stateless](<https://devfeed.tech/topics/stateless.md>), [Server](<https://devfeed.tech/topics/server.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [phoenix](<https://devfeed.tech/tags/phoenix.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [server](<https://devfeed.tech/tags/server.md>), [socket](<https://devfeed.tech/tags/socket.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [web](<https://devfeed.tech/tags/web.md>), [web-apps](<https://devfeed.tech/tags/web-apps.md>)

### AI overview

This article explains how stateless and stateful web applications differ in deployment and scaling. It contrasts independent HTTP requests with long-running WebSocket connections, emphasizing the infrastructure, proxy, server, concurrency, and memory implications of maintaining many open connections.

### Source excerpt

Learn the technical requirements and implications of running stateful web apps and how Phoenix simplifies your stack compared to frameworks like Rails and Socket.IO.