Tagged articles
82 articles
Page 1 of 1
java1234
java1234
Jan 24, 2026 · Fundamentals

How to Detect Completion of Thread Pool Tasks in Java

This article explains four practical ways to determine when tasks submitted to a Java ExecutorService have finished—using Future's isDone/get, ExecutorService.invokeAll, CompletionService, and CountDownLatch—each with code examples and usage guidance.

CompletionServiceCountDownLatchExecutorService
0 likes · 8 min read
How to Detect Completion of Thread Pool Tasks in Java
Architect
Architect
Sep 25, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Processing in Java

This article explains why asynchronous execution is essential for reducing latency in Java applications and walks through eight practical implementations—including threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava—complete with code examples and usage tips.

CompletableFutureFutureGuava
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Processing in Java
Code Ape Tech Column
Code Ape Tech Column
Sep 17, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Processing in Java

Explore eight practical techniques for achieving asynchronous execution in Java—from low‑level threads and Futures to Spring’s @Async, ApplicationEvent, message queues, and Guava ListenableFuture—complete with code samples, performance insights, and best‑practice recommendations for building responsive backend services.

AsynchronousFutureJava
0 likes · 13 min read
8 Powerful Ways to Implement Asynchronous Processing in Java
Java Backend Full-Stack
Java Backend Full-Stack
Sep 12, 2025 · Backend Development

How to Handle Exceptions Thrown by Threads in a ThreadPool

This article explains why tasks submitted to a Java ThreadPool via submit silently swallow exceptions while execute prints them, and demonstrates three practical ways—using Future.get(), a custom UncaughtExceptionHandler, and overriding afterExecute—to reliably capture and process those exceptions.

ExecutorServiceFutureJava
0 likes · 14 min read
How to Handle Exceptions Thrown by Threads in a ThreadPool
Code Ape Tech Column
Code Ape Tech Column
Sep 10, 2025 · Backend Development

How to Capture Exceptions from Java ThreadPoolExecutor: submit vs execute

This article explains why tasks submitted with ExecutorService.submit silently swallow exceptions while execute prints them, and demonstrates three practical ways—try‑catch, Thread.setDefaultUncaughtExceptionHandler, and overriding afterExecute—to reliably retrieve exception information from a Java thread pool.

ExecutorServiceFutureJava
0 likes · 14 min read
How to Capture Exceptions from Java ThreadPoolExecutor: submit vs execute
Chen Tian Universe
Chen Tian Universe
Aug 27, 2025 · Artificial Intelligence

What the New “AI+” Policy Means for Everyone: A Simple Breakdown

The article explains China’s newly released “AI+” policy, outlines its three-stage timeline through 2027, 2030 and 2035, compares it with the earlier “Internet+” initiative, and discusses how AI will reshape industries, daily life, jobs and opportunities for individuals.

AIFutureInnovation
0 likes · 18 min read
What the New “AI+” Policy Means for Everyone: A Simple Breakdown
Architect's Guide
Architect's Guide
Jul 25, 2025 · Backend Development

8 Powerful Ways to Implement Asynchronous Programming in Java

This article explains why asynchronous execution shortens request latency and presents eight practical Java techniques—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—complete with code examples and usage tips.

CompletableFutureFutureMessage Queue
0 likes · 13 min read
8 Powerful Ways to Implement Asynchronous Programming in Java
FunTester
FunTester
Jul 1, 2025 · Backend Development

How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies

This article explains why using Thread.sleep() in Java ExecutorService unit tests is unreliable and inefficient, and introduces three robust alternatives—Future.get(), CountDownLatch, and shutdown/awaitTermination—to ensure stable, performant testing of asynchronous WebSocket query scenarios.

CountDownLatchExecutorServiceFuture
0 likes · 13 min read
How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies
FunTester
FunTester
Jun 17, 2025 · Backend Development

How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies

This article explains why using Thread.sleep() in Java ExecutorService unit tests is unreliable and inefficient, and introduces three robust alternatives—Future.get(), CountDownLatch, and shutdown/awaitTermination—to achieve stable and performant testing of asynchronous code.

