Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Poor performance under concurrent requests (Express.js)

Aperta
#6 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
express, javascript, node.js
Ambito
api, performance

Direzione di ricerca

Start by tracing how the SDK creates its Axios instances for API calls and how those calls behave under concurrent requests from an Express route using Promise.all(). Check whether connections are reused and identify a suitable place for shared HTTP agent or concurrency configuration. Compare response times with 50 or more parallel requests; done means concurrent calls avoid the reported exponential slowdown.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

⚡️ Poor performance under concurrent requests

Labels: performance, investigation
Framework context: Express.js with Promise.all() batch requests

Description:
When performing 50+ parallel requests (e.g., bulk verification of tax codes through Promise.all() inside an Express route), the response time increases exponentially.

Suspected cause:
The SDK internally creates a new Axios instance for every call instead of reusing connections. This likely prevents HTTP keep-alive and leads to connection flooding.

Proposal:
Implement a shared HTTP agent with keep-alive enabled, or expose a configuration parameter like:

Openapi.configure({ maxConcurrency: 10, keepAlive: true });
Lingua principale
JavaScript
Stelle
20
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openapi/openapi-nodejs-sdk

Tutte le issue di openapi/openapi-nodejs-sdk

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.