Tagged articles

async

327 articles · Page 4 of 4
Java Architecture Diary
Java Architecture Diary
Apr 11, 2019 · Backend Development

Simplify Spring Event Listeners with @EventListener and Async Configuration

This guide explains how Spring 4.2+ simplifies event handling using @EventListener, demonstrates creating and publishing events, covers annotation attributes, execution order, async execution with @Async, and shows Spring Boot async configuration based on the mica project, complete with code examples and configuration details.

asynceventlistener
0 likes · 5 min read
Simplify Spring Event Listeners with @EventListener and Async Configuration
MaGe Linux Operations
MaGe Linux Operations
Feb 22, 2019 · Backend Development

Why Sanic Beats Flask: Speed Benchmarks, Setup, and Advanced Features

This article compares Sanic's performance with other Python web frameworks, shows how to install and run a Sanic app, demonstrates request handling, routing, middleware, exception handling, and blueprint usage, and explains why Sanic’s modern async features make it a fast, popular choice.

PythonWeb Frameworkasync
0 likes · 6 min read
Why Sanic Beats Flask: Speed Benchmarks, Setup, and Advanced Features
Java Backend Technology
Java Backend Technology
Jan 23, 2019 · Backend Development

What’s New in Apache Dubbo 2.7.0? Async Support, Multi‑Center Architecture, and Roadmap to 3.0

Apache Dubbo’s latest 2.7.0 release introduces full async programming, separates registry, config, and metadata centers, adds native support for ZooKeeper, Nacos and Apollo, expands multi‑language clients, and outlines the roadmap toward Dubbo 3.0 and graduation from the Apache incubator, reflecting a thriving community revival.

DubboJavaRPC
0 likes · 15 min read
What’s New in Apache Dubbo 2.7.0? Async Support, Multi‑Center Architecture, and Roadmap to 3.0
Java Captain
Java Captain
Nov 19, 2018 · Backend Development

Implementing a Red Packet System with Redis, Lua Scripts, and Spring Async

This article explains how to build a high‑performance red‑packet (hong‑bao) service by configuring a RedisTemplate in Spring, writing an atomic Lua script for stock management, persisting results to a MySQL database via JDBC batch processing, and using @Async to off‑load long‑running tasks, complete with code examples and deployment steps.

JavaLuaRedis
0 likes · 17 min read
Implementing a Red Packet System with Redis, Lua Scripts, and Spring Async
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Sep 30, 2018 · Fundamentals

Why Does setTimeout Run After Promise.then? Unraveling JavaScript’s Event Loop

This article explains how JavaScript’s single‑threaded model achieves asynchronous behavior through macro‑tasks and micro‑tasks, compares the browser and Node.js event‑loop implementations, and demonstrates the timing differences between setTimeout, setImmediate, and process.nextTick with practical code examples.

JavaScriptNode.jsasync
0 likes · 9 min read
Why Does setTimeout Run After Promise.then? Unraveling JavaScript’s Event Loop
UC Tech Team
UC Tech Team
Sep 25, 2018 · Frontend Development

Understanding JavaScript Event Loop: Theory and Practice

This article explains the JavaScript Event Loop mechanism in depth, covering the call stack, heap memory, macro‑ and micro‑tasks, and their queues, and demonstrates the execution order through detailed examples and step‑by‑step visualizations of multiple event‑loop cycles.

JavaScriptNode.jsasync
0 likes · 7 min read
Understanding JavaScript Event Loop: Theory and Practice
Qunar Tech Salon
Qunar Tech Salon
Aug 1, 2018 · Frontend Development

Understanding JavaScript Asynchronous Patterns and Core Language Features for React Native Development

This article provides a comprehensive guide for mobile developers on JavaScript fundamentals such as callback hell, Promises, async/await, the arguments object, call and apply methods, mixins, and prototype inheritance, illustrating each concept with clear explanations and practical code examples to improve React Native coding practices.

CallApplyCallbackJavaScript
0 likes · 16 min read
Understanding JavaScript Asynchronous Patterns and Core Language Features for React Native Development
Programmer DD
Programmer DD
Apr 1, 2018 · Backend Development

Graceful Shutdown of Spring Boot ThreadPoolTaskScheduler to Prevent Redis Errors

This article explains why asynchronous @Async tasks using a custom ThreadPoolTaskScheduler can fail during application shutdown due to premature Redis connection pool destruction, and provides a step‑by‑step solution using Spring's shutdown configuration to wait for tasks to complete before closing resources.

Graceful ShutdownSpring BootThreadPoolTaskScheduler
0 likes · 8 min read
Graceful Shutdown of Spring Boot ThreadPoolTaskScheduler to Prevent Redis Errors
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 21, 2017 · Frontend Development

