How to paginate using Spring Data JPA?

Spring Data JPA enables pagination through the JpaRepository interface, which extends PagingAndSortingRepository — an interface that provides pagination support. Let’s go over more details with a practical example. If you need to understand how Spring Data JPA works, there are more articles on the blog explaining that: Hands on You’ll need some of the following…

Read More

How to start Kafka using Docker?

It’s possible to use Kafka on various operating systems, but here we’ll use Docker on Ubuntu Linux. We need Docker Desktop installed in order to proceed. You can follow this tutorial to install it:👉 tutorial . Go to Docker Hub and in the search bar, look for “apache kafka”. This will allow us to download…

Read More
Java

What’s the difference between Concurrency and Parallelism?

Concurrency and Parallelism are important concepts for bringing more efficiency to software, but they do not mean the same thing. A software application can handle multiple tasks, and the way these tasks are processed differs in each concept. Concurrency Imagine the scenario where we have a software that needs to process multiple tasks, such as…

Read More
AWS

What is AWS Global Infrastructure?

AWS is able to offer services that are fast, resilient, and accessible from anywhere in the world. This is possible thanks to its global infrastructure — one of Amazon Web Services’ greatest advantages. The following image helps illustrate how it works. Regions These are independent geographic regions that contain multiple Availability Zones (AZs). This way,…

Read More