getsentry / getsentry/sentry-javascript

Decide the origin-transport mechanism

Đang mở
#24,296 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
javascript
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
523

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
nextjs, typescript
Lĩnh vực
backend, cloud, distributed-systems
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.