Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Java API buffer size adjustment

Hi,

I use RTC Java API to connect to RTC server and upload files into a workspace. Unfortunately it works much slower than I expected. I found out that ITeamRepository uses Apache HttpClient library to communicate with RTC server services. The HttpClient has a default buffer size of 8192. Is there any way to increase this buffer? I assume it should speed up uploading process.
Thanks in advance. 

0 votes



One answer

Permanent link

 Have you tried to use the SCM Command Line and compared the upload duration? I would assume if you are in the same ballpark, you can give up. 


Also, as long as you don't know where the performance is lacking, you can not know where to tweak.

Finally in the Work Item Command Line  this call is used. 

repo.getRawRestServiceClient() 

I am not sure if you can actually change the cache that way, but this may be an entry point.  

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 411
× 169

Question asked: Jan 24 '19, 5:02 a.m.

Question was seen: 2,317 times

Last updated: Jan 24 '19, 5:42 a.m.

Confirmation Cancel Confirm