Posts

Showing posts with the label measure

Stories about detecting Atlassian Confluence bottlenecks with APM tool [part 1]

Image
  Hey! Gonchik, a lover of APM (application performance monitoring) tools, in particular Glowroot, is in touch. Today I will tell you how to find bottlenecks in Confluence On-Prem in the shortest possible time based on one industrial installation. We are faced with a situation where a large number of people simultaneously break into the knowledge base on Confluence On-Prem (during the certification), and the Confluence dies for some time. We immediately thought that the problem is precisely in the simultaneous number of visitors and we can immediately tweak the JVM, but it turned out that not everything is so simple. Below I will tell you how we found the real cause of the brakes and how we dealt with it. The main task: to conduct an audit and, on its basis, achieve performance improvements, especially in times of a large number of active users in the system. Of course, first of all, the hardware resources and OS configurations were checked, where no problems were identified. Howev...

Let's customize logging of reverse proxy or time to check response time of application in real time

Image
  Hi wonderful community!   So at the moment, a lot of companies understood WFH (working from home) is efficient for the productivity and services should much faster. Hence I will share typical use cases for investigating the slowness because the first thing is to measure the response time: Today I would like to share some easy trick related to the configuration related to the reverse proxy which is used by the mostly on-premises setup of Atlassian product.   Let’s start from popular  nginx :               $upstream_response_time  - keeps time spent on receiving the response from the upstream server; the time is kept in seconds with millisecond resolution. Times of several responses are separated by commas and colons like addresses in the  $upstream_addr  variable.  Detailed info:  https://nginx.org/en/docs/http/ngx_http_upstream_module.html               $request_time ...

Houston, we have a problem! What an APM tool we will use to find a bottlenecks?

Image
  Hi!  I would like to share a series of articles related to the APM( Application performance monitoring) tool. It based on my investigation of different problems related to the performance.  Let's start from most popular in industry tool "New Relic".  1. We have a business case: it is the angry end of users :)  2. Requirements: 2.1. ASAP detect the bottleneck 2.2. Continuously monitoring the problem 2.3. Possibility to review (on browser side, on backend side and RDMS side as well) 2.4. Price and Functionality   Let's start from scratch.  1. We need to register and install ab agent in our situation is java.  You will see below panel. I have spent on test environment around 5 min to install.  2. For the realistic situation, I have installed an app with the leak. Where immediately NewRelic detects the problem:  3. On the tab of the transaction, you can find the slowest average response time:    4. After we that we can inves...