Seunghwan is in charge of LINE OpenChat back-end development
In my last post, Monitoring Prometheus metrics from Armeria, we took a look at how you can monitor Armeria metrics using Grafana. In this post, I would like to show you how you can customize Armeria metrics to suit your needs. The sample code in this post uses the same sample code from Monitoring Prometheus metrics from Armeria. Customizing metrics prefixes using MeterIdPrefixFunction In the last post I mentioned that you can customize the default prefix appended to metrics by us
In this post, we'll be taking a look at how you can monitor Prometheus metrics collected with Armeria. For those of you who are trying Armeria for the first time, I will be adding simple practice samples so that you can follow along. Practice exercise The practice session was designed on macOS Big Sur. Let's now take a look at how you should install and configure Gradle, Prometheus, and Grafana to run the samples, and see what the results are. Configuring Gradle
What is a circuit breaker? Suppose an unexpected failure occurs (For example, a network issue or a server crash) and a remote server is unable to respond to the request. If so, the client who made the request to the remote server will either wait for a response until a timeout occurs, consume resources, or eventually continue to send unnecessary requests. And on a Microservice Architecture (MSA), this client can also be a server for other services. In the end, clients of this server will have
Ikhun is developing for open-source Armeria and Central Dogma at LINE Plus.
In the first part of this blog post, we took a look at the basic concepts of Reactive Streams. In part 2 of this blog post, I'd like to tell you about how we use Reactive Streams with Armeria. What’s Armeria? Armeria is an open-source asynchronous HTTP/2, RPC, REST client/server library based on Java 8, Netty, Thrift, and gRPC. While Armeria is a lightweight microservices framework, its capabilities is comparable to existing full stack web frameworks. Let's first take a look at so
What is Reactive Streams? In this post, I'd like to introduce the basic concept of Reactive Streams, and how to use Reactive Streams with Armeria, the open-source asynchronous HTTP/2, RPC, REST client/server library. Let's begin by examining what Reactive Streams is. The official homepage of Reactive Streams defines it as follows. Reactive Streams is a standard for asynchronous data processing in a streaming fashion with non-blocking back pressure. Let's take a closer look at wh
LINE Engineer
.bl_content pre code {padding: 0;line-height: 11px} As some of you know already, LINE has been actively open-sourcing projects including Armeria and Central Dogma. Today, I'd like to share a bit about Armeria and setting up a simple web server using Armeria. To follow the instructions, you need to have Java and IntelliJ IDEA installed, which can be downloaded from the following links: Java Development Kit IntelliJ IDEA Create a project Let us begin by creating a project. First, run IntelliJ ID