Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

autodesk model derivative - Forge services are really slow when upload larger IFS files

I have a couple of IFC files which are around 80MB each . I'm using the Forge API java client ( https://github.com/Autodesk-Forge/forge-api-java-client).

I tried using both US and EMEA services(Data Management and Model Derivative) but what I experience is to retrieve metadata and properties it takes a huge amount of time. Whereas I tested the same server calls (on EMEA) using postman and it took only 11 seconds.

Any advice on this matter ? Or does my Forge account type matters as Im on trail account. Or should I call the services directly instead via the provided java api client ??

question from:https://stackoverflow.com/questions/65899449/forge-services-are-really-slow-when-upload-larger-ifs-files

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Many of the SDKs are auto-generated from Swagger specs, so it's possible that the Forge SDK for Java has some performance issue when retrieving the metadata. I would recommend reporting a potential bug in https://github.com/Autodesk-Forge/forge-api-java-client/issues, and for now, request the metadata from your Java application using a custom HTTP request (as explained here, for example).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...