hey i am steve, i amfrom hackerrank, we are explor...
# agents
w
hey i am steve, i amfrom hackerrank, we are exploring livekit for our usage and are interested to buy the scale plan. we have few doubts and wanted to hop on a call today if possible
m
Hey @lively-winter-88668 - would appreciate some help here 🙂
l
Hey, for sales queries, please reach out to https://livekit.io/pricing. If this is a technical question, please post it here.
w
@lively-winter-88668 we wanted to know few technical things 1. Are LiveKit workers persistent processes, or does LiveKit create a new worker instance for each request/session? 2. Is there way i can get transcripts of the session, after the session ends?
l
Sure:
1. Are LiveKit workers persistent processes, or does LiveKit create a new worker instance for each request/session?
The worker process is persistent, yes, and each request is handled in a separate job: https://docs.livekit.io/agents/worker/
1. Is there way i can get transcripts of the session, after the session ends?
Please see Chris' answer here: https://livekit-users.slack.com/archives/C07FY8WHGPM/p1762770296123499
m
Hey @lively-winter-88668 - thanks for answering!
each request is handled in a separate job
Just to confirm, if I have some data (say an auth token) that's created once, can it be used (persisted) across all requests in the same session, will the worker process be able to handle that persistence or will it be a new instance for each Request.
l
If you want to store some custom state within the session, please use
userdata
, https://docs.livekit.io/agents/build/workflows/#passing-state.
🙌 1
m
Got it - and that state will persist across the session, throughout right.
@lively-winter-88668 ^