CountDownLatchExecutorServiceFuture
0 likes · 13 min read
How to Test Java ExecutorService Without Thread.sleep(): Reliable Strategies
FunTester
FunTester
Apr 9, 2025 · Backend Development

Understanding Future and CompletableFuture in Java for Asynchronous Programming

This article explains the concepts, differences, and practical usage of Java's Future and CompletableFuture for asynchronous programming, highlighting their blocking behavior, task composition, exception handling, and suitable scenarios in performance testing and complex test workflows, with detailed code examples.

CompletableFutureFutureJava
0 likes · 14 min read
Understanding Future and CompletableFuture in Java for Asynchronous Programming
macrozheng
macrozheng
Feb 6, 2025 · Backend Development

Mastering Java Async: Future, Callable, CompletableFuture, and FutureTask Explained

This article explores four Java asynchronous programming approaches—Future with Callable, CompletableFuture, and FutureTask—detailing their principles, usage patterns, code examples, and how to retrieve results from thread pools, helping developers improve performance for tasks like aggregating order and fee summaries.

CallableCompletableFutureFuture
0 likes · 12 min read
Mastering Java Async: Future, Callable, CompletableFuture, and FutureTask Explained
Code Ape Tech Column
Code Ape Tech Column
Feb 5, 2025 · Backend Development

Handling Exceptions in Java ThreadPool: submit vs execute and Custom Solutions

This article explains why exceptions submitted to a Java thread pool via submit are silent, how to retrieve them using Future.get(), compares submit and execute behaviors, and presents three practical solutions—including try‑catch, Thread.setDefaultUncaughtExceptionHandler, and overriding afterExecute—to reliably capture and process thread pool errors.

FutureafterExecuteexception-handling
0 likes · 14 min read
Handling Exceptions in Java ThreadPool: submit vs execute and Custom Solutions
21CTO
21CTO
Feb 2, 2025 · Artificial Intelligence

Is Programming Dead in 2025? How AI Is Transforming, Not Replacing, Developers

Amid sensational headlines claiming programming’s demise, this article explores how AI tools like GitHub Copilot and ChatGPT are reshaping software development, boosting productivity while emphasizing the continued need for human creativity, critical thinking, and interdisciplinary skills to thrive in the evolving 2025 coding landscape.

Futureartificial intelligencedeveloper skills
0 likes · 9 min read
Is Programming Dead in 2025? How AI Is Transforming, Not Replacing, Developers
Java Web Project
Java Web Project
Feb 1, 2025 · Backend Development

Choosing the Right Java Async Tool: Future, CompletableFuture, or FutureTask

This article compares three Java concurrency approaches—Future with Callable, CompletableFuture, and FutureTask—explaining their underlying principles, step‑by‑step usage, code examples, and trade‑offs so you can decide which asynchronous tool best fits your reporting workload.

CompletableFutureFutureFutureTask
0 likes · 10 min read
Choosing the Right Java Async Tool: Future, CompletableFuture, or FutureTask
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 25, 2025 · Backend Development

Mastering CompletableFuture in Java: Basics, Advanced Features, and Best Practices

This comprehensive guide introduces Java's CompletableFuture, explains its advantages over the traditional Future API, demonstrates how to create and compose asynchronous tasks, manage thread pools, handle timeouts and cancellations, and apply robust exception handling techniques for reliable concurrent programming.

CompletableFutureException HandlingFuture
0 likes · 16 min read
Mastering CompletableFuture in Java: Basics, Advanced Features, and Best Practices
21CTO
21CTO
Jan 11, 2025 · Artificial Intelligence

Will AI Agents Render Traditional Software Obsolete? Satya Nadella’s Bold Prediction

Satya Nadella predicts that conventional software applications, including SaaS, will disappear as AI agents directly interact with databases, reshaping how we work, access data, and automate tasks, while raising new questions about trust, permissions, and the future of the software industry.

AIFutureMicrosoft
0 likes · 13 min read
Will AI Agents Render Traditional Software Obsolete? Satya Nadella’s Bold Prediction
Su San Talks Tech
Su San Talks Tech
Dec 14, 2024 · Backend Development

Mastering CompletableFuture: From Basics to RocketMQ Integration

