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

Add Easy Racer problems #51

Open
jabrena opened this issue Jun 22, 2024 · 1 comment
Open

Add Easy Racer problems #51

jabrena opened this issue Jun 22, 2024 · 1 comment

Comments

@jabrena
Copy link
Owner Author

jabrena commented Jun 22, 2024

A scenario server validates the implementations of 10 scenarios:

Race 2 concurrent requests

GET /1
The winner returns a 200 response with a body containing right

Race 2 concurrent requests, where one produces a connection error

GET /2
The winner returns a 200 response with a body containing right

Race 10,000 concurrent requests

GET /3
The winner returns a 200 response with a body containing right

Race 2 concurrent requests but 1 of them should have a 1 second timeout

GET /4
The winner returns a 200 response with a body containing right

Race 2 concurrent requests where a non-200 response is a loser

GET /5
The winner returns a 200 response with a body containing right

Race 3 concurrent requests where a non-200 response is a loser

GET /6
The winner returns a 200 response with a body containing right

Start a request, wait at least 3 seconds then start a second request (hedging)

GET /7
The winner returns a 200 response with a body containing right

Race 2 concurrent requests that "use" a resource which is obtained and released through other requests. The "use" request can return a non-20x request, in which case it is not a winner.

GET /8?open
GET /8?use=
GET /8?close=
The winner returns a 200 response with a body containing right

Make 10 concurrent requests where 5 return a 200 response with a letter

GET /9
When assembled in order of when they responded, form the "right" answer

@jabrena

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