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

perf: split up and retire grammY runner #703

Open
Tracked by #675
KnorpelSenf opened this issue Dec 15, 2024 · 0 comments
Open
Tracked by #675

perf: split up and retire grammY runner #703

KnorpelSenf opened this issue Dec 15, 2024 · 0 comments

Comments

@KnorpelSenf
Copy link
Member

Most of the grammY runner perf comes from three things. They should be dealt with as follows.

  • a good queue: this is useful for webhooks, too, so we should release it as a new plugin that works on both polling and webhooks
  • backpressure by the queue: this can be added to the core lib, it is very simple to do so
  • fast polling: this is actually trivial to do, we can also add it to the core lib with very little changes

That way, both polling and webhooks can be made substantially faster by adding a queue.

@KnorpelSenf KnorpelSenf mentioned this issue Dec 15, 2024
51 tasks
@KnorpelSenf KnorpelSenf changed the title feat: split up and retire grammY runner perf: split up and retire grammY runner Dec 16, 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

1 participant