Introduction to Apache Spark 1. Introduction Apache Spark is an open-source cluster-computing framework. It provides elegant development APIs for Scala, Java, Python, and R that allow developers to execute a variety of data-intensive workloads across diverse data sources including HDFS, Cassandra, HBase, S3 etc. Historically, Hadoop’s MapReduce prooved to be… Continue Reading apache-spark

String Performance Hints ** 1. Introduction In this tutorial, we’re going to focus on the performance aspect of the Java String API. We’ll dig into String creation, conversion and modification operations to analyze the available options and compare their efficiency. The suggestions we’re going to make won’t be necessarily the… Continue Reading java-string-performance

Reactive WebSockets with Spring 5 1. Overview In this article, we’re going to create a quick example using the new Spring Framework 5 WebSockets API along with reactive features provided by the Spring WebFlux Framework. WebSocket is a well-known protocol that enables full-duplex communication between client and server, generally used… Continue Reading spring-5-reactive-websockets

Spring Data MongoDB Tailable Cursors 1. Introduction In this tutorial, we’re going to discuss how to use MongoDB as an infinite data stream by utilizing tailable cursors with Spring Data MongoDB. 2. Tailable Cursors When we execute a query, the database driver opens a cursor to supply the matching documents.… Continue Reading spring-data-mongodb-tailable-cursors

Java Weekly, Issue 224 Here we go… 1. Spring and Java ===== >> Monitor and troubleshoot Java applications and services with Datadog Sponsored Optimize performance with end-to-end tracing and out-of-the-box support for popular Java frameworks, application servers, and databases. Try it free. >> ShuffleCollector [javaspecialists.eu] We can easily sort a… Continue Reading java-weekly-224