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

Improve Efficiency of MapStreaming #1564

Open
5 tasks
vigith opened this issue Mar 14, 2024 · 0 comments
Open
5 tasks

Improve Efficiency of MapStreaming #1564

vigith opened this issue Mar 14, 2024 · 0 comments
Assignees
Labels
area/forward Forward/Map enhancement New feature or request

Comments

@vigith
Copy link
Member

vigith commented Mar 14, 2024

Summary

Today, we have the following constraints

  • only an element can be processed at a time
  • we create a map-stream (gRPC) for every batch (meaning streaming inside unary)
  • our batch is a blocking batch and will not proceed if we have a slow message
  • Read, Execute, Forward, Ack is an ordered (sync) workflow for a batch, we need to make it out-of-order non-blocking
  • move away from blocking batch to bounded concurrency (X in a batch to always have X in the backlog)

We need to remove these constraints without affecting the correctness or completeness property.

Use Cases

  • Better throughput
  • Rewrite Map on top of MapStreaming

Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/forward Forward/Map enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants