Configuring RabbitMQ Dead Letter Exchanges, Redis Seckill with Redisson, Elasticsearch Logging, and Redis-Driven Features

RabbitMQ Setup with Dead Letter Handling To handle timed‑order expiry, a RabbitMQ infrastructure consisting of a direct exchange, a durable queue, and a dedicated dead‑letter exchange (DLX) is defined. The queue is declared with arguments that route expired (unconsumed) messages to the DLX after a configured TTL. Below is the Spring configurati ...

Posted on Mon, 15 Jun 2026 16:42:04 +0000 by emfung

Implementing Sequential Data Structures in Lua

Sequential Data via Tables Lua does not implement a distinct array data type; instead, sequential data structures are represented using tables. These tables function as dynamic arrays that can automatically resize to accommodate new elements. Because Lua tables are flexible, they can store values of any type, including numbers, strings, boolean ...

Posted on Wed, 13 May 2026 03:53:24 +0000 by CJLeah

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

Integrating Lua with Nginx for High-Performance Scripting

Lua Syntax Fundamentals Nginx and Lua Environment Objective: Use Nginx combined with Lua to implement a canary release strategy. Lua Overview A lightweight, compact, and highly extensible scripting language. Nginx+Lua Advantages Combines the efficient concurrency handling of Nginx's event-driven mechanism (epoll) with the agility of Lua, makin ...

Posted on Thu, 07 May 2026 13:09:47 +0000 by jdpatrick