LiveKit can distribute session processing across multiple workers, including those running locally and on production servers, through its load balancing system that dispatches jobs to available workers.
However, it is generally not recommended to use the same LiveKit project for both local development and production. Running a local worker connected to your production project can lead to your local worker processing real production sessions, which is unintended.
To avoid this, it is best practice to use separate LiveKit projects for local development and for production. This ensures that your local worker only processes sessions related to development and does not interfere with production sessions.
Sources:
Deployment and scaling | LiveKit Docs |
Deployment and scaling | LiveKit Docs