Tagged articles

@Async

342 articles · Page 4 of 4
FunTester
FunTester
Jan 25, 2020 · Backend Development

Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion

During a performance test a query API failed on the second request because the Redis cache was written before asynchronous tasks finished, causing missing fields; the article explains the root cause, shows the original and fixed code, and details the debugging process.

@AsyncBackendJava
0 likes · 5 min read
Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion
MaGe Linux Operations
MaGe Linux Operations
Jan 8, 2020 · Backend Development

Can Python Handle Millions of Requests per Second? Inside Japronto’s High‑Performance Microframework

This article explores how recent Python performance improvements and the ultra‑fast Japronto microframework enable handling over a million HTTP requests per second, detailing benchmark results, HTTP pipelining optimizations, C extensions, memory management tricks, and the underlying technologies that make such throughput possible.

@AsyncHTTPMicroframework
0 likes · 9 min read
Can Python Handle Millions of Requests per Second? Inside Japronto’s High‑Performance Microframework
Qunar Tech Salon
Qunar Tech Salon
Dec 5, 2019 · Frontend Development

Evolution of JavaScript: From Prototype Methods to Async/Await and Modern Features

This article traces JavaScript’s evolution, covering the enrichment of prototype methods, standardization of classes and modules, the rise of asynchronous patterns like callbacks, promises, generators, async/await, and modern syntax features such as block scope, symbols, BigInt, reflection, and useful syntactic sugar.

@AsyncBIGINTJavaScript
0 likes · 28 min read
Evolution of JavaScript: From Prototype Methods to Async/Await and Modern Features
WecTeam
WecTeam
Nov 12, 2019 · Frontend Development

Deep Dive into Promise Microtasks: How .then Registers and Executes

This article thoroughly dissects JavaScript Promise execution, revealing how microtasks are registered and run across multiple code snippets, compares Promise/A+ with WebKit implementations, and provides detailed code analyses and output predictions to help developers master Promise behavior.

@AsyncJavaScriptPromise
0 likes · 14 min read
Deep Dive into Promise Microtasks: How .then Registers and Executes
Java Captain
Java Captain
Oct 13, 2019 · Backend Development

Implementing a Flexible Excel Export Utility in Java with Apache POI

This article explains how to design a reusable Java utility for exporting large volumes of data to Excel using Apache POI, covering header configuration, data transformation, cell formatting, multi‑threaded data retrieval, asynchronous processing, and provides sample code and usage instructions.

@AsyncData ExportExcel
0 likes · 15 min read
Implementing a Flexible Excel Export Utility in Java with Apache POI
Didi Tech
Didi Tech
Aug 24, 2019 · Frontend Development

Webpack Loader Execution Process: Detailed Source Code Analysis

The article details Webpack’s loader execution pipeline, showing how a shared loaderContext is built for each module, how the loader‑runner pitches loaders in order, then processes the resource and runs each loader’s normal method from right to left, handling synchronous, Promise‑based, and async callbacks via runSyncOrAsync.

@AsyncJavaScriptNode.js
0 likes · 14 min read
Webpack Loader Execution Process: Detailed Source Code Analysis
21CTO
21CTO
Aug 16, 2019 · Backend Development

Master Scrapy: Build, Deploy, and Scale a Python Web Crawler Platform

This guide walks through designing a full‑featured web‑crawler platform, covering rule maintenance, job scheduling, async and real‑time crawling with Scrapy, project setup, item pipelines, settings, local execution, custom parameters, server deployment via Scrapyd, API usage, and fast real‑time crawling with Requests, BeautifulSoup, Flask, and multithreading.

@AsyncFlaskPython
0 likes · 16 min read
Master Scrapy: Build, Deploy, and Scale a Python Web Crawler Platform
Architecture Digest
Architecture Digest
Aug 15, 2019 · Backend Development

Design and Implementation of a Scrapy‑Based Web Crawling Platform

This article explains how to design a flexible web‑crawling platform using Scrapy, covering rule maintenance, job scheduling, asynchronous and real‑time crawlers, project setup, code structure, settings, local execution, deployment with scrapyd, API usage, and examples of Flask‑based real‑time services.

@AsyncFlaskPython
0 likes · 16 min read
Design and Implementation of a Scrapy‑Based Web Crawling Platform
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 12, 2019 · Fundamentals

Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop

This article explains the evolution of Google V8's Promise implementation, details the JavaScript single‑threaded event loop with macro‑ and micro‑tasks, describes various programming models, and walks through the internal V8 code that realizes Promise construction, chaining, and utility methods such as Promise.all and Promise.race.

@AsyncJavaScriptPromise
0 likes · 10 min read
Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop
MaoDou Frontend Team
MaoDou Frontend Team
Jul 2, 2019 · Frontend Development

Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns

This article explains JavaScript’s event mechanism, distinguishes macro‑ and micro‑tasks, and provides a comprehensive guide to using Promises—including their states, API methods like then, catch, finally, and utilities such as all, race, with practical code examples and common pitfalls.

@AsyncJavaScriptPromise
0 likes · 12 min read
Mastering JavaScript Promises: Event Loop, Tasks, and Advanced Patterns
360 Tech Engineering
360 Tech Engineering
May 14, 2019 · Frontend Development

What’s New in JavaScript: V8 Performance Boosts and New Language Features

The article summarizes the latest JavaScript enhancements presented by the V8 team at Google I/O, covering massive async performance gains, new engine components like TurboFan and Orinoco, and a suite of language features such as class fields, private members, numeric separators, bigint, extended Intl APIs, top‑level await, Promise.allSettled/any, and WeakRef, illustrated with practical code examples.

@AsyncJavaScriptPerformance
0 likes · 12 min read
What’s New in JavaScript: V8 Performance Boosts and New Language Features
58 Tech
58 Tech
Apr 17, 2019 · Frontend Development

Understanding Asynchronous JavaScript: Callbacks, Promises, Generators, and Async/Await

This article explains why JavaScript needs asynchronous handling, describes the browser's multithreaded architecture and event‑loop, compares callbacks with Promises, introduces Generators for flow control, and shows how ES7 Async/Await combines their advantages with practical code examples.

@AsyncPromiseasync/await
0 likes · 16 min read
Understanding Asynchronous JavaScript: Callbacks, Promises, Generators, and Async/Await
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.

@AsyncPythonWeb Framework
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.

@AsyncDubboJava
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.

@AsyncJavaLua
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.

@AsyncJavaScriptNode.js
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.

@AsyncConcurrencyJavaScript
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.

@AsyncCallApplyCallback
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.

@AsyncGraceful ShutdownSpring Boot
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.

@AsyncNode.jsPromise
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.

@AsyncBackendNode.js
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.

@AsyncNode.js
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.

@AsyncPattern Matchingcsharp
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.

@AsyncDecoratorStackless
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.

@AsyncExpressNode.js
0 likes · 9 min read
10 Proven Techniques to Supercharge Your Node.js Web Apps
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.

@AsyncJavaScriptPromise
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.

@AsyncJavaScriptKoa
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.

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