I am having issues with concurrency when writing JSON out from my Spring Boot WAR app deployed to Tomcat 8. In the screenshot from AppDynamics there seems to be a considerable wait when the jackson library is performing _flushBuffer.
This issue arises under load testing for even a small amount (< 10) users.
I have configured the messageConverters in my configuration class.
@Override
public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
converters.add(new MappingJackson2HttpMessageConverter(
new Jackson2ObjectMapperBuilder().dateFormat(new SimpleDateFormat("yyyy-MM-dd'T'HH:mmZ")).mixIn(LiquidAssignment.class,
InventoryProviderAssignmentMixin.class)
.deserializerByType(ActionData.class, new ActionDataDeserializer()).build()));
converters.add(new MappingJackson2XmlHttpMessageConverter());
}
I am using Spring Boot 1.5.4 Java 1.8 Jackson 2.9.7 Tomcat 8.5.33
