Skip to main content

Crate pylon_runtime

Crate pylon_runtime 

Source

Modules§

cache_handlers
Shared cache and pub/sub HTTP request handlers.
cache_server
Standalone cache server.
config
Unified server configuration loaded once at startup.
cron
Cron expression parser and matcher.
datastore
Implements the platform-agnostic DataStore trait for Runtime.
ip_limit
Per-IP concurrent connection limiter used by every streaming endpoint (WS notifier, SSE, shard WS). A single misbehaving peer should not be able to exhaust the server’s thread budget or per-client mutex pool by opening hundreds of long-lived sockets.
job_store
SQLite-backed persistent storage for jobs.
jobs
Background job queue with priority scheduling, retries, and dead-letter support.
log
loro_store
Server-side per-row LoroDoc cache with snapshot persistence.
metrics
oauth_backend
SQLite-backed OAuth state persistence.
openapi
presence
pubsub
rate_limit
resp
RESP (Redis Serialization Protocol) parser and serializer.
resp_server
RESP-compatible TCP server for the pylon cache.
rooms
scheduler
Cron-based scheduler that enqueues jobs on a recurring schedule.
server
session_backend
SQLite-backed session persistence.
shard_ws
Bidirectional WebSocket server for real-time shards.
sse
tls
workflow_store
SQLite-backed persistent storage for workflow instances.
workflows
ws

Macros§

log_debug
Emit a structured log at DEBUG level via the global logger.
log_error
Emit a structured log at ERROR level via the global logger.
log_info
Emit a structured log at INFO level via the global logger.
log_warn
Emit a structured log at WARN level via the global logger.

Structs§

Runtime
A minimal runtime that executes CRUD operations against a SQLite database based on a manifest contract.
RuntimeError