This article explains the limitations of Java's Future, introduces CompletableFuture with its rich API for non‑blocking asynchronous programming, demonstrates practical usage including task creation, result retrieval, chaining, exception handling, and shows how RocketMQ leverages CompletableFuture to coordinate disk flush and replica sync tasks efficiently.

AsyncCompletableFutureFuture
0 likes · 16 min read
Mastering CompletableFuture: From Basics to RocketMQ Integration
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
Code Mala Tang
Code Mala Tang
Aug 17, 2024 · Artificial Intelligence

What Eric Schmidt Says About AI’s Future, Competition, and Industry Shifts

In a candid Stanford talk, former Google CEO Eric Schmidt warned that AI breakthroughs demand massive investment, larger context windows, and aggressive talent strategies, while highlighting CUDA's dominance, the rise of AI agents, geopolitical energy concerns, and the need for organizational innovation to unlock AI's full potential.

AIFuturecompetition
0 likes · 37 min read
What Eric Schmidt Says About AI’s Future, Competition, and Industry Shifts
Open Source Linux
Open Source Linux
Jun 1, 2024 · Fundamentals

Mastering Concurrency and Parallelism in Java: From Basics to Advanced APIs

This article explains the concepts of concurrency, parallelism, and serial execution, describes common multi‑core scheduling algorithms, and demonstrates Java's concurrent programming tools—including Future, Fork/Join, Stream API, and CompletableFuture—through clear code examples and practical guidelines.

CompletableFutureFutureJava
0 likes · 20 min read
Mastering Concurrency and Parallelism in Java: From Basics to Advanced APIs
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 6, 2024 · Backend Development

Mastering Java 8 CompletableFuture: Async Patterns and Best Practices

This article introduces Java 8's CompletableFuture class, compares it with Future, demonstrates basic Future usage, then explores advanced asynchronous patterns—including CompletionService, chaining, exception handling, combining tasks, and various utility methods—providing code examples and execution results to illustrate each concept.

CompletableFutureExecutorServiceFuture
0 likes · 15 min read
Mastering Java 8 CompletableFuture: Async Patterns and Best Practices
Su San Talks Tech
Su San Talks Tech
Feb 18, 2024 · Backend Development

Mastering CompletableFuture: From Basics to RocketMQ Integration

This article explains Java's CompletableFuture, its advantages over the traditional Future API, demonstrates common methods with code examples, and shows how RocketMQ leverages CompletableFuture to coordinate asynchronous disk flush and replica synchronization tasks.

CompletableFutureFutureJava
0 likes · 15 min read
Mastering CompletableFuture: From Basics to RocketMQ Integration
Su San Talks Tech
Su San Talks Tech
Feb 13, 2024 · Backend Development

How to Ensure Transaction Consistency When Async Threads Fail in Spring

This article explains how to guarantee transactional integrity when importing a 100,000‑row Excel file with asynchronous threads in Spring, covering double‑async optimization, Future and CompletableFuture handling, @Transactional pitfalls, manual transaction control, and a complete solution for cross‑thread transaction management.

AsyncCompletableFutureExcel Import
0 likes · 18 min read
How to Ensure Transaction Consistency When Async Threads Fail in Spring
Su San Talks Tech
Su San Talks Tech
Feb 11, 2024 · Backend Development

How to Retrieve Async Return Values with Java FutureTask?

This article explains how to obtain return values from asynchronous Java methods using FutureTask, covering its AQS foundation, execution flow, get() behavior, and provides concrete source code examples for practical implementation.

AQSAsyncFuture
0 likes · 13 min read
How to Retrieve Async Return Values with Java FutureTask?
Architect's Guide
Architect's Guide
Feb 9, 2024 · Backend Development

How to Capture Exceptions from Java ThreadPool Tasks: submit vs execute and Three Solutions

This article explains why exceptions from tasks submitted to a Java ThreadPool using submit are not printed, how execute shows them, and presents three practical approaches—try‑catch within the task, a custom Thread.setDefaultUncaughtExceptionHandler, and overriding afterExecute—to reliably obtain and handle those exceptions.

ExecutorServiceFutureJava
0 likes · 14 min read
How to Capture Exceptions from Java ThreadPool Tasks: submit vs execute and Three Solutions
21CTO
21CTO
Jan 22, 2024 · Frontend Development

