Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: automatically move projects to secondary ingestion on S3 rate-limits#10691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Steffen911 wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromsteffen/auto-secondary-on-s3-slow-down-errors

Conversation

@Steffen911
Copy link
Member

@Steffen911Steffen911 commentedNov 25, 2025
edited by ellipsis-devbot
Loading

Important

Automatically redirects projects to a secondary ingestion queue on S3 SlowDown errors, with Redis tracking and environment configuration updates.

  • Behavior:
    • Automatically redirects projects to a secondary ingestion queue on S3 SlowDown errors inprocessEventBatch() inprocessEventBatch.ts andingestionQueueProcessorBuilder() iningestionQueue.ts.
    • Logs S3 SlowDown errors and marks projects for secondary queue routing usingmarkProjectS3Slowdown() ins3SlowdownTracking.ts.
  • Environment:
    • AddsLANGFUSE_S3_SLOWDOWN_TTL_SECONDS toenv.ts with a default of 14400 seconds (4 hours).
  • Redis:
    • IntroducesisS3SlowDownError(),markProjectS3Slowdown(), andhasS3SlowdownFlag() ins3SlowdownTracking.ts for handling S3 SlowDown errors and tracking in Redis.
  • Misc:
    • Exportss3SlowdownTracking inindex.ts.

This description was created byEllipsis for070df53. You cancustomize this summary. It will automatically update as commits are pushed.

depthfirst-app[bot] reacted with thumbs up emojiellipsis-dev[bot] reacted with rocket emoji
@dosubotdosubotbot added the size:LThis PR changes 100-499 lines, ignoring generated files. labelNov 25, 2025
.default("true"),

LANGFUSE_S3_LIST_MAX_KEYS:z.coerce.number().positive().default(200),
LANGFUSE_S3_SLOWDOWN_TTL_SECONDS:z.coerce.number().positive().default(14400),// 4 hours
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Usually AWS is faster with scaling. I would move this to ~1h

Steffen911 reacted with thumbs up emoji
`Redirecting ingestion event to secondary queue for project${job.data.payload.authCheck.scope.projectId}`,
`Redirecting ingestion event to secondary queue for project${projectId}`,
{
reason:shouldRedirectSlowdown ?"s3_slowdown_flag" :"env_config",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We need to make sure to scale containers on the secondary queue length also. otherwise we may move a large new ingestor and do not scale containers to clear the queues

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We also need to check alerting on that queue

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@maxdeichmannmaxdeichmannmaxdeichmann left review comments

Assignees

No one assigned

Labels

size:LThis PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Steffen911@maxdeichmann

[8]ページ先頭

©2009-2025 Movatter.jp