Hi everyone, let me add my "2 cents" on the subject.
To teracomp: according to my experience , 100 users at once is not an issue for LS. It's quite an avarage common load (despite it runs the same time asterisk + cms + jabber+ e-mail server + ftp-server) on one of my VPS servers with 4 Gb Ram / 4 cpu*2.8 Ghz / 40 Gb SSD
As
jelo has written before, it's all about your server configuration and a lot of small but important issues.
Not that long ago I've deployed and run such a survey , here're the numbers:
- peak concurrent users simultaneously : ~6 500
- peak load duration: ~75 mins
- mean completed survey : ~15 mins
- TOP display values: peak processors load ~ 68% , peak memory load ~98% (well-known apache behaviour)
- total 40 000+ responces in ~20 hours (miserable night time load not counted)
- invitations sent: 300 000 + (in 1 batch, from other server, not LS, was not possible to split on several batches)
Server used : Cloud VPS scalable (with adjustible configuration) peak load config :
32 Gb Ram / 16 cpu*2.8 Ghz / 10 Gb
SSD drive , scaled down to 4 Gb Ram / 2 cpu*2.8 Ghz closer to the end of survey.
* btw - 'sessions' issue wasn't noticed (maybe 'cause tmp dir was unlocked and DB optimized)
Deployment approach applied: each sent kb, each connection second, each server request matters !
My brief step-by-step workaround:
To teracomp: IMHO, mentioned VPS-1000HA-S hosting is not an optimal choice:
- configuration is fixed, you can't scale on-the-fly and increase RAM or Processors q-ty in case of an overload -> go for scaleable cloud server, it's even cheaper in total count (if billed for resources consumed).
- limited bandwidth of 2 TB might be not enough, especially if you'll provide source files from the same server -> look for unlim.
- ensure server connection is at least 100 Mb/s (quite often it's just 10Mb/s)
- if you expect 2000+ users connecting at once - inform your provider, as sudden increase from 0 to 2000+ connections might be evaluated as DDOS attack (at least it looks like ) and your server could be blocked, consult for best configuration settings
Hope that long post wasn't too boring and might be helpfull to someone..