You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem where each user can spin up a heavy process (there can only be a process per user at a time, i'm using redlock to guarantee that) and after that send any number of tasks, only the process startup is costly then the task processing is fast.
Currently, each job runs the heavy process, do the small task and close the process, but I wanted to know if there is a way to reutilize the heavy process across some jobs and send all jobs of that user into the worker that has that process open
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a problem where each user can spin up a heavy process (there can only be a process per user at a time, i'm using redlock to guarantee that) and after that send any number of tasks, only the process startup is costly then the task processing is fast.
Currently, each job runs the heavy process, do the small task and close the process, but I wanted to know if there is a way to reutilize the heavy process across some jobs and send all jobs of that user into the worker that has that process open
Beta Was this translation helpful? Give feedback.
All reactions