Prompt
what should I use for event processing at the network edge
Latest observation
For event processing at the network edge, the best choice usually depends on how much logic you need, latency requirements, and where the data comes from. Here are the main options:
Good options
-
Edge functions / serverless at the edge
Best for lightweight event handling close to users or devices.
Examples: Cloudflare Workers, AWS Lambda@Edge, Fastly Compute, Vercel Edge Functions. -
Stream processing on edge gateways or IoT devices
Good when you need to filter, enrich, batch, or route events locally before sending them upstream.
Examples: Apache Edgent, Node-RED, AWS IoT Greengrass, Azure IoT Edge. -
Embedded message brokers + local consumers
Useful if devices or gateways need reliable buffering and offline handling.
Examples: MQTT brokers like Mosquitto/EMQX, NATS, Redis Streams. -
Lightweight containerized services on edge nodes
Best when you need more control, custom dependencies, or more complex processing.
Examples: Docker/Kubernetes at the edge, K3s, MicroK8s.
Rule of thumb
- Simple, low-latency triggers → edge functions
- IoT/event filtering and offline resilience → edge gateways + MQTT/NATS
- Complex local processing → containers on edge nodes
- Very high throughput stream analytics → local stream processor or broker-based pipeline
If you want a practical recommendation
A common modern stack is:
- MQTT or NATS for ingest
- Edge function or lightweight consumer for processing
- Central cloud stream platform for storage/analytics
If you tell me:
- your event source,
- latency target,
- whether this is IoT / video / user events, and
- cloud vs on-prem,
I can recommend a specific stack.