Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3301] Downloading of numerous files from server seems to be taking a very long time. How can we improve this?

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-03-21T01:02:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJohn V Pataki
AssigneeShak Hossain
Created2012-06-20T10:01:00.000+0000
Updated2016-03-08T07:57:43.000+0000

Description

This is a pro-services project where we download a lot of files between a server and the app. We've seem to be running into performance of this downloading that doesn't seem to match the expectations. We were running into memory related issues at one point and we've recently applied some fixes to the SDK code to resolve this so that we no longer get "out of memory" issues and no longer get the Android/JAVA 'pausing' when its doing garbage collection. However, this still hasn't sped put the time to download all of these files by any significant amount. We need to figure out what things we can do to speed up this process to include if we try to make sdk changes or a module that allows us to better do simultaneous file downloading without problems on the native side. Or another ideas/things that platform team can help guide us on. Contact me to get access to the codebase for the app for platform team developer.

Comments

  1. Daniel Sefton 2013-03-21

    Hi John, We offer packages for code/performance advice. Please get in touch with sales if you are interested. Otherwise, please use JIRA to report specific platform bugs or features. This isn't the place for general discussion or entire code reviews. If you would like to discuss something with our developer community, feel free to post a question in our Q&A: http://developer.appcelerator.com/questions/newest Regards, Daniel
  2. Shak Hossain 2013-12-10

    Hi John, We have not heard back from you since you posted the issue. Not sure if this is still a request for your project. If so, please send me the test code and some details via email. If we don't hear back, we will assume the issue is no longer valid and close it. Thanks,
  3. John V Pataki 2013-12-10

    I am sure the issue is still valid however its been so long now that I don't know exactly where the codebase is or what the test case was to reproduce it. The project that this occurred on did go into production with a fix from us by creating our own HTTP module for downloading files which added the ability to save files directly to the file from the native side and avoided having the file content transferred to javascript side (just as the iOS side does with its file option). This improved the issue but I don't remember if all aspects of the download slowdown were resolved completely.

JSON Source