I am coming from the Java world and keep hearing this term ‘worker’ in the ruby/rails world. What is it? a thread?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on the context.
A worker is typically a process that runs outside of your application request cycle. Ruby libraries like resque and delayed_job are typically used to manage worker queues.
On the other hand, if we’re talking about web servers the word “worker” is sometimes used interchangeably with threads or processes (ie: nginx or apache “workers”).