Infrastructure does not change the business code inside your app. It decides how a request reaches the Akan runtime. The path is simple on your laptop, more structured in a cloud cluster, and sometimes site-specific when edge servers are involved.
Local path: A developer opens localhost and talks almost directly to the Akan dev runtime. This is the fastest path for building screens and checking business flows.
Cloud path: A user enters through a public domain. Kubernetes Ingress receives the request, Service finds the right app pod, and the Akan runtime handles the actual page or API response.
Edge path: A store, kiosk, robot, or local device network can reach an edge proxy first. The edge side may serve nearby runtime work or forward traffic to the cloud service.
After the request reaches Akan App Runtime, the runtime classifies what kind of work it is. A page request renders a web page, an API request runs signal/service logic, a WebSocket request keeps a realtime channel open, and static assets are served as files.
Page: SSR or CSR page response for browser users.
API: Business operations through signal and service logic.
WebSocket: Realtime updates and long-lived client connections.
Asset: Static files, client bundles, images, and generated output.
Key idea: infrastructure chooses the route into the app, not the business behavior inside the app. Local, cloud, and edge paths can look different, but they all eventually hand work to the Akan runtime.