Skip to content

VarpulisStreaming Analytics Engine

Real-time complex event processing with pattern matching, trend aggregation, and forecasting.

Why Varpulis?

Varpulis is a next-generation streaming analytics engine built in Rust for low-latency complex event processing.

vpl
// Detect suspicious login patterns in real-time
event Login:
    user_id: string
    city: string
    success: bool

stream SuspiciousLogin = Login as a -> Login as b
    .within(5m)
    .where(a.user_id == b.user_id && a.city != b.city)
    .emit(user: a.user_id, from: a.city, to: b.city)

Performance

BenchmarkVarpulisApamaAdvantage
Filter (100K events)234K/s199K/s1.2x faster
Sequence detection256K/s221K/s1.2x faster
Memory usage36-58 MB166-190 MB3-5x less
Kleene match accuracy99.6K matches20K matches5x more complete

Benchmarked on CPU-bound workloads (100K events, ramdisk, preloaded). See also the Varpulis vs Flink CEP comparison.

Key Capabilities

  • 14 production connectors — MQTT, Kafka, NATS, Redis, PostgreSQL CDC, AWS Kinesis, S3, Pulsar, and more
  • Helm chart for Kubernetes — deploy coordinator/worker clusters with autoscaling
  • RocksDB checkpointing — durable state snapshots for exactly-once processing
  • Prometheus metrics — built-in /metrics endpoint for monitoring and alerting
  • ONNX model scoring — embed ML models directly in streaming pipelines
  • AES-256 encryption at rest — secure credentials and sensitive configuration
  • OpenTelemetry tracing — distributed trace propagation across pipeline stages
  • Multi-cluster federation — coordinate workloads across geographically distributed clusters

Connectors

ConnectorInputOutputStatus
MQTTYesYesProduction
KafkaYesYesProduction
NATSYesYesProduction
RedisYesYesProduction
PostgreSQL CDCYesNoProduction
PostgreSQLNoYesProduction
MySQLNoYesProduction
SQLiteNoYesProduction
AWS KinesisYesYesProduction
AWS S3YesYesProduction
Apache PulsarYesYesProduction
ElasticsearchNoYesProduction
HTTP/WebhooksNoYesProduction
ConsoleNoYesDebug

Varpulis - Next-generation streaming analytics engine