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: Implement transformation conveyor #168

Open
Tracked by #167
wwoytenko opened this issue Aug 16, 2024 · 0 comments
Open
Tracked by #167

feat: Implement transformation conveyor #168

wwoytenko opened this issue Aug 16, 2024 · 0 comments
Assignees
Labels

Comments

@wwoytenko
Copy link
Contributor

wwoytenko commented Aug 16, 2024

We suspect that Greenmask's performance could be improved by implementing a transformation conveyor. The idea is to:

  • Run conveyor workers equal to the number of applied transformations.
  • Receive a record with a count matching the number of transformers.
  • Send the record to a channel.
  • Allow the next record into the channel based on the "head" length. For instance, if we have 3 conveyors and the last one is still processing, ensure that at least 2 records are pushed.

Note: This is a rough algorithm and may be adjusted during development.

@wwoytenko wwoytenko mentioned this issue Aug 16, 2024
19 tasks
@wwoytenko wwoytenko changed the title feat: Implement transformation conveyor goroutines feat: Implement transformation conveyor Aug 16, 2024
@wwoytenko wwoytenko self-assigned this Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant