Choose between EventEmitter and a job queue by asking where the work must run and what happens if the process stops.
EventEmitter notifies listeners inside one Node.js process. A durable queue stores work for later processing by workers. Both separate responsibilities, but their failure behavior is different.
1. Follow a local notification
Suppose a component finishes initialization and wants other components in the same process to react. EventEmitter is a natural fit: register listeners, then emit the event.
