[ad_1]
I’ve display screen in my which may add a number of information. Importing a single file consists of the next steps
- Name an internet service API to get the URL to add the picture
- Convert the file to knowledge and add it utilizing knowledge job (Not utilizing multipart)
Reminiscence problem arises after we attempt to add a number of giant sized photos atonce. It’s because for importing we’re changing information to knowledge immediately.
What I used to be aspiring to do is an answer like given beneath.
Serial queue -> ————[file url getting task1 + file upload task1]———-[file url getting task2 + file upload task2]
My plan is to do file url getting job and add job as a unit. On completion one unit of job transfer to subsequent unit.
[ad_2]