How AI and Low‑Code Platforms Are Shaping the Future of Front‑End Development

This article examines how rapid advances in artificial intelligence, machine learning, and low‑code/no‑code platforms are transforming front‑end development, alleviating routine tasks, expanding career opportunities, and redefining the skill set developers need to stay competitive.

AIFuturecareer
0 likes · 5 min read
How AI and Low‑Code Platforms Are Shaping the Future of Front‑End Development
Selected Java Interview Questions
Selected Java Interview Questions
Nov 18, 2023 · Backend Development

A Comprehensive Guide to Java CompletableFuture: Replacing Future and CountDownLatch with Elegant Asynchronous Patterns

This article explains Java's Future and CompletableFuture APIs, demonstrates how to replace blocking Future.get() and CountDownLatch patterns with CompletableFuture, shows creation methods, result retrieval options, callback chains, exception handling, task composition techniques, and provides best‑practice recommendations for thread‑pool usage.

AsynchronousCompletableFutureFuture
0 likes · 22 min read
A Comprehensive Guide to Java CompletableFuture: Replacing Future and CountDownLatch with Elegant Asynchronous Patterns
Sanyou's Java Diary
Sanyou's Java Diary
Oct 26, 2023 · Backend Development

Master Asynchronous Java: Threads, Futures, CompletableFuture & @Async

Explore the fundamentals and advanced techniques of asynchronous programming in Java, from basic thread creation and thread pools to Future, FutureTask, CompletableFuture, and Spring Boot’s @Async annotation, including practical code examples, event handling, and message queue integration for high‑throughput systems.

CompletableFutureFutureSpring Boot
0 likes · 17 min read
Master Asynchronous Java: Threads, Futures, CompletableFuture & @Async
Selected Java Interview Questions
Selected Java Interview Questions
Sep 28, 2023 · Backend Development

Using CompletableFuture for Asynchronous Programming in Java: Examples, APIs, and Best Practices

This article explains how Java's Future and CompletableFuture interfaces enable asynchronous task execution, demonstrates common pitfalls of Future, shows how to replace it with CompletableFuture for more elegant code, and covers creation methods, result retrieval, callback chaining, task composition, and practical usage tips.

CompletableFutureException HandlingFuture
0 likes · 20 min read
Using CompletableFuture for Asynchronous Programming in Java: Examples, APIs, and Best Practices
macrozheng
macrozheng
Sep 27, 2023 · Backend Development

Master Java CompletableFuture: From Basics to Advanced Async Patterns

This comprehensive guide explains Java's CompletableFuture API, covering its fundamentals, creation methods, chaining operations, exception handling, and best practices for parallel execution, while providing clear code examples and performance tips for building efficient asynchronous workflows in backend development.

CompletableFutureFutureJava
0 likes · 20 min read
Master Java CompletableFuture: From Basics to Advanced Async Patterns
Java Architect Essentials
Java Architect Essentials
Sep 4, 2023 · Backend Development

Using CompletableFuture for Asynchronous Programming in Java: Examples and Best Practices

This article explains Java asynchronous programming by first showing the limitations of the JDK5 Future interface, then demonstrating how CountDownLatch can coordinate tasks, and finally presenting CompletableFuture creation, result retrieval, callback chaining, exception handling, and multi‑task composition with practical code examples.

CompletableFutureFutureJava
0 likes · 20 min read
Using CompletableFuture for Asynchronous Programming in Java: Examples and Best Practices
Top Architect
Top Architect
Jun 20, 2023 · Backend Development

Eight Ways to Implement Asynchronous Programming in Java

This article introduces eight practical approaches for achieving asynchronous execution in Java—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture—providing code samples, configuration tips, and discussion of each method's advantages and drawbacks.

AsynchronousBackendCompletableFuture
0 likes · 14 min read
Eight Ways to Implement Asynchronous Programming in Java
Programmer DD
Programmer DD
May 31, 2023 · Backend Development

8 Powerful Ways to Implement Asynchronous Execution in Java

