Hi,
I am trying to upload a large number of documents into livelink, thru my java program, which uses LAPI.
I see a real performance drawback here.
Here are some data that I can provide.
Besides the data down I have calculated the time at different points and found that most of the time is consumed in calling LAPI functions.
1)Time taken to upload 30 .pdf Documents
No.of documents uploaded – 30
Time taken for upload – 48.585seconds
Time taken to upload 1 doc on an average - 1.6 seconds
2) Time taken to upload 204 .pdf Documents
No.of documents uploaded – 204
Time taken for upload – 627.087 seconds = 10min 45 seconds
Time taken to upload 1 doc on an average – 3.07 seconds
3) Time taken to upoad 629 .pdf documents
No.of documents uploaded – 629
Time taken for upload – 6764.603 seconds =112 min = 1.87 hours
Time taken to upload 1 doc on an average – 10.75 seconds
Below is my issue.
Now if I put say 1200 .pdf documents in a batch, it takes even 11 hours for all these 1200 .pdf documents to be uploaded.
You can assume that I have a dedicated LLServer.
Where do you think I am going wrong?
Could you please advice.
Thanks,
Sunu
I am trying to upload a large number of documents into livelink, thru my java program, which uses LAPI.
I see a real performance drawback here.
Here are some data that I can provide.
Besides the data down I have calculated the time at different points and found that most of the time is consumed in calling LAPI functions.
1)Time taken to upload 30 .pdf Documents
No.of documents uploaded – 30
Time taken for upload – 48.585seconds
Time taken to upload 1 doc on an average - 1.6 seconds
2) Time taken to upload 204 .pdf Documents
No.of documents uploaded – 204
Time taken for upload – 627.087 seconds = 10min 45 seconds
Time taken to upload 1 doc on an average – 3.07 seconds
3) Time taken to upoad 629 .pdf documents
No.of documents uploaded – 629
Time taken for upload – 6764.603 seconds =112 min = 1.87 hours
Time taken to upload 1 doc on an average – 10.75 seconds
Below is my issue.
Now if I put say 1200 .pdf documents in a batch, it takes even 11 hours for all these 1200 .pdf documents to be uploaded.
You can assume that I have a dedicated LLServer.
Where do you think I am going wrong?
Could you please advice.
Thanks,
Sunu