Optimizing Asynchronous Performance in Node.js with Express and PostgreSQL

Modern web applications demand high scalability, yet Node.js–Express–PostgreSQL stacks often struggle under heavy concurrent loads due to inefficient request handling and database interaction. This paper evaluates the effectiveness of three optimization techniques connection pooling, batch processing, and Redis caching to mitigate these issues. Using metrics like response time, throughput, and memory usage, experiments were conducted on a Node.js API connected to a PostgreSQL database. The results demonstrate that Redis caching was the most impactful method. By serving frequently accessed data from memory, it drastically reduced read-latency spikes (e.g., from 30.32s down to 1.66s) and boosted write-operation throughput by 50%. In parallel, connection pooling stabilized system resources (CPU at 5–10%; memory usage between 79–297 MB), and batch processing increased throughput up to 321 req/s.Ultimately, while all methods enhanced scalability, the findings show that prioritizing an in- memory caching strategy is indispensable for building low-latency backends. For optimal performance under high concurrency, combining Redis with connection pooling and batching proves to be a highly effective approach.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.08.270
Primary Topic
Cloud Computing and Resource Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Asynchronous Performance in Node.js with Express and PostgreSQL

Mostafa Abdullah Ibrahim, Muhammad Dhitan Imam Sakti, Daniel Dirgantara, Aldiaz Kusuma Ramadhan
Procedia Computer Science
Cloud Computing and Resource Management
article

Optimizing Asynchronous Performance in Node.js with Express and PostgreSQL

Mostafa Abdullah Ibrahim, Muhammad Dhitan Imam Sakti, Daniel Dirgantara, Aldiaz Kusuma Ramadhan
article en

Abstract

Modern web applications demand high scalability, yet Node.js–Express–PostgreSQL stacks often struggle under heavy concurrent loads due to inefficient request handling and database interaction. This paper evaluates the effectiveness of three optimization techniques connection pooling, batch processing, and Redis caching to mitigate these issues. Using metrics like response time, throughput, and memory usage, experiments were conducted on a Node.js API connected to a PostgreSQL database. The results demonstrate that Redis caching was the most impactful method. By serving frequently accessed data from memory, it drastically reduced read-latency spikes (e.g., from 30.32s down to 1.66s) and boosted write-operation throughput by 50%. In parallel, connection pooling stabilized system resources (CPU at 5–10%; memory usage between 79–297 MB), and batch processing increased throughput up to 321 req/s.Ultimately, while all methods enhanced scalability, the findings show that prioritizing an in- memory caching strategy is indispensable for building low-latency backends. For optimal performance under high concurrency, combining Redis with connection pooling and batching proves to be a highly effective approach.

Procedia Computer ScienceVol. 269
Binus University (ID)
Openalex Percentile: Top 53%
Cloud Computing and Resource Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Optimizing Asynchronous Performance in Node.js with Express and PostgreSQL — Mostafa Abdullah Ibrahim, Muhammad Dhitan Imam Sakti, et al. · Procedia Computer Science (2025) | TGRS Research Map | TGRS