Posted: February 11, 2019 at 4:43 am
|
Just wondering if there’s a recommended limit on either registrations through a single event, or the total number of simultaneous registrations? I’m not referring to limiting the number of tickets that a user can book, but the total number of registrations that can safely be created simultaneously in EE. I know that the server and allocated memory will factor heavily into this, but I just wanted to know if there was a tested limit that I should try to keep within? For instance, I’ve just tried to make a booking with 100 places – with a 6 question registration form, and only collecting data from the primary registrant – and it’s caused the page to crash. Thanks, Jeremy |
Hi Jeremy, As you correctly mentioned, it all depends on your server, however, your question seems to contradict itself a little, so to clarify:
Then:
Unless I’m misunderstanding, you are referring to the number of tickets a user can purchase in a single instance? I’m guessing the crash you had was after 30 seconds from when you submitted the selection? The reason I say that is 30 seconds is the default max_execution_time value when you install PHP and that’s what most host’s leave it as. Meaning you submitted the tickets and it took longer than 30 seconds for the server to create the 100 registrations, so the script was killed, you can confirm this by looking in the error logs and looking for a max_execution_time error (or retest with WP_DEBUG enabled and the error should show on the page itself). There’s not enough info above to know if that’s the actual cause, just an educated guess.
No, because each case is different. To explain a little there is a 1-to-1 relationship between tickets and registrations. When you select a ticket within EE a registration is created for that ticket when you submit the ticket selector, meaning if you select 100 tickets, 100 registrations are created. I have multiple test sites across various different hosting packages and as an example on a cheap shared hosting package ($3 a month) I have no problem creating 100 registrations in a single step, it takes a little longer than a request with fewer registrations but still within 30 seconds (Avg of 19 seconds). However, would I get the same results during a registration season with multiple various visitors submitting 100 registrations at once, likey not and the config would need to be tweaked to handles that so there is no clear cut answer. May I ask what use case this is for? What type of hosting are you using? |
|
|
Thanks for the reply, Tony. Yes, I do mean the number of tickets a user can purchase in a single instance. I just wanted to make it clear that I wasn’t referring to the “Maximum number of tickets” setting when creating the event. I’m going to run your suggestions past the server management team, and see what they say. In the meantime, I’ve also submitted a support request about this one. I’m not sure if that’s the easiest way to get more info. Scott |
Hi Scott, We’ve received your request for priority support. I logged in to the site, and the number 1 item I can recommend is ask the web host to update to PHP 7.2 or greater. Currently the site is on PHP 5.5, which reached end of life in July 2016. The newer versions of PHP are much more performant. Here’s a quick reference that shows some simple benchmarks, for example: https://gbksoft.com/blog/php-5-vs-php-7-performance-comparison/#vpv4A |
|
|
Thanks Josh. That’s actually what the server team are already planning to do (along with a move to a new server), so great minds. Anything else they should be looking at? |
Updating PHP is going to have the biggest improvement on speed. If you’re expecting to run registrations with large ticket qty’s on each purchase you’ll want to make sure you have enough memory available, running on the bare minimum isn’t going to cut it. As if you have multiple users purchasing large qty’s of registration at the same time you’ll use more memory. What type of hosting are you using? Is it shared? If so you’ll likely want to look at switching to something a little more substantial, otherwise, you may run into issues when other sites are under load on the same server. |
|
|
Thanks Tony. The server and PHP are being upgraded in the next few days, so I’m hoping that will enable bulk bookings again. However, I’m now experiencing a new problem which has halted all registrations. When attempting to submit the registration form, I’m receiving the message “This registration step could not be completed. Please refresh the page and try again.” |
|
The server has now been upgraded to PHP7 and the performance enhanced. However, I’m still seeing this error message when submitting the registration details: “This registration step could not be completed. Please refresh the page and try again.” |
|
I’m also unable to add registrations manually with WP – receiving the error “There is no model named ‘REG_deleted’ related to EEM_Answer. Query param type is 0 and original query param is REG_deleted”. |
Just noting here that we received your support token request and have replied via email. |
|
The support post ‘Maximum number of simultaneous bookings?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.