Master JavaScript Event Loop: From Basics to Advanced Examples

This article explains the JavaScript event loop in depth, covering execution contexts, call stacks, macro‑ and micro‑tasks, and how APIs like setTimeout, Promise, process.nextTick, and setImmediate interact, using clear diagrams and step‑by‑step examples for both browsers and Node.js.

Node.jsPromiseTask Queue
0 likes · 12 min read
Master JavaScript Event Loop: From Basics to Advanced Examples
Qunar Tech Salon
Qunar Tech Salon
Mar 14, 2017 · Backend Development

Node.js 2016 Review, Applications, and 2017 Outlook

This article reviews the major Node.js events of 2016—including version updates, the left‑pad controversy, Yarn, Chrome DevTools debugging, and ecosystem tools—describes common application scenarios and framework selection criteria, and offers predictions for Node.js development in 2017.

Node.jsTypeScriptYARN
0 likes · 17 min read
Node.js 2016 Review, Applications, and 2017 Outlook
Node Underground
Node Underground
Dec 1, 2016 · Frontend Development

Can You Spot the Subtle Differences in These Four Promise Patterns?

While most JavaScript developers are familiar with using Promises, many overlook subtle nuances; this article presents four Promise snippets, challenges you to identify their differences, and invites curious programmers to explore further, even mentioning an upcoming Node.js meetup in Guangzhou.

Node.jsasync
0 likes · 2 min read
Can You Spot the Subtle Differences in These Four Promise Patterns?
Architecture Digest
Architecture Digest
Aug 30, 2016 · Fundamentals

Overview of Planned C# 7.0 Language Features

The article introduces the upcoming C# 7.0 language enhancements—including output variables, pattern matching, extended switch statements, tuples, deconstruction, local functions, numeric literal improvements, ref returns, new async return types, and throw expressions—explaining their syntax, usage, and current preview limitations.

Pattern Matchingasynccsharp
0 likes · 17 min read
Overview of Planned C# 7.0 Language Features
ITPUB
ITPUB
Apr 26, 2016 · Backend Development

Integrating Twisted with Stackless Python: A Practical Guide

This article explains how to combine Twisted's event‑driven reactor with Stackless Python's micro‑threads by setting up a reactor tasklet, creating filtering and wrapper decorators, and providing deferred_tasklet and blocking_tasklet utilities to run asynchronous code synchronously.

DecoratorStacklessTasklet
0 likes · 7 min read
Integrating Twisted with Stackless Python: A Practical Guide
21CTO
21CTO
Apr 4, 2016 · Backend Development

10 Proven Techniques to Supercharge Your Node.js Web Apps

This guide outlines ten practical strategies—including parallel execution, async APIs, caching, gzip compression, client‑side rendering, lean sessions, query tuning, native V8 methods, Nginx front‑end, and JavaScript bundling—to dramatically boost the performance of Node.js web applications.

ExpressNode.jsasync
0 likes · 9 min read
10 Proven Techniques to Supercharge Your Node.js Web Apps
High Availability Architecture
High Availability Architecture
Mar 23, 2016 · Backend Development

Node.js Global Landscape, Advantages, Architecture Balance, and Full‑Stack Practices

This article provides a comprehensive overview of Node.js’s worldwide adoption, its technical strengths and weaknesses, architectural balancing strategies, the author’s team’s practical stack and tooling choices, and guidance on becoming a full‑stack developer using Node.js technologies.

Backend DevelopmentFull-StackNode.js
0 likes · 23 min read
Node.js Global Landscape, Advantages, Architecture Balance, and Full‑Stack Practices
Aotu Lab
Aotu Lab
Jan 13, 2016 · Frontend Development

Mastering JavaScript Promises: From Basics to Advanced Patterns

This article introduces JavaScript Promises, covers their history, demonstrates how to promisify callbacks, use Promise.all for parallel tasks, chain with then, handle execution order, and implement custom cancellation, providing clear code examples and best‑practice guidance.

JavaScriptPromiseasync
0 likes · 9 min read
Mastering JavaScript Promises: From Basics to Advanced Patterns
Node Underground
Node Underground
Nov 19, 2015 · Backend Development

Mastering yield* in Koa: How Generators and co Simplify Async Flow

This article demystifies the use of yield* in Koa middleware by comparing plain yield with delegating yield, explaining how the co library handles generators and promises, and outlining the practical advantages of native yield* syntax for clarity, performance, and correct this binding.

JavaScriptKoaasync
0 likes · 9 min read
Mastering yield* in Koa: How Generators and co Simplify Async Flow
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.

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