I have a weird question. Is it possible to make a Retrofit network request to get back around 50k json data? Let's say the json looks like this:
{
data: [
{
"Number":"323232",
"Identifier":"1331332-1",
"Price":"32000000",
"Type":"Apartment",
"Style":"",
"SubType":"Double",
"Beds":"1",
"Baths":"1",
"Furnished":"No",
"Internet":"Yes",
"Distance":"29700",
"Picture":{
"main":{
"url":"http://placehold.it/700x700"},
"thumb":{
"url":"http://placehold.it/700x700"}
}, ...
]
}
If possible to make a request to get all 50k in one sitting, how would one go about doing so and how fast would it be? I've tried limiting to only the information I need returned. But I've always gotten a SocketTimeOut exception. One thing I've thought up was to partition the amount of data I request into small chunks, and repeatedly make the network request until all 50k is gotten.
And if Retrofit is not designed for this purpose, what would be a good alternative? Volley? Or some other library?