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

Prepare a doc page and example about good high load practices #364

Open
akudiyar opened this issue Mar 1, 2023 · 0 comments
Open

Prepare a doc page and example about good high load practices #364

akudiyar opened this issue Mar 1, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@akudiyar
Copy link
Collaborator

akudiyar commented Mar 1, 2023

There is a common question from the customers that arise often - how to work with the driver API in the right way if we want to produce some high load for the Tarantool cluster using it and don't get the cluster stuck, a big number of failed requests or OOM errors in the driver?

The correct answer requires some understanding of how the Tarantool instance (router) works with client requests and what are the right practices for using the concurrent framework in Java. For using the driver correctly in high-load tasks the users need to control the request rate using either the information from the Tarantool cluster monitoring or from the internal measures in the client application - the task progress and internal driver metrics. The useful driver metrics do not exist yet (it's another topic), but the request rate still can be controlled by the user.

I suggest adding an example (a benchmark script?) that uses the right code patterns for working with asynchronous futures in Java (grouping, parallel execution, exception handling) and driver API, including write, read, custom and batch calls.

@akudiyar akudiyar added the documentation Improvements or additions to documentation label Mar 1, 2023
@dkasimovskiy dkasimovskiy removed their assignment Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants