Distributed Components
To support distributed development, VonaJS provides the following core components based on Redis:
Queue: Provides a powerful queue component based on BullMQStartup: Allows initialization logic to be executed during system startup or instance initializationBroadcast: Broadcasts can be emitted to multiple worker processes in the system, allowing each worker process to execute business logicSchedule: Provides intuitive and easy-to-use schedule based on BullMQ. Schedule is a special case of queueRedlock: Provides an intuitive and easy-to-use distributed lock based on RedlockElection: Elect a predetermined number of worker processes in a distributed scenario