You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/03/04 09:32:35 UTC

[Bug 52073] Embedded Resources concurrent download : Improve performances by avoiding shutdown of ThreadPoolExecutor at each sample

https://bz.apache.org/bugzilla/show_bug.cgi?id=52073

--- Comment #5 from benoit.wiart@gmail.com ---
PR https://github.com/apache/jmeter/pull/155

Back dans les bacs à chaque attaque, contact !

new version of the PR which should play nicely with Bug 59034.
the cache manager is now correctly shared between the threads of a given user.

Description :

Embedded Resources concurrent download : Improve performances
by avoiding shutdown of ThreadPoolExecutor at each sample.

A shared thread pool is used for all the parallel downloads.
A throttle mechanism is used per user to ensure the max concurrent
downloads setting is not exceeded.
A new parameter httpsampler.parallel_download_thread_keepalive_inseconds
is used to set the thread TTL when idle (default 60s).
the parameter httpsampler.await_termination_timeout is not used anymore
and has been removed.

TODO : ResourcesDownloader#shrink should be called at the end of a test
to accelerate the release of the thread pool idle threads (not
mandatory)

the httpclient is shared between the threads of a given virtual user.
the cache is shared between the threads of a given virtual user.

-- 
You are receiving this mail because:
You are the assignee for the bug.