Spring Boot R2DBC INSERT batching (Reactive SQL)

Batching is the act of gathering multiple statements together and executing them over a single database connection. Batching has performance benefits since the database can better optimize the batched queries, however it also "saves" having to open individual database connections and reduces connection starvation. Connection starvation in Postgres ends up spitting out errors along the … Continue reading Spring Boot R2DBC INSERT batching (Reactive SQL)

Speeding up Spring MVC with CompletableFuture

Recently we're beginning to see a shift towards asynchronous/reactive workloads within the Spring ecosystem, especially since the release of WebFlux and the more recent support for Kotlin co-routines. However, both these require moving towards monos, fluxes, and libraries that support these reactive constructs. Support for reactive paradigms is steadily increasing however many of us are … Continue reading Speeding up Spring MVC with CompletableFuture