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

[Docs] Added advanced concurrency limits section #110

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ram-sharma
Copy link
Contributor

Add new section under Advanced Concepts > Managing Concurrency Limits

Copy link

@sahilsuman933
Copy link
Collaborator

Not sure what the purpose of this documentation is. It would have been great if you could explain what concurrency is, the errors we might encounter, how we can add additional concurrency, and other generally asked questions.

Copy link
Collaborator

@sahilsuman933 sahilsuman933 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tackle the following questions in this article:

  1. What is concurrency? Explain how the concurrency limit is applied on the organization level, not on the phone number or assistant level.
  2. What happens when the concurrency limit is exceeded?
  3. How can we check the concurrency lines? (We don't expose it at the moment, but mention it.)
  4. How to implement a queue system for the concurrency part.
  5. How to purchase extra concurrency lines.

@ram-sharma
Copy link
Contributor Author

ram-sharma commented Dec 12, 2024

Discussed this with @sahilsuman933 , I made the changes he mentioned, removed reference to Subscription schema. The only part that is not included is implementing a queue system for the concurrent calls, that will probably be it's own advanced guide and will require a detailed write-up.

[y] What is concurrency? Explain how the concurrency limit is applied on the organization level, not on the phone number or assistant level.
[y] What happens when the concurrency limit is exceeded?
[y] How can we check the concurrency lines? (We don't expose it at the moment, but mention it.)
[n] How to implement a queue system for the concurrency part.
[y] How to purchase extra concurrency lines.

Copy link

Copy link
Collaborator

@sahilsuman933 sahilsuman933 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, there are a lot of confusing things in this documentation, and it should be kind of straightforward.

Copy link
Collaborator

@sahilsuman933 sahilsuman933 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm uncertain about the sections on Managing Concurrency Effectively and the approach to handling retries

@sahilsuman933
Copy link
Collaborator

Dumping some messages I replied to related to concurrency part:

Max number of concurrent calls that can be made in real-time. You can think of it with call centre analogy like one support person can talk to one client at a time when he is done then only he can talk to another person.

To increase the concurrency limit, you can do it via add-on plan which can be found under billing section.
it is for both inbound + outbound and we don’t have a queue mechanism incase of you hit the call concurrency limit. Although, there is a thing in twilio flex through which you can create this flow.

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

Successfully merging this pull request may close these issues.

2 participants