Implementing Rate Limiting and Counters with Redis

Redis provides efficient counting capabilities suitable for rate limiting and access tracking. Common use cases enclude blog view counters and SMS verification code frequency limits. Basic counters face challenges like preventing refresh-triggered increments. The solution involves tracking user access within specific time windows and storing da ...

Posted on Sun, 10 May 2026 17:33:56 +0000 by helpmeplease1234

Spring Boot Static Resource Configuration and Deployment Packaging

Static Resource Configuration Configure static resource locations in application.yml: spring: resources: static-locations: classpath:/static/ WAR Package Deployment To package as WAR file, update pom.xml packaging type: <packaging>war</packaging> <build> <plugins> <plugin> <group ...

Posted on Sun, 10 May 2026 16:32:22 +0000 by Noctule

University Club Management System: Full-Stack Architecture with Spring Boot and Vue.js

Technical Stack Overview The backend leverages Spring Boot's auto-configuration capabilities, eliminating manual server setup through embedded Tomcat integration. This framework provides production-ready features including dependency injection, transaction management, and seamless integration with Spring Security and Spring Data ecosystems. The ...

Posted on Sun, 10 May 2026 13:19:37 +0000 by edwardp

Building a Netty-Based Data Forwarding Service in Spring Boot

Environment: Windows 10, JDK 17, Spring Boot 3 Introduction to Netty Nety is an asynchronous, event-driven network application framework for Java that simplifies the development of high-performance, reliible network servers and clients. It supports multiple protocols including TCP, UDP, and HTTP, and abstracts low-level networking complexities ...

Posted on Sun, 10 May 2026 00:41:50 +0000 by gregor63

Implementing JWT Refresh Tokens in Spring Boot Applications

Securing stateless REST APIs relies heavily on short-lived access tokens paired with longer-lived refresh credentials. This pattern prevents frequent re-authentication while limiting exposure from compromised tokens. Below is a practical implementation of this mechanism using Spring Boot, Spring Security, and the JJWT library. Core Dependencies ...

Posted on Sat, 09 May 2026 22:48:40 +0000 by themire

Enforcing Multi-Device Login Limits with Spring Boot and Netty

Configuration Parameters Define the maximum number of concurrent connections per user and the WebSocket endpoint in application.yml: netty: port: 8082 maxDevices: 2 path: /ws A @ConfigurationProperties class binds these values: @ConfigurationProperties(prefix = "netty") @Component public class NettyProperties { private int ...

Posted on Sat, 09 May 2026 22:12:21 +0000 by yellowepi

Integrating Redis with Spring Boot for Caching, Lua Scripting, and Session Sharing

Integrating Redis as a Cache in Spring Boot To use Redis as a caching layer in Spring Boot, include the spring-boot-starter-cache and spring-boot-starter-data-redis dependencies. Spring Boot auto-configures a RedisTemplate and, when caching is enabled, a RedisCacheManager. Required Dependencies <dependency> <groupId>org.springfr ...

Posted on Sat, 09 May 2026 21:29:26 +0000 by katlis

Developing a Collaborative Educational Platform for Medical Students with Spring Boot and Vue

Digital Transformation in Medical EducationThe integration of modern web technologies into medical education has fundamentally shifted how students access resources and interact with peers. Traditional learning methods lacked the flexibility and interactive coordination required for complex medical studies. By transitioning to a digitally coord ...

Posted on Sat, 09 May 2026 19:57:06 +0000 by pkSML

Quickstart Guide to Integrating Spring Boot with Nacos

Nacos Overview Nacos, derived from Dynamic Naming and Configuration Service, is a platform designed to streamline service discovery, configuration management, and governance in cloud-native environments. It simplifies building, delivering, and managing microservice architectures by offering capabilities for dynamic registration, configuration, ...

Posted on Sat, 09 May 2026 15:50:09 +0000 by Benmcfc

Implementing Video Social Features and Instant Messaging Integration

1. Video Interaction Features The logic for video interactions such as likes, comments, and follows mirrors the implementation used for the social circle features. However, specific adjustments are required to handle Video entities, particularly when retrieving the publisher's ID. 1.1 Backend Service Implementation The interaction service nee ...

Posted on Sat, 09 May 2026 11:41:20 +0000 by al3x8730