days
-4
0
hours
-1
-8
minutes
-3
-1
seconds
-5
-8
search

#tutorials

How to evenly distribute traffic

Load balancing: Round robin may not be the right choice

When it comes to load balancing, round robin may not be the best algorithm to choose from. If auto-scaling is instrumented, it is even worse. In this article, see a simple example explaining why this is so, how the round robin algorithm works, and which load balancing algorithm you should potentially pick instead for even traffic distribution.

CI/CD for Spring Boot Microservices: Part 2

Extending CI/CD: Kubernetes Continuous Deployment for Microservices

This is part two of a tutorial series by Tomas Fernandez. By the end of this article, you will know how to introduce Kubernetes into CI/CD. Docker allows us to create easy-to-deploy, portable packages for our application. With Kubernetes, we can run those packages in the cloud, scaling them up and down to go along with fluctuating demands, and releasing updates with no downtime.

Preventing man-in-the-middle attacks

TLS certificate pinning on mobile apps to secure from MiTM attacks

Mobile security has become more important than ever, especially as many employers adopt Bring Your Own Device for remote and in-house employees. What is TLS certificate pinning? Find out all about it and how to implement TLS pinning on Android and iOS apps and prevent man-in-the-middle (MiTM) attacks on mobile apps.

Tutorial: Setting up a CI/CD pipeline

CI/CD for Spring Boot Microservices: Part 1

How can you get started with Continuous Integration with Spring Boot? In this tutorial, learn how Continuous Integration and Delivery will help you test and prepare a Java app for Docker. This is part one of a tutorial series by Tomas Fernandez. By the end of this article, you will have set up your first CI/CD pipeline and know all about it!

A curious production problem

TCP: out of memory — consider tuning tcp_mem

Ram Lakshmanan discusses a curious production problem with an application running on multiple AWS EC2 instances behind Elastic Load Balancer. In this article, find out about the error message “TCP: out of memory — consider tuning tcp_mem”, how it was handled, and some concluding advice about memory problems and the ‘dmesg’ command.

Becoming acquainted with Cassandra

Tutorial: Getting started with Apache Cassandra

Apache Cassandra is a database that offers high availability and massive scalability. In this tutorial, Scott Hendrickson, Cloud Architect Team Lead, at DataStax shows you how to get started using Apache Cassandra. Find out how to create a service for a video recommendation application as a starting point for learning more about how Apache Cassandra works.

Answering some common questions

Who? Why? What? Fix? – System.gc()

In this article, Ram Lakshmanan goes over some commonly asked questions about the System.gc() API call. What is System.gc()? How do you detect whether System.gc() calls are made from your application? What are the downsides of invoking System.gc()? Find out all this and more.

Multiple stages are not only a best practice but also mandatory

Multiple stages within a Kubernetes cluster

When you are planning to transition into the cloud, you may wonder how many Kubernetes clusters you will need. If you want to learn how to create isolated stages within a Kubernetes cluster, this article is for you. Michael Frembs also discusses the advantages and disadvantages of multiple stages.

Making Java development more appealing

REST API Vision with Manifold

Discover how to use Manifold to enable JSON Schema as your REST API single source of truth (SSoT). Scott McKinney explains how the new Manifold framework connects your JSON Schema and YAML resources directly to Java without code generators, annotated POJOs, or other go-betweens.