This article explains what asynchronous execution is, compares it with synchronous processing, and presents eight practical Java implementations—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture—complete with code samples and usage tips.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Execution in Java
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.

AsynchronousCompletableFutureFuture
0 likes · 12 min read
Eight Ways to Implement Asynchronous Programming in Java
JD Cloud Developers
JD Cloud Developers
Apr 11, 2023 · Fundamentals

Mastering Dart’s Event Loop: From Microtasks to Isolates

This article explains Dart’s single‑threaded event‑loop model, the distinction between microtask and event queues, how to schedule tasks, use Futures, async/await, isolates, and practical patterns like LoadBalancer and CancelableOperation to manage asynchronous operations in Flutter apps.

AsyncDARTFlutter
0 likes · 17 min read
Mastering Dart’s Event Loop: From Microtasks to Isolates
Su San Talks Tech
Su San Talks Tech
Mar 19, 2023 · Backend Development

Master 8 Ways to Implement Asynchronous Programming in Java

This article explains why asynchronous execution is essential for tasks like sending SMS or emails, defines async concepts, and walks through eight practical Java implementations—including Thread, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture—complete with code examples and usage tips.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
Master 8 Ways to Implement Asynchronous Programming in Java
Architect's Guide
Architect's Guide
Mar 18, 2023 · Backend Development

Eight Ways to Implement Asynchronous Execution in Java

This article introduces eight common methods for implementing asynchronous execution in Java, including threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture, and provides code examples and usage considerations.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
Eight Ways to Implement Asynchronous Execution in Java
Architect
Architect
Mar 1, 2023 · Backend Development

Eight Asynchronous Programming Techniques in Java

This article introduces eight common methods for achieving asynchronous execution in Java, including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, ThreadUtil, and Guava ListenableFuture, explaining their usage, advantages, and limitations.

AsynchronousCompletableFutureFuture
0 likes · 10 min read
Eight Asynchronous Programming Techniques in Java
Java High-Performance Architecture
Java High-Performance Architecture
Feb 22, 2023 · Backend Development

8 Powerful Ways to Implement Asynchronous Programming in Java

This article explores eight Java asynchronous programming techniques—from raw threads and Future to CompletableFuture, Spring @Async, event-driven approaches, message queues, Hutool ThreadUtil, and Guava ListenableFuture—detailing their concepts, advantages, limitations, and providing complete code examples for each.

AsynchronousCompletableFutureFuture
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Programming in Java
MaGe Linux Operations
MaGe Linux Operations
Feb 18, 2023 · Backend Development

8 Powerful Ways to Implement Asynchronous Programming in Java

This article explains why asynchronous execution improves latency in common scenarios like sending SMS or emails, and presents eight Java techniques—including threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, third‑party utilities, and Guava—to implement robust asynchronous programming.

CompletableFutureFutureMessage Queue
0 likes · 14 min read
8 Powerful Ways to Implement Asynchronous Programming in Java
Code Ape Tech Column
Code Ape Tech Column
Jan 18, 2023 · Backend Development

Eight Ways to Implement Asynchronous Execution in Java

This article introduces eight practical techniques for achieving asynchronous processing in Java—including raw threads, Future, CompletableFuture, Spring @Async, ApplicationEvent, message queues, Hutool ThreadUtil, and Guava ListenableFuture—complete with code examples and discussion of their advantages and limitations.

AsynchronousFutureGuava
0 likes · 14 min read
Eight Ways to Implement Asynchronous Execution in Java
The Dominant Programmer
The Dominant Programmer
Nov 1, 2022 · Fundamentals

Master Java Multithreading and Custom Thread Pools in One Guide

This article explains why creating threads repeatedly wastes resources, introduces Java's ExecutorService thread pool, details its configuration parameters, demonstrates how to create and use fixed thread pools with Runnable and Callable tasks, shows proper shutdown, and highlights common pitfalls with Future.get.

CallableExecutorServiceFuture
0 likes · 9 min read
Master Java Multithreading and Custom Thread Pools in One Guide
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 18, 2022 · Backend Development

Java Asynchronous Programming: Five Implementation Methods Explained

