hi everybody, i am redeveloping a very old site for a client and they might eventually need to handle a 200,000 site submissions/day.
in the past i have used everything from frameworks to classes to straight linear forms, and i was wondering what everybody thinks is the MOST efficient to avoid any crashes?
note: there will be no uploads of any sort....simply text submissions (10-12 fields of data).
thanks,
-michael
Most efficient form submission??
Moderator: General Moderators
- MindOverBody
- Forum Commoner
- Posts: 96
- Joined: Fri Aug 06, 2010 9:01 pm
- Location: Osijek, Croatia
Re: Most efficient form submission??
Hm, there's no much to do with forms from perspective of efficiency. Maybe using ajax script might reduce traffic. jQuery offers nice ajax support which provides excellent error event, so if anything crashes you can resend data again. In PHP there's no much things to do or improve, just use fastest function, make few scripts and stopwatch them to se which one is fastest.
Actually, this is quite nice question. I am using same methodology since i learned it at some tutorial many years ago, so I am interested if someone can produce "more efficiently" way of submission.
Actually, this is quite nice question. I am using same methodology since i learned it at some tutorial many years ago, so I am interested if someone can produce "more efficiently" way of submission.
Re: Most efficient form submission??
i think one thing i might do is separate the logic....one page to process, one for validation, and then a final DB processing page.
next question: anybody have any thoughts on the most efficient DB connection protocol? pconnect? singleton??
thanks!
-michael
next question: anybody have any thoughts on the most efficient DB connection protocol? pconnect? singleton??
thanks!
-michael
Re: Most efficient form submission??
200 000 / 24 / 3600 = 2.3 rps . Doesn't sound like anything to worry about.speedamp wrote:hi everybody, i am redeveloping a very old site for a client and they might eventually need to handle a 200,000 site submissions/day.