BlockHound
Java agent to detect blocking calls from non-blocking threads. (by reactor)
reactive-kotlin-weather-api
By iodigital-com
BlockHound | reactive-kotlin-weather-api | |
---|---|---|
6 | 1 | |
1,297 | 1 | |
0.5% | - | |
7.4 | 10.0 | |
12 days ago | over 1 year ago | |
Java | Kotlin | |
Apache License 2.0 | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
BlockHound
Posts with mentions or reviews of BlockHound.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-18.
- Is there a good way to monitor code for blocking operations?
-
Reactive Backend Applications with Spring Boot, Kotlin and Coroutines (Part 1)
There is a great tool called Blockhound we can use to detect if/when we have a blocking call in our application. This way, we can ensure that we don't break the non-blocking nature of our application by mistake while developing new features. Setting it up is fairly straightforward.
- Using Java's Project Loom to build more reliable distributed systems
-
3 Reasons Why All Java Developers Should Consider Quarkus
There's even a test library to detect them: https://github.com/reactor/BlockHound
-
BlockHound: how it works
One of the talks in my current portfolio is Migrating from Imperative to Reactive. The talk is based on a demo migrating from Spring WebMVC to Spring WebFlux in a step-by-step approach. One of the steps involves installing BlockHound: it allows to check whether a blocking call occurs in a thread it shouldn't happen and throws an exception at runtime when it happens.
-
Kicking Spring Native's tires
The first step is to make the application compatible with GraalVM. We need to remove Blockhound from the code. Blockhound allows verifying that no blocking code runs in unwanted places. It's a Java agent that requires a JDK, not a JRE. It's great for a demo, but it has nothing to do with a production application.
reactive-kotlin-weather-api
Posts with mentions or reviews of reactive-kotlin-weather-api.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-10.
-
Reactive Backend Applications with Spring Boot, Kotlin and Coroutines (Part 1)
You can find the source code of this application at github.com/iodigital-com/reactive-kotlin-weather-api.
What are some alternatives?
When comparing BlockHound and reactive-kotlin-weather-api you can also consider the following projects:
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
Reactive Streams - Reactive Streams Specification for the JVM
imperative-to-reactive - Shows how to migrate from a Imperative Programming model to a Reactive Programming model step-by-step, while keeping caching
r2dbc-postgresql - Postgresql R2DBC Driver
lucene-grep - Grep-like utility based on Lucene Monitor compiled with GraalVM native-image
reactor-core - Non-Blocking Reactive Foundation for the JVM
agroal - The natural database connection pool
initializr - A quickstart generator for Spring projects
Flyway - Flyway by Redgate • Database Migrations Made Easy.
BlockHound vs spring-native
reactive-kotlin-weather-api vs Reactive Streams
BlockHound vs imperative-to-reactive
reactive-kotlin-weather-api vs r2dbc-postgresql
BlockHound vs lucene-grep
reactive-kotlin-weather-api vs reactor-core
BlockHound vs agroal
reactive-kotlin-weather-api vs initializr
BlockHound vs reactor-core
reactive-kotlin-weather-api vs Flyway
BlockHound vs Flyway
BlockHound vs Reactive Streams