This article introduces the concept of asynchronous programming in Java, compares it with synchronous execution, and provides detailed examples of five implementation approaches—thread creation, thread pool with Future, CompletableFuture, SpringBoot @Async, and Guava ListenableFuture—complete with code snippets and usage guidelines.

CompletableFutureFutureGuava
0 likes · 9 min read
Java Asynchronous Programming: Five Implementation Methods Explained
Selected Java Interview Questions
Selected Java Interview Questions
May 19, 2022 · Backend Development

How to Detect When a ThreadPoolExecutor Has Finished All Tasks in Java

This article compares several practical techniques—using isTerminated after shutdown, comparing task counts, employing CountDownLatch, maintaining a manual counter, and checking Future.isDone—to reliably determine when a Java ThreadPoolExecutor has completed all submitted jobs, complete with code examples and pros and cons for each method.

CountDownLatchFutureThreadPool
0 likes · 10 min read
How to Detect When a ThreadPoolExecutor Has Finished All Tasks in Java
FunTester
FunTester
May 11, 2022 · Backend Development

Mastering gRPC Java Clients: Blocking, Async, and Future Stubs Explained

This guide walks through three ways to create gRPC Java clients—newBlockingStub, newStub, and newFutureStub—showing their code, usage patterns, and performance characteristics, while also providing a simple server implementation for testing.

AsynchronousBlockingFuture
0 likes · 10 min read
Mastering gRPC Java Clients: Blocking, Async, and Future Stubs Explained
Selected Java Interview Questions
Selected Java Interview Questions
Apr 23, 2022 · Backend Development

Understanding ThreadPoolExecutor in Java: States, Constructors, Parameters, and Usage

This article provides a comprehensive guide to Java's ThreadPoolExecutor, covering its lifecycle states, constructor arguments, work‑queue options, keep‑alive behavior, thread factories, rejection policies, common methods, and practical code examples for Callable, Runnable, Future and FutureTask.

CallableExecutorServiceFuture
0 likes · 20 min read
Understanding ThreadPoolExecutor in Java: States, Constructors, Parameters, and Usage
Zhuanzhuan Tech
Zhuanzhuan Tech
Apr 20, 2022 · Backend Development

Transaction Middleware: FSM and Concurrency Model Practices and Exploration

This article examines the challenges faced by a transaction middleware platform, introduces a finite‑state‑machine (FSM) solution for order state flows, and compares traditional serial processing with future‑based staged concurrency and event‑driven concurrency models, highlighting their benefits and trade‑offs.

BackendEvent-drivenFinite State Machine
0 likes · 11 min read
Transaction Middleware: FSM and Concurrency Model Practices and Exploration
Selected Java Interview Questions
Selected Java Interview Questions
Jan 14, 2022 · Backend Development

Understanding CompletableFuture in Java 8: Overview, Features, and Source‑Code Walkthrough

This article explains Java 8's CompletableFuture, covering its purpose, core features such as thenCompose, thenCombine, thenAccept, thenRun, and thenApply, demonstrates practical code examples, and provides a detailed analysis of the underlying source‑code implementation for asynchronous callbacks.

AsynchronousBackendCompletableFuture
0 likes · 11 min read
Understanding CompletableFuture in Java 8: Overview, Features, and Source‑Code Walkthrough
Code Ape Tech Column
Code Ape Tech Column
Oct 4, 2021 · Backend Development

Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async

This article explains the difference between synchronous and asynchronous method calls in Java, demonstrates how to implement synchronous tasks, then shows how to convert them to asynchronous execution using Spring Boot's @Async annotation, @EnableAsync configuration, and Future-based callbacks to measure total execution time.

AsyncBackendFuture
0 likes · 8 min read
Understanding Synchronous and Asynchronous Calls in Spring Boot with @Async
Programmer DD
Programmer DD
Dec 12, 2020 · Backend Development

Mastering Asynchronous Java: From Threads to CompletableFuture

This article explains asynchronous and non‑blocking concepts, why traditional synchronous code hurts performance, and walks through Java's evolution from raw Thread usage to Future and the powerful CompletableFuture API, including practical examples, pros, cons, and web‑framework support.

AsyncCompletableFutureFuture
0 likes · 11 min read
Mastering Asynchronous Java: From Threads to CompletableFuture
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 7, 2020 · Backend Development

