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

Method to upload a large batch at max speed #217

Open
marclaporte opened this issue Sep 23, 2024 · 1 comment
Open

Method to upload a large batch at max speed #217

marclaporte opened this issue Sep 23, 2024 · 1 comment
Assignees

Comments

@marclaporte
Copy link

Could / should the Manticore PHP client be adapted?

2024-09-23_170943

@sanikolaev
Copy link
Collaborator

Hi @marclaporte

  1. disable binlog

This has been mitigated here manticoresoftware/manticoresearch#879

  1. write to multiple tables at once

This will be resolved once auto-sharding is completed:

Also, I believe the client shouldn't manage the schema directly anyway.

  1. write with a higher concurrency
  2. write with a larger batch

It might make sense to integrate this into the client. The idea would be that when the client receives a large batch of documents, it starts sending them to Manticore at the maximum possible speed, automatically adjusting concurrency and batch size. This could be based on factors like the number of CPU cores and workers available in the Manticore instance, increasing until further gains are no longer feasible.

@sanikolaev sanikolaev changed the title "The Manticore PHP client doesn't do the things recommended above out of the box." Method to upload a large batch at max speed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants