> For the complete documentation index, see [llms.txt](https://docs.serverlessapigateway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.serverlessapigateway.com/glossary/r/real-time-processing.md).

# Real-Time Processing

Real-time processing refers to the handling and analysis of data immediately as it is received, with minimal delay between input and output. Unlike batch processing, which collects data over a period before processing it all at once, real-time processing acts on each data point or event as it arrives.

Real-time processing systems are used in applications that require immediate responses, such as financial trading platforms, fraud detection, live dashboards, multiplayer games, and IoT sensor monitoring. Technologies commonly used for real-time processing include Apache Kafka Streams, Apache Flink, AWS Kinesis, and WebSocket connections.

In API architectures, real-time processing is relevant for streaming APIs, webhook delivery, and event-driven systems. API gateways can support real-time communication by proxying WebSocket connections, delivering server-sent events (SSE), or routing webhook payloads to processing services with minimal latency. Edge-deployed gateways are particularly suited for real-time use cases because processing occurs close to the client, reducing network-induced delay.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.serverlessapigateway.com/glossary/r/real-time-processing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