Understanding Callable, ExecutorService, and Future in Java

This article explains how Java's Callable interface, ExecutorService, and Future work together to execute asynchronous tasks, detailing their API relationships, internal implementations, and practical usage examples with code snippets illustrating task creation, submission, and result retrieval.

CallableExecutorServiceFuture
0 likes · 14 min read
Understanding Callable, ExecutorService, and Future in Java
Programmer DD
Programmer DD
Jul 18, 2020 · Fundamentals

Master Java Concurrency: Callable, Future & FutureTask Explained

This article explores Java's thread creation methods, contrasts Runnable and Callable, delves into the ExecutorService API, and provides an in‑depth analysis of Future, FutureTask, and their internal state management, complete with practical code examples and performance‑optimizing techniques for concurrent programming.

CallableFutureJava
0 likes · 23 min read
Master Java Concurrency: Callable, Future & FutureTask Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 6, 2020 · Backend Development

Analyzing JDK 1.8 FutureTask Source Code

This article provides a detailed analysis of JDK 1.8’s FutureTask implementation, explaining its purpose, usage examples, internal structure, state transitions, key methods such as run, get, cancel, and the concurrency mechanisms like volatile fields, CAS operations, and thread‑waiting queues.

CallableFutureFutureTask
0 likes · 32 min read
Analyzing JDK 1.8 FutureTask Source Code
Selected Java Interview Questions
Selected Java Interview Questions
May 3, 2020 · Backend Development

Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Using Callable/Future

This article explains the three primary techniques for creating threads in Java—subclassing Thread, implementing the Runnable interface, and using Callable with Future—provides complete code examples for each method, and compares their advantages and disadvantages for practical multithreading development.

CallableFutureJava
0 likes · 8 min read
Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Using Callable/Future
MaGe Linux Operations
MaGe Linux Operations
Aug 23, 2018 · Backend Development

Inside Tornado’s IOLoop: Callbacks, Futures & Coroutines Explained

This article provides a detailed examination of Tornado’s IOLoop core, explaining its callback handling, timer management, I/O event loop, and the pivotal role of Future objects, while also demystifying the implementation of gen.coroutine and offering practical code examples to illustrate asynchronous execution.

AsynchronousFutureIOLoop
0 likes · 11 min read
Inside Tornado’s IOLoop: Callbacks, Futures & Coroutines Explained
JD Tech
JD Tech
Jun 28, 2018 · Backend Development

Asynchronous Programming and Promise Patterns in Backend Systems

This article introduces the concepts of synchronous versus asynchronous calls, explains the challenges of RPC services in large-scale systems, and provides detailed guidance on using polling, callbacks, futures, and CompletableFuture in Java to implement efficient, non‑blocking backend architectures with practical code examples.

BackendFutureJava
0 likes · 18 min read
Asynchronous Programming and Promise Patterns in Backend Systems
JD Tech
JD Tech
May 10, 2018 · Backend Development

Asynchronous Programming and Promise Patterns in Backend Services

This article introduces the concepts of synchronous vs asynchronous calls, explains RPC and I/O models, and demonstrates how to use callback, Future/Promise, and ReactiveX styles with Java's CompletableFuture and Guava's ListenableFuture to improve performance and scalability of backend services.

AsynchronousBackendFuture
0 likes · 17 min read
Asynchronous Programming and Promise Patterns in Backend Services
Java Captain
Java Captain
Mar 21, 2018 · Backend Development

Java Multithreading: Extending Thread, Implementing Runnable, and Using ExecutorService with Callable and Future

This article explains three primary ways to create multithreaded Java programs—extending Thread, implementing Runnable, and employing ExecutorService with Callable and Future—providing code examples, execution details, and a complete runnable example that demonstrates thread creation, execution, and result retrieval.

CallableExecutorServiceFuture
0 likes · 7 min read
Java Multithreading: Extending Thread, Implementing Runnable, and Using ExecutorService with Callable and Future
Java Captain
Java Captain
Jan 31, 2018 · Backend Development

Understanding Callable and Future in Java Concurrency

