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

Performance issue: gRPC publish, ack makes expensive AWS calls #34

Open
dmacthedestroyer opened this issue Apr 25, 2018 · 0 comments
Open

Comments

@dmacthedestroyer
Copy link
Contributor

When subscribing or publishing, the gRPC server will ensure that the topic and queues are properly configured. This was an intentional design decision to ease the burden of managing these resources by the developers.

A side effect is that every call to Publish() and Ack() is making these checks, which include some rate-limited calls to SNS and SQS. This causes slowness that's tolerable, but more importantly, will possibly cause a large system to behave sporadically.

The most straightforward solution is local caching of the persistent portions of AWS connections: Topic, Subscription, Queue Arns, etc.

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

1 participant