You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by ro...@apache.org on 2026/02/05 17:25:08 UTC

(axis-axis2-c-core) branch master updated: Document stateless architecture of HTTP/2 JSON services

This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git


The following commit(s) were added to refs/heads/master by this push:
     new de329b692 Document stateless architecture of HTTP/2 JSON services
de329b692 is described below

commit de329b692158ce00f8599e652fa626e2e7943fcc
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Thu Feb 5 07:24:12 2026 -1000

    Document stateless architecture of HTTP/2 JSON services
    
    Added brief note explaining that all five demonstration services
    are stateless - no HTTP cookies or server-side session storage.
    This design enables horizontal scaling.
    
    Co-Authored-By: Claude Opus 4.5 <no...@anthropic.com>
---
 docs/userguide/json-httpd-h2-userguide.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/userguide/json-httpd-h2-userguide.md b/docs/userguide/json-httpd-h2-userguide.md
index 1bc7c9fc1..5a6264308 100644
--- a/docs/userguide/json-httpd-h2-userguide.md
+++ b/docs/userguide/json-httpd-h2-userguide.md
@@ -59,6 +59,8 @@ This guide covers five **fully implemented** service demonstrations:
 4. **[CameraControlService](#cameracontrolservice-testing-generic-camera-control-with-sftp)**: Generic camera control with SFTP file transfer using user-implementable stub functions
 5. **[FinancialBenchmarkService](#financialbenchmarkservice-testing-financial-computation-benchmark)**: Financial computation benchmarks demonstrating native C performance for O(n²) matrix operations
 
+**Stateless Architecture**: All services are stateless—each request is processed independently without HTTP cookies or server-side session storage. This enables horizontal scaling where any server instance can handle any request.
+
 **⚠️ Protocol Requirement**: These services are **HTTP/2-only** for performance optimization. HTTP/1.1 requests will receive **HTTP 426 "Upgrade Required"** responses. Always use `curl --http2` for testing.
 
 More documentation concerning Axis2/C and JSON can be found in the [HTTP/2 JSON Architecture](../AXIS2C_HTTP2_MIGRATION_STATE.md) and [HTTP/2 Configuration](../HTTP2_AXIS2_DOT_XML.md).