It is exactly the opposite: keeping state serverside increases
performance. It makes it more expensive to scale out, but that is
about it.

Keeping state readily available at the server ensures you don't have
to send it across the wire, or have to reconstruct it at the server.
It consumes memory, and bandwidth if you have to cluster your nodes
and need failover, but with a buddy system you don't have to send it
across your whole infrastructure.

Martijn

On Wed, Jul 16, 2008 at 9:51 AM, Daan van Etten <[EMAIL PROTECTED]> wrote:
> On 16 jul 2008, at 04:49, Ryan Sonnek wrote:
>
>> On Tue, Jul 15, 2008 at 8:54 AM, Nino Saturnino Martinez Vazquez Wael <
>> [EMAIL PROTECTED]> wrote:
>>
>>> We are having the potential fun of running a site with around 1 million
>>> users, and a lot more over time. What could be great optimizing points?
>>>
>>> We have looked at these things
>>>
>>>  * Detachable models (not sure if it makes anything run faster, just
>>>   that it keeps the memory footprint down making more users possible
>>>   on each server)
>>>  * Web Cache(Oscache, Ehcache or Apache http)
>>>  * Internal cache(Eh distributed cache)
>>>  * Clustering(simple web server clustering with apache
>>>   http/loadbalancer/tomcat)
>>>       o Would Jetty be better?
>>>
>>> Are there something we have forgotten? Have other point to pick out?
>>> Should
>>> we investigate terracotta also(seems they integration are working now)?
>>
>> Cache, Cache, Cache.  if you're running any high volume/traffic sites, you
>> absolutely need to leverage caching to get any amount of scalability.
>>  This
>> goes for ANY web framework and not just wicket.
>>
>> readup on some of the published whitepapers for high traffic sites (flickr
>> is a great case study) to see how they do it.
>
> Try to have the server-side as stateless as possible. If the state is at the
> client, any server can handle the requests without exchanging state. See
> http://cwiki.apache.org/WICKET/stateless-pages.html for a short intro. It
> will change the way you write your project, but keeping state server-side
> can be disastrous for real performance.
>
> Regards,
>
> Daan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to