Welcome to Creative Sudio14 Blogs, your dedicated resource for in-depth articles, tutorials, and discussions on the latest advancements in software development.

We believe in continuous learning and sharing knowledge. Our content is crafted by experienced professionals and aims to cater to both beginners looking to grasp fundamentals and seasoned developers seeking advanced insights.

Join us as we explore the exciting landscape of technology, one line of code and one innovative idea at a time!

Install n8n on AWS EC2 Ubuntu with Postgress using Docker and Docker Compose and Host it to Custom Domain

Welcome to another exiting topic on installing n8n on an EC2 Ubuntu instance, This is most reliably done using Docker and Docker Compose. This method ensures all dependencies are encapsulated and avoids conflicts with other software on your server.

Here is a step-by-step guide to install n8n on an EC2 Ubuntu instance using Docker.

Assuming you have created a EC2 instance with Ubuntu OS. Launch the instance and connect to the instance via SSH and follow below steps,

[Read More]

Secure Your Spring Boot and Angular Application with JWT Authentication: A Comprehensive Guide

alt

In the world of web development, security is a critical aspect that cannot be overlooked. This blog post will guide you through the process of securing your Spring Boot backend and Angular frontend using JSON Web Tokens (JWT) for authentication. We’ll cover the generation and validation of JWT on the server side, as well as implement the necessary features on the Angular side to handle authentication, error interception, and token storage.

[Read More]

Connecting Kafka to Spring Boot: A Step-by-Step Guide Using KafkaTemplate

Hello, Tech enthusiasts! Today, we’re going to learn how to connect to one of the most widely used distributed streaming platforms, Kafka, from Spring Boot. This will be a brief write-up as we’ll be utilizing KafkaTemplate, which makes our lives easier. Let’s dive in.

If you like to learn in action, below is the video version that goes over the implementation.

Overview

We will create a Rest endpoint that will be responsible for posting the message into the Kafka topic and the consumer who is also part of the same project listening to the topic will print the received message on the console.

[Read More]

sudo apt-get update sudo apt-get install libnss3 libnspr4 libfontconfig1 libcups2t64 libxtst6 libxss1 libasound2t64 libatk-bridge2.0-0t64 libgtk-3-0t64

API Rate Limiting using Resilience4J & Spring Boot

Introduction

In this blog, we’ll dive into the critical concept of API Rate Limiting and see how to implement a robust solution using Resilience4J in a Spring Boot application.

We will cover:

  • What API Rate Limiting is.
  • How the basic Fixed Window algorithm fails (the bursting issue).
  • How the Sliding Window algorithm, used by Resilience4J, solves the problem.
  • Implementing and configuring rate limiting in a Spring Boot REST API.
  • Testing the solution using JMeter.

What is API Rate Limiting?

API Rate Limiting is a defensive mechanism used to restrict the number of client requests an API will process within a specified time duration.

[Read More]