firebase-admin-go icon indicating copy to clipboard operation
firebase-admin-go copied to clipboard

[FR] Any equivalent of SendAll anytime soon?

Open kashyaprahul94 opened this issue 11 months ago • 1 comments
trafficstars

Any equivalent of SendAll anytime soon?

Potential duplicate of https://github.com/firebase/firebase-admin-node/issues/2418#issuecomment-1989060437

The performance after implementing the SendEach functionality has significantly deteriorated, leading to higher CPU usage. Are there any anticipated improvements or optimizations that could address this issue?

kashyaprahul94 avatar Dec 03 '24 11:12 kashyaprahul94

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Dec 03 '24 11:12 google-oss-bot

Hi @kashyaprahul94 , we have optimized the sendEach*() functions in #695 and the changes are now available in v4.17.0. This change should reduce the CPU usage and improve batch send performance. Please create a new issue if you are still experiencing problems. Thanks!

lahirumaramba avatar Jul 17 '25 15:07 lahirumaramba

@lahirumaramba hello,

#695 does not contain any benchmarks and comparisons, did you make some local measurements or profiling maybe which demonstrated the difference? If yes - please share 🙏

FZambia avatar Jul 17 '25 16:07 FZambia