-
Maximizing read throughput of ScyllaDB table scan using shard-awareness
Test. To read a set of token ranges do the following: We want this… …instead of this. The Task We want to read a given set of token ranges as fast as possible. This can be a full table scan, reading only token ranges for which a Scylla node is the primary replica, or any…
-
Release a Gradle Project Using GitLab CI/CD Pipeline
Release and publish a Gradle project from GitLab CI/CD pipeline to a Maven repository.
-
Introducing ReactiveInflux: non-blocking InfluxDB driver for Apache Spark
The first release of ReactiveInflux developed at Pygmalios – a non-blocking driver for both Scala and Java featuring immutability, testability and extensibility. Comming with a support for Apache Spark it is the weapon of choice.
-
Exclude log4j to use slf4j with logback in a Gradle project
The goal is to remove log4j from all transitive dependencies in a Gradle project and replace it by slf4j and logback.
-
Remote Monitoring of Apache Cassandra running in Docker via JMX using Datadog
Step-by-step guide on how to remotely monitor Apache Cassandra in Docker container via JMX using cloud monitoring service Datadog.
-
Integration testing with Gradle
Unit testing works aically using Gradle, but if you would like to have a separate set of integration tests you need to do a small exercise. Actually they don’t have to be integration tests at all. This guide shows you how to configure Gradle to use any kind of tests and run them independently from…
-
Build and release Scala/Java Gradle project in GitLab using Jenkins to Artifactory
I am going to show in detail how to regularly build your project and then how to make a release build. It involves cooperation of a number of tools which I found tricky to set up properly, that’s why I wrote this. The goal I am about to show you how to achieve two following…
-
Await without waiting
Scala has recently introduced async and await features. It allows to write clean and easy-to-understand code for cases where otherwise complex composition of futures would be needed. The same thing already exists in C# for quite a while. But I always had a feeling that I don’t really know how does it work. I tried…
-
With a little help from our friends
“How many bugs have your unit tests found? And why they didn’t find the one that’s currently killing our production? See? This proves that unit testing doesn’t work. It’s just a waste of money. My money.” said the boss. Of course not my boss. That’s actually a pretty valid point. How to prove that unit…
-
The Rule of Failed Integration Build
What to do if an integration build fails? By failing I mean either there is a compilation error or an aed test fails. The general rule in most of the teams that I worked with is that this situation should be treated with the highest priority. The developer who has caused this problem is responsible…