[#455] Inconstant behavior while booking an event

Migrated from Redmine #455 | Author: Asmaa Hassaan
Status: New | Priority: Immediate, there is BUG! | Created: 2019-12-09


Greetings

My company account is takamolsvs,

To get available times for a service provider we use the endpoint “getStartTimeMatrix” with the following prams:
{“2019-12-13”, “2019-12-13”, 4707, 379, 21} and the response is:

{"result"=>{"2019-12-13"=>["09:00:00", "10:30:00", "12:00:00", "13:30:00", "15:00:00"]}, "id"=>"SVS", "jsonrpc"=>"2.0"}

and based on this result we try to book for a 21 user by using the endpoint “book” with time slot “2019-12-13 09:00:00”
but it not successfully booked for all the 21 users some booked successfully and others give the following result:

{"id"=>"SVS", "error"=>{"code"=>-32059, "data"=>[], "message"=>"Oooops, you are too late. Someone just booked this slot. Please choose another time and try again."}, "jsonrpc"=>"2.0"}

Is there a reason for that?
please note that we didn’t face this problem before in our staging environment but it is generated in production environment only

Redmine Admin wrote:

hi, you are calling book method in many threads which caused this problem.

Your account also exceed our usage limits for common users and can be suspended any time, please contact ingvar@simplybook.me about enterprise solution.

You currently have:
385 providers
8803 units
3274 services

such numbers are NOT supported by standard tariff plan.

Redmine Admin wrote:

For usage like yours it may both affect other users on same server and your own system will not be reliable as we have ddos protection per each system that limit loads. For case like yours we can offer you to be on a dedicated server as then your power can be adjusted but the cost is considerably higher unfortunately or from $1.250/month depending on actual load.

Asmaa Hassaan wrote:

Thanks, noticed

(Short original content)

Maram M wrote:

Kindly can you clarify more about Quota/limit.
And I need more clarification about the below conversation.
” For case like yours we can offer you to be on a dedicated server as then your power can be adjusted but the cost is considerably higher unfortunately or from $1.250/month depending on actual load.”

Redmine Admin wrote:

Hi, please cntact our Live help with this question.