Advanced Topics > Advanced Velocity features including queues, events, mail, notifications, file storage, task scheduling, gRPC, and more.
Advanced Velocity features for building robust, production-grade applications: background jobs, event-driven architecture, outbound communication, file storage, scheduled tasks, maintenance mode, custom console commands, and the building blocks that tie them together.
in this section Queue System
Background job processing with Velocity's queue system Events
Build event-driven applications with Velocity's observer pattern for decoupled, extensible architecture. Command Bus
Type-safe command dispatch with middleware, self-handling commands, and async queue delivery. Task Scheduler
Schedule recurring tasks with Velocity's fluent scheduler for cron jobs, daily tasks, and periodic work. Mail
Send emails with Velocity's driver-based mail system supporting SMTP/sendmail, Mailgun, Postmark, and a development log driver. Notifications
Send notifications across mail, database, broadcast, and Slack from a single definition. Storage
Store and retrieve files with Velocity's unified storage manager for local filesystem and Amazon S3. HTTP Client
Instrumented, secure-by-default outbound HTTP client with APM events and trace propagation. Webhooks
Primitives for signing, verifying, and retrying webhook deliveries. Feature Flags
Minimal Driver interface, request-scoped overrides, and an in-memory driver for tests. Maintenance Mode
Take an application offline for deploys and migrations with vel down and vel up, keep health probes and webhooks reachable, and let operators bypass the 503 with a secret. Console Commands
Add your own commands to the per-project vel binary - scaffold them with vel gen command, register them with v.Commands, and run them with vel run. Modules
Modular registration of services, routes, middleware, events, and scheduled jobs with lifecycle hooks. Contracts
Minimal, stdlib-only interfaces that break circular dependencies between Velocity subsystems. Driver Registry
Pluggable driver registration across cache, queue, storage, mail, notification, log, and orm subsystems. Pipeline
Generic, type-safe middleware-style pipeline for threading values through sequential stages. Collections
Generic, type-safe collection helpers for slices - filter, map, reduce, group, and more. Tracing
Distributed tracing primitives - trace IDs, span IDs, and parent relationships propagated through context. gRPC
gRPC server and HTTP gateway with context helpers, structured errors, and interceptor-friendly APIs.