How to run it in background job(Sidekiq) ?
It depends, are you going to send an email on a background job? or are you going to upload the file on S3? please give some context.
from my experience, when large amounts of data is involved, the server times out. Im thinking if it is possible to move the CSV export and show a download link to the user?
Ok, then you will need to do the following:
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How to run it in background job(Sidekiq) ?
It depends, are you going to send an email on a background job? or are you going to upload the file on S3? please give some context.
from my experience, when large amounts of data is involved, the server times out. Im thinking if it is possible to move the CSV export and show a download link to the user?
Ok, then you will need to do the following: