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

http request might return 503 if too many requests are sent at the same time #6

Closed
edwardez opened this issue May 28, 2018 · 1 comment

Comments

@edwardez
Copy link
Owner

edwardez commented May 28, 2018

api.bgm.tv will return 503 if too many requests are sent at the same time

artillery quick --count 100 -n 1 https://api.bgm.tv/subject/1

Report 
  Scenarios launched:  100
  Scenarios completed: 100
  Requests completed:  100
  RPS sent: 22.32
  Request latency:
    min: 197.1
    max: 2241.2
    median: 225
    p95: 2216.6
    p99: 2231
  Codes:
    200: 20
    503: 80

in order to bypass CORS, all requests are proxied through our own server
might be a problem in production (proxy pool/convert app into a ionic one/request bangumin to be added to the Access-Control-Allow-Origin list?)

@edwardez
Copy link
Owner Author

edwardez commented Jul 7, 2018

close in favor of #7

@edwardez edwardez closed this as completed Jul 7, 2018
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