getsentry / getsentry/sentry-javascript

Decide the origin-transport mechanism

Open
#24,296 1 comment 0 reactions 0 assignees View on GitHub
javascript
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
523

Description

*Example:* the same app on Vercel. The fill runs in lambda 1, the hit is served by lambda 2. The shared cache has the entry, but lambda 2's memory has no record of who filled it (no link). On a single self-hosted server it works.

*Solves:* whether links exist on the most common deploy target. We should know this before shipping, not after.

*Fix idea:* compare three options. (a) A per-process in-memory table, which works today but only within one instance. (b) Trace context stored inside the cache entry, which works everywhere but needs a Next.js upstream metadata-slot ask. (c) Both, table now and entry metadata when upstream lands. Deliverable: a decision record with rejected options and an estimate of the same-instance hit rate on serverless.

Contributor guide

Open the contributing guide

Research direction

Compare the three proposed origin-transport options across Vercel's separate-lambda case and a single self-hosted server, starting with the current per-process in-memory table and the Next.js upstream metadata-slot constraint. Done means a decision record documenting rejected options and estimating the same-instance hit rate on serverless.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
backend, cloud, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.