i implementing album of pictures android application parse. it's important download pictures quickly. size of thumnail pictures saved around 15~20kb , normal pictures around 150~200kb thinks these sizes not big however, when tried download 10 thumnail pictures once , spend more 7s. , downloading normal picture slow.
as know, file server of parse located us. testing application in korea think reaons of slow server located place far korea. there solution improve performance downloading?
i going use cache strategy it's not solution downloading @ first. , improving performance after first try, implement caching parse local database. know, parse support 10mb disk saving local data. happen if save files more 10mb??
after all, gonna summarize questions below
1.is there solution improve performance downloading parse server? 2. happen if save files more 10mb parse local database??
it looks, main issue here not app side, place, files, , cannot lot (if problem speed, won't anything, if problem latency, can speed downloading few files @ same time. wrote, downloading normal slow, speed). if have control on server, suggest using cdn solutions (like example cloudfront aws), lot. if don't have control on server - i'm quite sure, can setup cdn anyway, , source give server in us, , should you. maybe not in development phase (as here there single calls, , cdn server have anyway fetch data), during ttl time these files should fastly downloaded.
Comments
Post a Comment