It sounds like the multi-server option would take a lot of work to get= set up properly. A few of the databases are written to frequently (orders =and quanityt on hand)- this would probably be much simpler if we used SQL.==A0Version 7 is also a long way off because of the depreca=ted commerce tags we are using.Our site search do=es search a lot of fields and may be the source of our problem. Site search= certainly increases as traffic increases."=A0For instance, if you use [append] against a large d=atabase, it will rewrite the entire database to disk after each single [app=end]."What would be considered a large datab=ase? (Our largest is 57MB)=On Fri, Jul 29, 2011 at 1:31 PM, <christophe.billiottet@web=dna.us> wrote:Hi Daniel!If you are in the situation where you write to databases, you can'=;t (at this time) sync multiple servers databases loaded in RAM, though we =will work on a solution in the future. If you just "read" a datab=ase, then yes, you can run multiple servers with the same content. One solu=tion could be to to route the "read" requests to a round robin cl=uster of servers and route the "write" requests to a single serve=r, whose database content would be regularely copied to the read-only boxes=. Google is using something like this. Another solution is to run several d=edicated front-end web servers and one dedicated WebDNA 7.0 FastCGI back-en=d server: this will work.
On Jul 29, 2011, at 13:49, Daniel Meola wrote:
> Finally, I can only assume that at some point a single server can only= handle so much traffic. Perhaps we have reached that point. Has anyone suc=cessfully set up load balancing across multiple WebDNA servers?
However, carefully coded WebDNA website running on a high speed CPU with li=ghttpd (faster, smaller footprint and faster FastCGI interface than apache)= and WebDNA 7.0 will handle a very high load without any problem (faster th=an the same hardware with php + MySQL). Speed problems arise with badly des=igned complex search commands, or if you write a lot to your disk. For inst=ance, if you use [append] against a large database, it will rewrite the ent=ire database to disk after each single [append].
- chris---------------------------------------------------------This message is sent to you because you are subscribed= to
the mailing list <ta=lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo=rt@webdna.us
|
It sounds like the multi-server option would take a lot of work to get= set up properly. A few of the databases are written to frequently (orders =and quanityt on hand)- this would probably be much simpler if we used SQL.==A0Version 7 is also a long way off because of the depreca=ted commerce tags we are using.Our site search do=es search a lot of fields and may be the source of our problem. Site search= certainly increases as traffic increases."=A0For instance, if you use [append] against a large d=atabase, it will rewrite the entire database to disk after each single [app=end]."What would be considered a large datab=ase? (Our largest is 57MB)=On Fri, Jul 29, 2011 at 1:31 PM, <christophe.billiottet@web=dna.us> wrote:Hi Daniel!If you are in the situation where you write to databases, you can'=;t (at this time) sync multiple servers databases loaded in RAM, though we =will work on a solution in the future. If you just "read" a datab=ase, then yes, you can run multiple servers with the same content. One solu=tion could be to to route the "read" requests to a round robin cl=uster of servers and route the "write" requests to a single serve=r, whose database content would be regularely copied to the read-only boxes=. Google is using something like this. Another solution is to run several d=edicated front-end web servers and one dedicated WebDNA 7.0 FastCGI back-en=d server: this will work.
On Jul 29, 2011, at 13:49, Daniel Meola wrote:
> Finally, I can only assume that at some point a single server can only= handle so much traffic. Perhaps we have reached that point. Has anyone suc=cessfully set up load balancing across multiple WebDNA servers?
However, carefully coded WebDNA website running on a high speed CPU with li=ghttpd (faster, smaller footprint and faster FastCGI interface than apache)= and WebDNA 7.0 will handle a very high load without any problem (faster th=an the same hardware with php + MySQL). Speed problems arise with badly des=igned complex search commands, or if you write a lot to your disk. For inst=ance, if you use [append] against a large database, it will rewrite the ent=ire database to disk after each single [append].
- chris---------------------------------------------------------This message is sent to you because you are subscribed= to
the mailing list <ta=lk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: suppo=rt@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...