Urgent.News

What's breaking now, across thousands of outlets.

Tech

Portable Production Architecture in Jeston: Adapters, Jobs, and Health Signals

Portability is not achieved by listing many deployment targets. It comes from keeping application behavior behind small, testable contracts. Jeston applies this idea to the production concerns that usually create the most coupling: data, cache, jobs, storage, metrics, and deployment. Small contracts, replaceable providers Jeston exposes provider-neutral interfaces for database, cache, queue,…

Jeston's Portable Production Architecture aims to enhance portability by separating application behavior from production concerns, such as data, cache, jobs, storage, metrics, and deployment. It achieves this by exposing provider-neutral interfaces for various components, allowing applications to use different adapters during development and production.

The framework includes an integration registry that provides lifecycle information and a catalog entry for discoverability, without automatically designating an official implementation. Jeston also offers a JobQueue contract with features like delay, idempotency keys, tags, retry metadata, and bounded shutdown hooks, addressing common failure modes in long-running work.

Health and readiness signals are provided through JSON /health and /ready endpoints, enabling deployment systems to receive concrete signals and improve overall system reliability.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Starting a Jeston Application with One Valuable Route

A useful framework should help you reach a working slice quickly without forcing you to decide every production detail on day one.

  • Begin with minimal route-focused app
  • Use --template saas for SaaS apps
  • Add API contract for data validation

Designing Cache Boundaries with Jeston's ResponseCache and DataCache

Caching is safest when its scope is explicit. Jeston separates process-local response caching from application data caching and makes private data require a variation key.

  • Jeston separates response caching from data caching into distinct mechanisms
  • ResponseCache supports TTL, fresh reads, stale-while-revalidate, and more
  • DataCache scope defined via createDataCache function with request/public/private options

More from Thursday 10 September →