Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make dedupe faster at I/O level. #3028

Open
laststylebender14 opened this issue Oct 18, 2024 · 6 comments
Open

feat: make dedupe faster at I/O level. #3028

laststylebender14 opened this issue Oct 18, 2024 · 6 comments

Comments

@laststylebender14
Copy link
Contributor

Currently, for all deduplicated requests, we create a clone of the response, but we don't modify the cloned response. This results in redundant copies in memory and unnecessary overhead.

Proposed Solution:

Instead of cloning the response, we can keep a single copy of the response in memory and use it to construct the final response in synth. This approach will optimize both memory usage and performance by reducing duplication and overhead.

A similar approach has been implemented in PR #3025.

Copy link

Action required: Issue inactive for 30 days.
Status update or closure in 7 days.

@github-actions github-actions bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Nov 17, 2024
Copy link

Issue closed after 7 days of inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2024
@tusharmath
Copy link
Contributor

/bounty $120

@tusharmath tusharmath reopened this Nov 25, 2024
Copy link

algora-pbc bot commented Nov 25, 2024

💎 $120 bounty • Tailcall Inc.

Steps to solve:

  1. Start working: Comment /attempt #3028 with your implementation plan
  2. Submit work: Create a pull request including /claim #3028 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

🙏 Thank you for contributing to tailcallhq/tailcall!
🧐 Checkout our guidelines before you get started.
💵 More about our bounty program.

Attempt Started (GMT+0) Solution
🔴 @palash25 Nov 28, 2024, 2:19:17 PM WIP

@github-actions github-actions bot removed the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Nov 25, 2024
@palash25
Copy link

palash25 commented Nov 28, 2024

/attempt #3028

Algora profile Completed bounties Tech Active attempts Options
@palash25 2 bounties from 2 projects
Go, Python,
Rust & more
Cancel attempt

Copy link

algora-pbc bot commented Nov 30, 2024

The bounty is up for grabs! Everyone is welcome to /attempt #3028 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants