Tag

MessageQueue

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Oct 7, 2024 · Backend Development

Interview Review: Java ThreadPool, Redis, Message Queue, Network, and Algorithms

This article shares a ByteDance interview experience and provides detailed technical explanations on Java thread pools, Redis internals, message queue usage, computer networking processes, HTTP/HTTPS differences, and a sample algorithm problem, offering valuable insights for backend developers.

InterviewJavaMessageQueue
0 likes · 17 min read
Interview Review: Java ThreadPool, Redis, Message Queue, Network, and Algorithms
Architect's Guide
Architect's Guide
Aug 25, 2024 · Backend Development

Eight Ways to Implement Asynchronous Execution in Java

This article introduces eight common Java asynchronous implementation techniques—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, third‑party utilities like Hutool ThreadUtil and Guava ListenableFuture—explaining their usage, code examples, advantages, and drawbacks for improving performance in scenarios such as sending SMS or emails.

CompletableFutureFutureGuava
0 likes · 14 min read
Eight Ways to Implement Asynchronous Execution in Java
Selected Java Interview Questions
Selected Java Interview Questions
Feb 19, 2024 · Backend Development

Eight Ways to Implement Asynchronous Programming in Java

This article introduces eight common Java asynchronous implementation techniques—including raw threads, thread pools, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—explains their use cases, advantages, and limitations, and provides concrete code examples for each method.

CompletableFutureJavaMessageQueue
0 likes · 11 min read
Eight Ways to Implement Asynchronous Programming in Java
Code Ape Tech Column
Code Ape Tech Column
Jan 15, 2024 · Backend Development

Understanding the Internal Working of Redisson DelayedQueue

This article explains how Redisson's DelayedQueue implements a distributed delayed message queue, covering basic usage, internal data structures, the overall processing flow, and detailed code analysis of sending, receiving, and initializing delayed messages in Java.

DelayedQueueDistributedQueueJava
0 likes · 16 min read
Understanding the Internal Working of Redisson DelayedQueue
Architect
Architect
Nov 2, 2023 · Backend Development

Understanding RocketMQ Consumer Scaling and MessageQueue Allocation Strategies

This article explains when adding consumers to a RocketMQ topic improves message consumption, the reasons for consumer pull delays, and details six MessageQueue allocation strategies—including average, round‑robin, custom, machine‑room, nearby, and consistent‑hash—accompanied by code examples.

JavaLoad BalancingMessageQueue
0 likes · 11 min read
Understanding RocketMQ Consumer Scaling and MessageQueue Allocation Strategies
Sanyou's Java Diary
Sanyou's Java Diary
Oct 30, 2023 · Backend Development

Mastering API Retry Strategies in Java: 8 Proven Techniques

This article presents eight practical ways to implement retry mechanisms for third‑party API calls in Java, covering simple loops, recursion, built‑in HttpClient handlers, Spring Retry, Resilience4j, custom utilities, asynchronous thread‑pool retries, and message‑queue based retries, plus best‑practice guidelines.

ConcurrencyHttpClientJava
0 likes · 17 min read
Mastering API Retry Strategies in Java: 8 Proven Techniques
Code Ape Tech Column
Code Ape Tech Column
Jun 8, 2023 · Backend Development

RocketMQ Consumer Scaling and MessageQueue Allocation Strategies Explained

The article explains when adding consumers can reduce RocketMQ backlog, the reasons for delayed message pulling, handling slow external services, and details six different MessageQueue allocation strategies—including average, round‑robin, custom, machine‑room, nearby, and consistent‑hash—accompanied by Java code examples.

JavaLoad BalancingMessageQueue
0 likes · 10 min read
RocketMQ Consumer Scaling and MessageQueue Allocation Strategies Explained
Architect's Guide
Architect's Guide
May 12, 2023 · Backend Development

Eight Ways to Implement Asynchronous Programming in Java

This article introduces the concept of asynchronous execution and presents eight practical Java implementations—including Thread, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—along with code examples and usage tips for each method.

CompletableFutureFutureJava
0 likes · 12 min read
Eight Ways to Implement Asynchronous Programming in Java
Top Architect
Top Architect
Apr 28, 2023 · Backend Development

Netty TCP Demo: Long‑Lived Socket Connection Architecture and Implementation

This article presents a complete Netty‑based TCP demo for IoT projects, detailing the project background, architecture, module layout, business flow, and in‑depth Java code examples—including a local queue, multithreaded processing, client creation, Redis locking, and SpringBoot integration—along with testing instructions and source links.

ConcurrencyJavaMessageQueue
0 likes · 19 min read
Netty TCP Demo: Long‑Lived Socket Connection Architecture and Implementation
Top Architect
Top Architect
Apr 21, 2023 · Backend Development

Netty TCP Long‑Connection Demo for IoT Messaging with Redis and Spring Boot

This article presents a complete Netty‑based TCP client/server demo for IoT long‑connection messaging, explains the project architecture, module layout, business flow, and provides detailed Java code for a local message queue, multithreaded processing, client creation, handler logic, and testing endpoints.

IoTJavaMessageQueue
0 likes · 19 min read
Netty TCP Long‑Connection Demo for IoT Messaging with Redis and Spring Boot
Top Architect
Top Architect
Apr 25, 2022 · Backend Development

Comprehensive Guide to Disruptor: Core Concepts, Implementation, and Demo in Java

This article introduces the high‑performance Disruptor library, explains its background, core concepts such as RingBuffer, Sequence, Sequencer, and WaitStrategy, and provides a step‑by‑step Java implementation with Maven dependencies, event factories, handlers, producers, and a runnable test case.

ConcurrencyDisruptorHighPerformance
0 likes · 12 min read
Comprehensive Guide to Disruptor: Core Concepts, Implementation, and Demo in Java
Top Architect
Top Architect
Feb 21, 2022 · Databases

Comprehensive Redis Technical Guide and Interview Q&A

This extensive guide covers Redis fundamentals, data structures, persistence mechanisms, clustering, sentinel high‑availability, performance tuning, common pitfalls, and practical use‑case implementations, providing detailed answers and code examples for interview preparation and real‑world development.

CachingClusteringDatabase
0 likes · 66 min read
Comprehensive Redis Technical Guide and Interview Q&A
IT Architects Alliance
IT Architects Alliance
Sep 24, 2021 · Databases

Common Redis Use Cases and Implementation Patterns

This article presents a comprehensive guide to using Redis for caching, distributed data sharing, distributed locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow relationships, and ranking, complete with code examples.

BitmapsCachingDataStructures
0 likes · 8 min read
Common Redis Use Cases and Implementation Patterns
Code Ape Tech Column
Code Ape Tech Column
Aug 6, 2021 · Backend Development

Common Redis Use Cases: Caching, Distributed Locks, Counters, Rate Limiting, and More

This article outlines a variety of practical Redis use cases—including caching, distributed sessions, locks, global IDs, counters, rate limiting, bitmap statistics, shopping carts, timelines, message queues, lotteries, likes, product tagging, filtering, follow/recommendation models, and ranking—demonstrating how Redis can support diverse backend functionalities.

BitMapCachingDistributedLock
0 likes · 9 min read
Common Redis Use Cases: Caching, Distributed Locks, Counters, Rate Limiting, and More
Top Architect
Top Architect
Feb 25, 2021 · Mobile Development

Why Android Activity onStop/onDestroy Is Delayed by 10 Seconds When an Infinite Animation Is Running

The article explains that an infinite View animation continuously posts invalidate messages to the MessageQueue, preventing the idle handler from running and causing the Activity's onStop and onDestroy callbacks, scheduled with a 10‑second idle timeout, to be delayed until the queue becomes idle.

ActivityLifecycleAndroidIdleHandler
0 likes · 28 min read
Why Android Activity onStop/onDestroy Is Delayed by 10 Seconds When an Infinite Animation Is Running
vivo Internet Technology
vivo Internet Technology
Nov 18, 2020 · Mobile Development

In‑Depth Analysis of Android Handler Mechanism, Looper, MessageQueue and Their Practical Applications

The article dissects Android’s Handler‑Looper‑MessageQueue architecture, explaining ThreadLocal‑based Looper binding, various Handler constructors, async versus sync messages, barrier handling, IdleHandler, HandlerThread and IntentService usage, and the differences between Handler.post and View.post for responsive UI development.

AndroidConcurrencyHandler
0 likes · 29 min read
In‑Depth Analysis of Android Handler Mechanism, Looper, MessageQueue and Their Practical Applications
Qunar Tech Salon
Qunar Tech Salon
Nov 18, 2020 · Mobile Development

Understanding Android Looper, MessageQueue, and Native Message Handling

This article explains how Android drives applications through a message‑driven model by detailing the roles of Message, MessageQueue, Looper, Handler, and ThreadLocal, and walks through the native implementation of ActivityThread's main loop, including prepareMainLooper, MessageQueue initialization, epoll integration, and the polling mechanisms that power the message processing cycle.

AndroidLooperMessageQueue
0 likes · 17 min read
Understanding Android Looper, MessageQueue, and Native Message Handling
Top Architect
Top Architect
May 3, 2020 · Backend Development

Deploying RocketMQ with Docker and Integrating It into a Spring Boot Application

This guide walks through setting up a RocketMQ server using Docker Compose, configuring the necessary broker and name server files, and then demonstrates how to quickly start the services and integrate RocketMQ with Spring Boot via the rocketmq‑spring‑boot‑starter, including full code examples.

DockerDockerComposeMessageQueue
0 likes · 10 min read
Deploying RocketMQ with Docker and Integrating It into a Spring Boot Application
Sohu Tech Products
Sohu Tech Products
Sep 25, 2019 · Mobile Development

Understanding Android Handler, Looper, and MessageQueue: Design and Implementation

This article explains the design and implementation of Android's Handler mechanism, detailing how Handlers, Messages, MessageQueue, and Looper work together to enable thread communication, avoid memory leaks, and manage message sending, queuing, and processing, with source code examples and best practices.

AndroidHandlerLooper
0 likes · 21 min read
Understanding Android Handler, Looper, and MessageQueue: Design and Implementation