getsentry / getsentry/sentry-javascript

Decide the origin-transport mechanism

Offen
#24,296 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
javascript
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
523

Beschreibung

*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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
nextjs, typescript
Bereich
backend, cloud, distributed-systems
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.