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

Add auto-batching client #37

Closed
rbino opened this issue Nov 3, 2023 · 4 comments
Closed

Add auto-batching client #37

rbino opened this issue Nov 3, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@rbino
Copy link
Owner

rbino commented Nov 3, 2023

The existing stateful client (or possibly a separate one) can support automatically batching incoming requests, to allow collecting requests from multiple services maximizing TigerBeetle capabilities (see here).

The behaviour can be a client that waits until a batch size is reached or a timeout occurs, whichever comes first.

@rbino rbino added the enhancement New feature or request label Nov 3, 2023
@lessless
Copy link

Hey @rbino,

Thank you for your work on the TB client. I'm just catching up with all its capabilities and and noticed that they moved away document you linked in the description.

Thanks!

@rbino
Copy link
Owner Author

rbino commented Jun 18, 2024

Hey @lessless, thanks for the heads up, I'll see if I can find a new reference.

I've also done some experimenting with auto-batching for the TigerBeetle Hackaton at Interledger Summit 2023, you can find a video about this here and the code is here

@rbino
Copy link
Owner Author

rbino commented Aug 4, 2024

The native TigerBeetle client already does this automatically now (see tigerbeetle/tigerbeetle#1257), so there's no need to support it at the Elixir client level.

Closing this.

@rbino rbino closed this as completed Aug 4, 2024
@lessless
Copy link

lessless commented Aug 4, 2024

Hey @lessless, thanks for the heads up, I'll see if I can find a new reference.

I've also done some experimenting with auto-batching for the TigerBeetle Hackaton at Interledger Summit 2023, you can find a video about this here and the code is here

Thanks for sharing @rbino ! That's was a great presentation. It nicely matches the TB engineering environment.

I wish I would have a chance to work with it in prod one day :)

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

No branches or pull requests

2 participants