This article explains how Java's Callable interface and Future objects work together to produce asynchronous results, compares direct FutureTask usage with ExecutorService submission, and demonstrates handling multiple tasks using CompletionService for efficient multithreaded programming.

CallableExecutorServiceFuture
0 likes · 5 min read
Understanding Callable and Future in Java Concurrency
21CTO
21CTO
Jan 10, 2018 · Blockchain

Why Blockchain Could Revolutionize Society Beyond Cryptocurrency

The article argues that while mainstream media focuses on volatile crypto prices, the true breakthrough of blockchain lies in its decentralized, cryptographic architecture that can reshape governance, finance, and many complex systems, offering a vision far beyond speculative trading.

Futurecryptocurrencytechnology
0 likes · 9 min read
Why Blockchain Could Revolutionize Society Beyond Cryptocurrency
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Dec 7, 2017 · Artificial Intelligence

Will AI Transform Our World? Four Emerging Trends Shaping the Future

The article explores Bill Gates' optimism, Kevin Kelly's predictions, and Gartner's outlook, then outlines four major AI trends: mass commercial adoption, expert-level cognition via deep learning, AI as purchasable smart services, and disruptive impacts on labor‑intensive industries reshaping the global economy.

AI trendsAutomationFuture
0 likes · 11 min read
Will AI Transform Our World? Four Emerging Trends Shaping the Future
Architecture Digest
Architecture Digest
Nov 17, 2017 · Backend Development

A Comprehensive Overview of Java Concurrency Programming

This article provides a high‑level summary of Java concurrency, covering thread creation methods, thread models, thread pools, Future and CompletableFuture, the Fork/Join framework, volatile, CAS, AQS, synchronized locks, and concurrent queue implementations, with code examples and reference links for deeper study.

AQSCASFuture
0 likes · 39 min read
A Comprehensive Overview of Java Concurrency Programming
Java Backend Technology
Java Backend Technology
Nov 6, 2017 · Backend Development

Mastering Java’s Future Pattern: From CountDownLatch to Callable

This article explains Java’s asynchronous call mechanisms, reviews thread counters like CountDownLatch, introduces the Future pattern with its core roles and structure, provides a step‑by‑step code implementation, and shows how the JDK implements Future using Callable and FutureTask.

Backend DevelopmentCallableFuture
0 likes · 8 min read
Mastering Java’s Future Pattern: From CountDownLatch to Callable
Hujiang Technology
Hujiang Technology
Dec 8, 2016 · Artificial Intelligence

Where Is the Future of Artificial Intelligence? From Sci‑Fi Visions to Real‑World Challenges

The article explores the gap between popular sci‑fi depictions of AI and today’s limited capabilities, explains the three levels of AI, discusses natural‑language processing hurdles, and reviews current research approaches such as evolutionary algorithms, neural networks, and large‑scale machine‑learning projects.

AIFutureartificial intelligence
0 likes · 18 min read
Where Is the Future of Artificial Intelligence? From Sci‑Fi Visions to Real‑World Challenges
Architecture Digest
Architecture Digest
Jul 5, 2016 · Big Data

Why Map‑Reduce Is Not the Solution to Your Big Data Problem – A Critical Look at Hadoop

The article reviews Hadoop’s origins from Google’s pioneering papers, explains its architecture and ecosystem, evaluates its strengths such as scalability and benchmarks, discusses current limitations like single‑point failures and complex programming, and outlines upcoming improvements including HDFS Federation and next‑generation MapReduce.

Big DataFutureHDFS
0 likes · 14 min read
Why Map‑Reduce Is Not the Solution to Your Big Data Problem – A Critical Look at Hadoop
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Jun 28, 2015 · Backend Development

Optimizing Asynchronous Processing in Distributed Systems: Insights from Facebook and Alibaba

The article summarizes Zhao Haiping’s 2015 QCon talk on how asynchronous processing, profiling, and dependency‑tree scheduling can dramatically improve performance and scalability of distributed backend systems, drawing lessons from Facebook’s migration to async PHP and Alibaba’s ongoing optimization efforts.

AsyncBackend PerformanceDistributed Systems
0 likes · 12 min read
Optimizing Asynchronous Processing in Distributed Systems: Insights from Facebook and Alibaba