Hey Artyom,

2009/2/20 Artyom <[email protected]>:
>> > 4. Do you plane scalability facilities?
>>
>> What are scalability facilities? We believe Wt scales very
>> well as it
>> is, as sessions can be physically separated since Wt itself
>> does not
>> rely on a central resource (such as a database).
>
>
> How many HTTP requests does your main page (http://www.webtoolkit.eu/wt)
> requires? Do you cache its content? Can you put your application

Every Wt application requires 2 request for the initial page load,
besides images and CSS files that are application specific. Every
other action inside a Wt application always results in a single AJAX
request.

We do not cache "content", as there is not really any "content" concept in Wt.

> and more then 1 server and share common data like session information?

You can deploy a Wt application behind a standard load balancing
reverse proxy that knows how to deal with session affinity by matching
a regular expression on the URL (when using the built-in httpd using
--session-id-prefix). Wt itself does not require shared common data
like session information.

> How many hits can it hold per second?

A hit in a traditional application requires a full page render, in Wt
it only requires updates except for the initial request. Therefore
"hits" are more heterogeneous and any such statistic would depend on
how you setup your test.

But let us say that we have a more than average care for performance
since we want Wt to run comfortably on low power embedded systems.

> These are the point that you should be really worried about
> when you think about scalability

According to my knowledge (and wikipedia), scalability is really: if
one multiplies the number of resources (servers), how does this
increase the load you can handle
(http://en.wikipedia.org/wiki/Scalability) ?

For Wt the answer is quite simple: scalability is linear except when
the load balancer would become the bottle-neck (but then there are
other solutions), or when the application logic itself contends for a
common resource.

Regards,
koen

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to