I have situations where I need to make lots (say 50 to 100) HTTP requests "all at once". The responses vary, some are small JSON, but some are large documents and PDFs. Should I consider serialization or chunking of those requests? Or does Ti (or iOS) automatically handle some of that for me, and I could, for example, make all 100 HTTPClient requests inside a for-loop? I'd like to avoid resource problems, but don't want to do extra work if unnecessary.
2 Answers
50 requests at once? IMHO you need to reconsider the architecture of your app/backend.
Consider to create a downloads queue and a manager for this queue. Yeah, extra work.
Your Answer
Think you can help? Login to answer this question!