2

Now I create an org.eclipse.jetty.client.HttpClient per request.

These requests are stateless and RESTful.

Can I use only one HttpClient for all requests which are in parallel, after I invoke its start() method?

An HttpClient object has lots of fields, can this strategy improve performance and save the memory?

dur
  • 15,689
  • 25
  • 79
  • 125
SoloMe
  • 21
  • 1

0 Answers0