I am struck with one implementation where in have a large json object coming as request data, i can parse data, but for processing in have some condition.
Sample of Json is something like

{"data4":"userdata4"}, and so on ....may be 1000 records and more
Due to backend issues, i have to split this json request in batches of 10 records, so i ll have 100 objects. and send these batches to backend, but i can send 10 connection(multithread), Batches works async, so request sent second does not wait for response from first. and then i add response in other response array.

i am completely struck right now.