We have just released version 5.16.0. Here is a list of the changes that came with the release:
Features
- Select handlebars helper CSV file caching. When you set
trafficparrot.virtualservice.handlebars.select.indexAndCacheCsvFiles=true
the CSV file loading performance will be significantly improved. - Supporting large number of CPU cores. When you run Traffic Parrot on many cores (40 or more) it would fail to start and report an error
javax.servlet.ServletException: java.lang.IllegalStateException: Insufficient configured threads: required=212 < max=200 for QueuedThreadPool[qtp318353283]@12f9af83{STARTED,8<=168<=200,i=0,r=20,q=0}[ReservedThreadExecutor@71b3bc45{s=0/20,p=0}]
The fix is to increase the number of threads Jetty can spin up. This was done by exposing two properties to configure HTTP Jetty server thread queues:trafficparrot.gui.http.queuedThreadPool.maxThreads=200 trafficparrot.gui.http.queuedThreadPool.minThreads=8
Changes
- Performance improvements to dynamic responses
- Jetty HTTP Server upgrade from 9.4.20.v20190813 to 9.4.30.v20200611
- Upgraded Wiremock from 2.25.1 to 2.27.1
- Upgraded Http client from 2.6.2 to 2.7.0
- Several other library version upgrades
No comments:
Post a Comment