Some ideas for potential time sinks that I've met: * Calling external services * Blocking (waiting for some resource) * Garbage collection
The first two can be addressed by sending the job into background process, but I would still see what takes so long. The last one is the result of pushing too much in memory and you may want to review what's that. Sometimes, you just need the list of object IDs, not whole objects, so why fetching everything. - A -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To view this discussion on the web visit https://groups.google.com/d/msg/rails-oceania/-/EM-7Eql4GxwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
