MongoDB import/export data can be performed using many different tools. In this post we show how to use them to move MongoDB data around!
Divide and Conquer algorithms are great subject for parallelism. Here we present Parallel Merge Sort implemented using Java ForkJoin Framework.
“Turning the database inside out with Apache Samza” by Martin Kleppmann is a great talk about architecting systems around Event Streams (or Transaction Logs) and creating Materialized Views from it.
When Gradle is building a project then by default it will fail when any of build tasks fails. But sometimes we may want Gradle to continue build even with failed tests.
Java 8 Comparators with Method References in action. We mix Java 8 static and default methods with method references to sort objects by multiple fields using chained Comparators!
MongoDB has plenty of cool features to work with documents, but I found it less than obvious how to update document in array. So here it is…
Regular Expressions are very handy for text processing. In this article we’ll show Java Regex to remove duplicated words, which is a common task.
A pretty cool exercise in writing Java Regular Expressions is to write Java regex matching IP Address. In this post we’ll show IP regexp and use in IP Address validator.
Static Factory Method is very popular pattern that simplify and clarify creation of objects. Can be used instead of or in addition to constructors.