Send raw bytes to Redis with RedisTemplate
By default, RedisTemplate convert our data to String before sending it to Redis. In some case, sending raw bytes can help us save some memory.
About technology stuff that piqued my interest
By default, RedisTemplate convert our data to String before sending it to Redis. In some case, sending raw bytes can help us save some memory.
Fire and forget means we start an action and don’t care when or how it finish. Let’s see how we can achieve this with Kotlin
Implementing a DSL can’t be easier with Kotlin. Today, we will create a toy DSL to query data from Elasticsearch cluster.
Elasticsearch requests can take a long time. In such cases, we can send them in an asynchronous way, or use async search request.
In Kotlin, Elasticsearch API Client is the recommended library to interact with Elasticsearch cluster. Today, e will find out how to use it to query data.
Query boosting is an interesting technique in Elasticsearch. It lets you control the impact of each query on the final score of matching documents
Sometimes, we need to modify Datadog metrics emitted by a third party libraries. In that case, the MeterFilter interface is a powerful tool.
Kotlin has great support for implementing the delegation pattern. But we must be mindful of its limitations and pitfalls.
At first glances, null safety in Kotlin seems to add new types to the JVM. In this article, we will take a deep dive and see how it is actually implemented.
In today’s article, we will look at how to handle exceptions occurred inside children of coroutines created by the launch builder.