Application latency with comercial java buildpack v4.0.72 and v4.73.0
search cancel

Application latency with comercial java buildpack v4.0.72 and v4.73.0

book

Article ID: 387520

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

 Commercial version of Java Buildpack v4.0.72 and v4.73.0 comes with AppDynamics Agent 24.7.0_36185 which introduces a latency in the app that will be noticed in your metrics observability tool.

Environment

 

TAS 4.0.27, 6.0.6 and 6.0.7 which ships with  v4.0.72 

TAS 4.0.28-4.0.31, 6.0.8-6.0.11, Tanzu Platform for Cloud Foundry 10.0.1 and 10.0.1 which ships with v4.0.73

 

Cause

As explained in Apps Dynamics release notes the agent impacts the performance of low-latency applications, leading to fewer requests being processed.

Resolution

There are 4 possible workarounds/solutions to address this issue

  • Push the app with a previous Java Buildpack version that may still be installed in your platform.
  • Update the AppDynamics Agent with environment variable JBP_CONFIG_APP_DYNAMICS_AGENT set to '{ version: 24.7.1_36300 }' . E.g 
    cf set-env <APP-NAME> JBP_CONFIG_APP_DYNAMICS_AGENT '{ version: 24.7.1_36300 }'

     or with manifiest.yml: E.g 

    env:
        JBP_CONFIG_APP_DYNAMICS_AGENT: '{ version: 24.7.1_36300 }'
  • Update the Java Buildpack to v4.0.74+ which will contain a newer version of the AppDynamics Agent.
  • Update TAS to 4.0.32+, 6.0.12+ or Tanzu Platform for Cloud Foundry 10.0.2+ which will contain a newer version of the commercial Java Buildpack that as well will come with a newer version of the AppDynamics Agent.