Fixing "Go to Definition" for Elixir's standard library

Coming to Elixir (and VSCode) from Java/Kotlin (and IntelliJ IDEA) was a big shock! Almost a year ago I’ve decided to change things a bit and accepted an offer from a company whose whole stack (100+ microservice) is written in Elixir. After being spoiled for years by JetBrains’ tools, using VSCode as my primary IDE (let’s call it that) felt awful the first couple of days (or even weeks). Of course, not having a proprietary language server means there will be some issues and my understanding of the new tooling was not the best so the initial struggle was normal....

July 28, 2022 · 4 min

Testing Spring WebFlux Applications

Updated at 25 Feb 2021 Despite this blog post being created recently, I wanted to stick with the same library version as in the blog post that precedes it so that there are no changes due to API evolution. However, I’ve created an up-to-date branch where code from this blog post is migrated to the new Spring Data R2DBC API and I’ll do my best to keep it up-to-date. Overview In the last blog post, we’ve seen how to use Project Reactor and Spring Webflux to create a reactive Spring application that exposes an endpoint, fetches some data from a database, calls third-party API to get the additional information, and then returns everything as a JSON....

February 24, 2021 · 21 min

Spring WebFlux Introduction

Updated at 25 Feb 2021 Since creation of this blog post, there have been some changes in the Spring Data R2DBC library that’s used for accessing a database. Most recent version of code can be found here and I’ll do my best to keep this branch up-to-date. Overview In the second post, we’ve talked about the basics of Project Reactor and now it’s the time to apply this in practice. Instead of creating a Spring WebFlux application, we’ve will see how to migrate a small Spring MVC application to a Spring WebFlux one....

June 18, 2020 · 17 min

Introduction to Project Reactor

In the first post we’ve learned about Reactive Streams specification and the next logical thing would be to take a look at one of its implementations. In our case, this will be Project Reactor as it comes bundled with Spring Framework which will be useful in the upcoming posts. We’ve seen basic types that Project Reactor library offers and in this post we will go through them in more detail....

May 13, 2020 · 11 min

Hello, Reactive Streams!

In recent years, it seems like reactive programming has found its place in the world of software development. This is especially obvious when you look at both mobile platforms (Android and iOS) as well as JavaScript and libraries like RxJava, RxSwift, and RxJS. Handling user interactions with a UI, making API calls in parallel and maybe even sending events to an analytics server while keeping your app from stuttering in an environment that has limited resources is not an easy job....

May 5, 2020 · 5 min