Systems | Development | Analytics | API | Testing

JSON Logging: 7 Must-Know Tips

The performance of a applications and company's infrastructure is critical to its success. We all know how crucial logs are when it comes to diagnosing performance and availability issues. Is troubleshooting, however, the sole function of logs? Obviously not. You've probably discovered they're vital in other ways as well throughout the years. The visualisation of business dashboards is another use of logs. Here's why JSON logging is the ideal format for storing logs.

Resolving TypeError: "X" is Not a Constructor in JavaScript

A constructor is a special function that creates and initializes an object instance of a class. In JavaScript, a constructor gets called when an object is created using the new keyword. The purpose of a constructor is to create a new object and set values for any existing object properties.

Encapsulation in OOP: Definition and Examples

Programming is all about solving problems. An essential aspect of solving these problems through software is modeling and embodying real-life entities and manipulating these abstractions in a structured way to simulate operations and get things done. Different programming paradigms approach this facet of writing code differently. One of the most popular of these paradigms is object-oriented programming (OOP) that deals with class templates and their object instantiations.

The Developer Playground now supports REST API

One of the best features in ThoughtSpot Everywhere is the Developer Playground. The Playground lets frontend Developers visually configure elements and generate JavaScript code to add into your web app. It is an amazing tool for testing and iterating configuration options before adding final elements such as Search, Liveboards, and visualizations into your web app. But what about a backend Developer who might be building solutions that utilize the Platform’s APIs?

How We Got a 12% Increase in RPS and a 37% Drop in Latency

At Kong, we run performance testing in CI in every commit or pull request that has a potential performance impact, as well as on each release. Thanks to the performance testing framework and its integration with Github Actions, we can easily get basic metrics like RPS and latency. Also, flame graphs to pinpoint the significant part that draws down performance. With that workflow in place, we figured one of the most significant parts of Kong’s hotpath is Nginx variable accesses.

4 Ways to Leverage Kong's jq Plugin

As part of the Kong Gateway 2.6 release, we shipped a brand new jq plugin for anyone with an enterprise license to use. It’s like we combined the request and response transformer plugins to form a single, more powerful plugin—supercharging the way we work with request and response bodies. If you’re not familiar with jq, it’s a JSON processing language that allows you to manipulate any JSON document and transform it however you need.