-
Notifications
You must be signed in to change notification settings - Fork 13
Merging
Your workers should be designed to be task specific and with as few application dependencies as possible so that they can easily scale and run independently across a large set of servers in the cloud. Workers often need access to other code libraries, however. IronWorker includes a core set of gems and binary files within the IronWorker environment. We keep this set small and limited, however, because versioning and other dependencies can introduce unnecessary conflicts. Use merge_gem
for all other gems.
Merge only what you need for your worker to run
- Merging gems with merge_gem
- Merging models and other ruby code
- Merging other workers so you can queue a different worker from within your worker
We recommend using merge_gem whenever possible instead of relying on system installed gems. We also provide merge , merge_folder , merge_gem , and other merge commands to upload different code, folders, workers, data, and other files that might be needed by the worker.