This comparison of Streams and Batches highlights their key differences in timing, volume handling, complexity, and API endpoints, helping you determine the best method for sending data to Maxio.
Choosing the Right Method
- Use Streams to track and bill for each action instantly.
- Use Batches for summarizing and submitting large amounts of usage periodically.
Related Articles:
Streams
Streams provide real-time, event-driven processing for high-volume, advanced usage-based billing.
Focus | Real-time event ingestion and processing for high-volume, advanced usage-based billing. |
Process |
|
Use Cases |
|
Diagram of how Streams work
Batches
Batches enable scheduled, periodic submission of aggregated usage data for large but less time-sensitive volumes.
Focus | Scheduled, periodic submission of usage data for large, but less time-sensitive, volumes. |
Process |
|
Use Cases |
|
Diagram of how Batches work