Tagged articles
3 articles
Page 1 of 1
Didi Tech
Didi Tech
Aug 3, 2018 · Backend Development

Introduction to Koa2: Features, History, and Basic Usage

Koa2 is a lightweight, async‑await‑based Node.js web framework that evolved from Express to eliminate callback hell, offering an elegant onion‑style middleware system, unified ctx object, and extensibility through routers, static serving, SSR, and database integrations, making it ideal for modern web services.

Koa2Node.jsWeb framework
0 likes · 9 min read
Introduction to Koa2: Features, History, and Basic Usage
ITPUB
ITPUB
Nov 5, 2016 · Databases

Why Your Koa2 API Takes 900 ms and How MySQL Profiling Cuts It Down

A Koa2 form‑saving endpoint was taking 900 ms per request, and by using MySQL's profiling tools, adjusting innodb_flush_log_at_trx_commit, and monitoring system I/O with iostat and iotop, the author identified and resolved the I/O bottleneck, dramatically improving performance.

Koa2Profilingiostat
0 likes · 5 min read
Why Your Koa2 API Takes 900 ms and How MySQL Profiling Cuts It Down