How can I utilize Box Accelerator using Box API or Java SDK?
How can I utilize Box accelerator capability using Box API or Box Java SDK?
Box accelerator capability is enabled in my box account because I am a member of company which has an Box enterprise contract. On box.com web site, we can enable Box accelerator capability on "Content and Sharing" tab in "Account setting" page. But I was not able to find anything about Box Accelerator on Box Content API reference page.
According to descriptions in Box Python SDK: http://box-python-sdk.readthedocs.io/en/latest/boxsdk.object.html : we need to get a special url of to-be uploaded file for Box accelerator in advance to upload a file actually. I tried querying "upload_url" property of the to-be uploaded file which python SDK makes use of, that is considered as the special url for Accelerator, but nothing is returned in my environment.
Any information related to Box Accelerator for Box API would be appreciated.
-
According to Python SDK, the following looks URLs to query Box Accelerator URL for file upload:
Existing file: https://api.box.com/2.0/files/[fileid]/content
New file: https://api.box.com/2.0/files/content
It should return JSON including 'upload_url' property which is URL for using Box Accelerator.
Well, actually I used these URLs from my Box application, but nothing was returned. So I am not sure either if the URLs are wrong or if my account is not able to make use of Box Accelerator via Box API.
-
We are struggling with the same issue in the .NET SDK. Upload via SDK is painfully slow.
3.5 MB => 25s vs 3s on a browser (733% slower)
26 MB => 175s vs 14s on a browser (1150% slower)
47 MB => (Timed out after 5 mins) vs ~40s on a browser.Box support told me on Sept 23rd, "Unfortunately, this is expected behavior. At the present time, the API upload endpoint does not leverage the same upload accelerator technology that is available through the Box Web App."
-
Thanks for the info. Yes, recently I also got a reply from Box support that the Box Accelerator is not available through Box API. Download speed is not so bad without the accelerator, but upload speed is. In this moment we need to utilize Box API just for read-only operations in our app...
-
This is really bad.
We are running a number of tests and finding the same results...large'ish files (70Mb) that upload in a reasonable time via the box webapp timeout (after our 5 minute limit) in the API.
Box "Accelerator" or not, that's absolutely a huge issue for Box to promote use of their ecosystem for enterprise clients with any non-browser app.
-
Hey Jonathan,
This type of issue would need to be investigated by our support team on a case by case basis since there are many factors that go into speed. In order to open a support ticket you will need to login with a paid account and navigate to this page. Apologies I cannot provide more assistance here.
Best,
Kourtney, Box Developer Advocate
サインインしてコメントを残してください。
コメント
7件のコメント