vtex-io-application-performance

Optimizes VTEX IO Node.js/.NET backends with layered caching, parallel I/O, and deduplication.

39|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/vtex/ai-skills --skill vtex-io-application-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vtex-io-application-performance
Source: https://github.com/vtex/ai-skills/tree/main/tracks/vtex-io/skills/vtex-io-application-performance
Command: npx skills add https://github.com/vtex/ai-skills --skill vtex-io-application-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improve VTEX IO backends' latency and resilience by applying layered caching (in-process LRU, VBase), stale-while-revalidate, and optimized AppSettings loading, plus parallel I/O and resolver deduplication to reduce duplicate work.

Core Features & Use Cases

  • In-process LRU cache for hot keys to reduce repeated upstream calls.
  • VBase-backed shared cache with stale-while-revalidate to minimize tail latency.
  • Startup-time AppSettings loading and per-request context patterns to avoid reloading config.
  • Parallelize independent outbound calls and deduplicate resolver chains to improve throughput.
  • Guidance on per-entity VBase keys, TTLs, and tenancy-aware caching to keep data isolated per account/workspace.

Quick Start

Configure and enable this skill in your VTEX IO project to start applying layered caching and parallel I/O patterns.

Frequently Asked Questions about vtex-io-application-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce latency in VTEX IO backends with caching?

Reduce VTEX IO backend latency by implementing layered caching using in-process LRU for hot keys and VBase-backed shared caching with stale-while-revalidate to minimize tail latency and upstream calls.

What is stale-while-revalidate caching in VTEX IO?

Stale-while-revalidate caching in VTEX IO serves stale data from VBase while asynchronously refreshing it, minimizing tail latency and improving resilience during upstream delays or outages.

How do I parallelize outbound calls in Node.js VTEX IO apps?

Parallelize outbound calls in Node.js VTEX IO apps by executing independent I/O operations concurrently and deduplicating resolver chains, which reduces duplicate work and improves throughput.

Does this caching approach support per-tenant isolation in VBase?

Yes, tenancy-aware caching supports per-tenant isolation by using per-entity VBase keys and per-account workspace configurations, ensuring cached data remains strictly separated across tenants.

How do I safely load AppSettings in VTEX IO without reloading config?

Safely load AppSettings in VTEX IO by fetching configuration at startup time and applying per-request context patterns, avoiding repeated config reloading and ensuring safe configuration loading.

When should I use in-process LRU cache versus VBase caching?

Use in-process LRU cache for hot keys to reduce repeated upstream calls, and use VBase-backed shared cache for broader persistence across instances with stale-while-revalidate for resilience.