Technical Context
External-facing channels and protocols that realize the BookWorm business context.
Architecture
This view describes only the interfaces exposed across the BookWorm system boundary. It does not show internal communication, implementation components, or infrastructure topology.
Technical Context and Channel Diagram
Loading graph...
Business-to-Technical Mapping Table
| External Partner | Business Input/Output | Technical Channel & Protocol | Data Format | Auth / Security | Notes / SLA |
|---|---|---|---|---|---|
| Customers | Submit searches, basket changes, checkout requests, questions, and reviews; receive catalog, basket, order, recommendation, and review information | HTTPS web channel, bidirectional | HTML pages and JSON application data | Identity-provider authentication; secure sessions | Proposed: 99.9% availability; p95 up to 500 ms for browse/basket and 2 s for checkout |
| Store Administrators | Submit catalog, order, and review decisions; receive worklists and status information | HTTPS web channel, bidirectional | HTML pages and JSON application data | Authenticated administrative session with role checks | Uses the customer interface capacity targets; no separate administrative SLA |
| Identity Provider | Receives sign-in requests and provides identity confirmation and user roles | OAuth 2.0 / OpenID Connect over HTTPS | OIDC redirects and signed tokens | Issuer, audience, signature, expiry, and role validation | Provider availability and token lifetime follow the identity-provider tenant SLA |
| AI Service | Receives book and feedback context; provides recommendations, conversation responses, and summaries | HTTPS request-response | JSON | Credential or workload authentication; encrypted transport | Proposed timeout 30 s; 3 attempts with capped backoff; output quality is not signed off |
| Email Delivery Provider | Receives order, account, and notification email content; may report delivery failures | SMTP over TLS | MIME email message | SMTP credentials or equivalent provider authentication | Relay timeout 45 s; transient submissions retry 3 times; inbox delivery SLA is unverified |
Key Interface Notes
Web channels
- Customer operations target p95 browse/basket latency of
500 ms, checkout latency of2 s, p99 at most2xp95, and unexpected errors below1%. - Apply load protection of
100concurrent requests and30 requests/minute per IP; reject additional load with a clear retry message. - Administrative activity shares the web channel but has no separate measured SLA.
Identity and AI
- Identity: Microsoft Entra ID is the provider. Validate issuer, audience, signature, expiry, and role claims; allow
10 sfor sign-in or token validation. Provider downtime and token lifetime follow the provider’s tenant policy. - AI: Microsoft Foundry is the provider. Allow
30 sper request, use at most3attempts with capped backoff, and limit requests to20/minute per IPand10requests per30 sper user. Unsuitable or unavailable model output must use an explicit degraded result.
- SendGrid is used in cloud environments and Mailpit in local environments.
- A relay submission times out after
45 s; retry transient failures up to3times with1 sexponential backoff. - Relay acceptance does not prove inbox delivery. Bounce handling and final delivery status remain unverified.
Other channels
- No file drops, webhooks, hardware interfaces, or external message-broker integrations are defined for the current business context.