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

spot websocket v4 api limits #25

Closed
ksodo opened this issue Feb 21, 2022 · 2 comments
Closed

spot websocket v4 api limits #25

ksodo opened this issue Feb 21, 2022 · 2 comments

Comments

@ksodo
Copy link

ksodo commented Feb 21, 2022

For your spot websocket v4 api. Related page:
https://www.gate.io/docs/developers/apiv4/ws/en/#spot-websocket-v4.

I couldn't find the following information on the doc page. Could you add to the doc too?

  1. What is the limit for subscriptions(channels) on one connection?
  2. What is the rate limit (per second) for messages to gateio server?
  3. What is the limit for connections from one host?

Thanks

@revilwang
Copy link
Collaborator

  1. No limit on subscriptions
  2. No limit for message sent
  3. No connections limit for now, but 100 connections at most from one host are recommended.

Note if there are many subscriptions in one connection, the connection can be closed easily, because the server will actively close the connection if the client cannot consume the update in time.

@ksodo
Copy link
Author

ksodo commented Feb 23, 2022

Thanks

@ksodo ksodo closed this as completed Feb 23, 2022
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

2 participants