- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
New hosting with simultaneous connections
- hoatamus
- Topic Author
- Offline
- New Member
Less
More
8 years 7 months ago #125960
by hoatamus
New hosting with simultaneous connections was created by hoatamus
Hello, I'm using LimeSurvey 2. I looking for new hosting services which is able to expand to many survey takers at the same time (say 100,000). What is hosting configuration which can handle it? Please give me advise or reference hosting services. Thank you.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 7 months ago #125963
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic New hosting with simultaneous connections
Do you mean 100.000 survey users at the same time? That's really a lot.
Have a look at www.limeservice.com .
Have a look at www.limeservice.com .
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
8 years 7 months ago #125973
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic New hosting with simultaneous connections
100.000 concurrent connections with Limeservice? The last time I checked the TOS there where no service level mentioned. Some SaaS survey platforms are putting limits in form of abuse limits e.g. 1000 surveys per day. After that a dedicated server is used per user account.
@hoatamus:
How do you got the 100.000? The thread subject states connections, but in the post you talk about users. Connections, requests, and users are all different things. I don't see Limesurvey handling 100.000 concurrent users well. Would be interesting to see how the sessions are working when using file based session files which are very big since Limesurvey is putting too much in it.
Peak requests per second would be a technical term to ask hosting firms about there setup and performance of webserver and database server. The usage patterns will be different depending on the survey design. But still a lot more homogeneous in a survey than on a forum website (search, upload, post).
@hoatamus:
How do you got the 100.000? The thread subject states connections, but in the post you talk about users. Connections, requests, and users are all different things. I don't see Limesurvey handling 100.000 concurrent users well. Would be interesting to see how the sessions are working when using file based session files which are very big since Limesurvey is putting too much in it.
Peak requests per second would be a technical term to ask hosting firms about there setup and performance of webserver and database server. The usage patterns will be different depending on the survey design. But still a lot more homogeneous in a survey than on a forum website (search, upload, post).
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
8 years 7 months ago #125982
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic New hosting with simultaneous connections
Please consider the option of a hosting company with in-house support staff trained for... firefighting :lol:
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
- holch
- Away
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
8 years 7 months ago - 8 years 7 months ago #125983
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic New hosting with simultaneous connections
I think most survey systems will at least have some struggles when having to deal with actual 100.000 concurrent users. I agree with Jelo, most SAAS survey tools will limit what you can throw at them in some way.
And to be honest, I highly doubt that there will be actually 100.000 concurrent users, as long as you are not inviting 1.000.000 people at the same time.
If you mean that you need to complete 100.000 questionnaires/responses, then I would suggest to time the sending of the invitations in some way. Because even a standard dedicated server will have some trouble to handle huge loads of respondents at the same time (also because of the big session files of Limesurvey, but not only because of that).
So give us a little more information so we can understand your real needs. If your real need is 100.000 concurrent survey respondents, then I guess no one here has experience with this load.
And to be honest, I highly doubt that there will be actually 100.000 concurrent users, as long as you are not inviting 1.000.000 people at the same time.
If you mean that you need to complete 100.000 questionnaires/responses, then I would suggest to time the sending of the invitations in some way. Because even a standard dedicated server will have some trouble to handle huge loads of respondents at the same time (also because of the big session files of Limesurvey, but not only because of that).
So give us a little more information so we can understand your real needs. If your real need is 100.000 concurrent survey respondents, then I guess no one here has experience with this load.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 8 years 7 months ago by holch.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
8 years 7 months ago #126043
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic New hosting with simultaneous connections
Even CMS can have issue with 100.000 concurrent usersjelo wrote: ..... handling 100.000 concurrent users well. ...
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
8 years 7 months ago #126054
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic New hosting with simultaneous connections
I have yet to find a CMS which creates a 1MB session file on a first visit. The whole session handling in connection with a post/get mix to allow catching forward / back page via browser navigation and browser crashes are an area for improvement.DenisChenu wrote: Even CMS can have issue with 100.000 concurrent users
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- sammousa
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
8 years 7 months ago #126057
by sammousa
Replied by sammousa on topic New hosting with simultaneous connections
Okay, let's see what we can do.
Limesurvey 3 (which is not even in alpha yet) will significantly improve in several areas:
1. Smaller sessions (no longer using sessions as a cache)
2. Real caches (that can be shared per survey instead of per session)
3. Javascript cachable surveys (the survey structure is cached both server side as well as client side and only filled with values during survey taking).
That being said, 100.000 concurrent connections is still too much for any normal setup (of any PHP app) to handle.
Suppose we have 100.000 users doing a survey at the same time, assuming they take approximately 20 seconds to complete a page.
At any second this means 5.000 users are pressing submit.
Assuming the page load time is < 0.1 second (which it is probably not), we have to do 50 seconds of processing time every second. Which means we need 50 cores and 50 php cgi processes (Assuming we run PHP-FPM).
If the requirement is real then there is a simple solution that will work for any type of web application: load balancing. Set up redundant systems and redirect users to one of these.
In general some optimizations might help, but load balancing will always be required to some extent.
- Use PHP-FPM
- Use the latest PHP version
- Use a memory cache (like memcached)
A more experimental but significant performance improvement can be realized using ReactPHP, this will move the bottleneck from CPU to Memory which scales more easily. (Note that LS2 is definitely not ready for this, but LS3 mostly is)
Regarding the request for firefighters, I am available for those kind of jobs, however note that, just like real firefighters, I will try my best but I cannot guarantee your house won't burn down
Contact me via skype sam_mousa for any inquiries!
Limesurvey 3 (which is not even in alpha yet) will significantly improve in several areas:
1. Smaller sessions (no longer using sessions as a cache)
2. Real caches (that can be shared per survey instead of per session)
3. Javascript cachable surveys (the survey structure is cached both server side as well as client side and only filled with values during survey taking).
That being said, 100.000 concurrent connections is still too much for any normal setup (of any PHP app) to handle.
Suppose we have 100.000 users doing a survey at the same time, assuming they take approximately 20 seconds to complete a page.
At any second this means 5.000 users are pressing submit.
Assuming the page load time is < 0.1 second (which it is probably not), we have to do 50 seconds of processing time every second. Which means we need 50 cores and 50 php cgi processes (Assuming we run PHP-FPM).
If the requirement is real then there is a simple solution that will work for any type of web application: load balancing. Set up redundant systems and redirect users to one of these.
In general some optimizations might help, but load balancing will always be required to some extent.
- Use PHP-FPM
- Use the latest PHP version
- Use a memory cache (like memcached)
A more experimental but significant performance improvement can be realized using ReactPHP, this will move the bottleneck from CPU to Memory which scales more easily. (Note that LS2 is definitely not ready for this, but LS3 mostly is)
Regarding the request for firefighters, I am available for those kind of jobs, however note that, just like real firefighters, I will try my best but I cannot guarantee your house won't burn down
Contact me via skype sam_mousa for any inquiries!
The following user(s) said Thank You: Ben_V
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13647
- Thank you received: 2491
8 years 7 months ago #126070
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic New hosting with simultaneous connections
even without PHP, surely 100.000 concurrent connections to download a little picture take a long long time .....sammousa wrote: ....
That being said, 100.000 concurrent connections is still too much for any normal setup (of any PHP app) to handle.
....
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.