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

a large number of threads will be created when use sendEach api #994

Closed
ffyyhh995511 opened this issue Sep 3, 2024 · 2 comments
Closed

Comments

@ffyyhh995511
Copy link

firebase-admin-java, the version is 9.3.0. When sendEach api is used to push tens of thousands of tokens, a large number of threads will be created, resulting in a high cpu. How do I solve the problem

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@lahirumaramba
Copy link
Member

We are working on adding http/2 support to sendEach to solve this issue and improve performance. In the meantime, you can try implementing your own code to use the REST endpoints with http/2. We will track any progress on this here #979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants