You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by mfs <fa...@gmail.com> on 2007/11/13 01:42:26 UTC
Serialization of pages in a cluster/load-balancer environment ?
Hi Guys,
Another question relating to the serialization of pages, so lets say we have
multiple instance of an application deployed in a load-balancing
environment, now lets stay in case of wizard type use-case if subsequent
requests get forwarded to different server (based on load sharing), would
the serialized page-components and the model data be synchronized to the
other servers in the cluster ? given the default implementation of the
page-store..? how would that work ?
Thanks and Regards,
Farhan.
--
View this message in context: http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13717677
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by Johan Compagner <jc...@gmail.com>.
yes HttpSessionStore is what is default in 1.2
On Nov 16, 2007 10:51 PM, mfs <fa...@gmail.com> wrote:
>
> And when you say using HttpSessionStore, you mean storing the pageMap in
> the
> session only rather serializing the pages at all in the disk,database etc
> as
> was the the case with earlier wicket implementation..
>
> Farhan.
>
> Eelco Hillenius wrote:
> >
> > On Nov 12, 2007 6:21 PM, Igor Vaynberg <ig...@gmail.com> wrote:
> >> afaik the current pagestore will save the page to disk after its been
> >> replicated...or was that another pagestore subclass you were working
> >> on matej?
> >
> > Also see
> >
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster
> > and
> >
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster-pagestore
> > for some experimental but working code (might change drastically
> > though) and consider Terracotta. Also, you can use HttpSessionStore
> > with regular servlet container replication.
> >
> > Eelco
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13802106
> Sent from the Wicket - User mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
y
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by mfs <fa...@gmail.com>.
And when you say using HttpSessionStore, you mean storing the pageMap in the
session only rather serializing the pages at all in the disk,database etc as
was the the case with earlier wicket implementation..
Farhan.
Eelco Hillenius wrote:
>
> On Nov 12, 2007 6:21 PM, Igor Vaynberg <ig...@gmail.com> wrote:
>> afaik the current pagestore will save the page to disk after its been
>> replicated...or was that another pagestore subclass you were working
>> on matej?
>
> Also see
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster
> and
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster-pagestore
> for some experimental but working code (might change drastically
> though) and consider Terracotta. Also, you can use HttpSessionStore
> with regular servlet container replication.
>
> Eelco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13802106
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by Eelco Hillenius <ee...@gmail.com>.
On Nov 12, 2007 9:23 PM, Eelco Hillenius <ee...@gmail.com> wrote:
> On Nov 12, 2007 6:21 PM, Igor Vaynberg <ig...@gmail.com> wrote:
> > afaik the current pagestore will save the page to disk after its been
> > replicated...or was that another pagestore subclass you were working
> > on matej?
>
> Also see https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster
> and https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster-pagestore
or make that http instead of https
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by Eelco Hillenius <ee...@gmail.com>.
On Nov 12, 2007 6:21 PM, Igor Vaynberg <ig...@gmail.com> wrote:
> afaik the current pagestore will save the page to disk after its been
> replicated...or was that another pagestore subclass you were working
> on matej?
Also see https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster
and https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-jetty-cluster-pagestore
for some experimental but working code (might change drastically
though) and consider Terracotta. Also, you can use HttpSessionStore
with regular servlet container replication.
Eelco
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by Matej Knopp <ma...@gmail.com>.
No. The old pages (serialized to disk) are only saved on one node,
unless you have some kind of distributed page store. In the (possibly
near) future we might support automatic replication of page store.
It's on my todo list :)
-Matej
On Nov 13, 2007 10:17 AM, mfs <fa...@gmail.com> wrote:
>
> So replication of serialized pages (on the disk) is also taken care of, for
> which one doesnt need to worry about nything..?
>
>
>
> igor.vaynberg wrote:
> >
> > afaik the current pagestore will save the page to disk after its been
> > replicated...or was that another pagestore subclass you were working
> > on matej?
> >
> > so that way every node you replicate to has a full copy of all the
> > pages from the source node.
> >
> > -igor
> >
> >
> > On Nov 12, 2007 6:06 PM, mfs <fa...@gmail.com> wrote:
> >>
> >> I am talking of the scenario where the old page instances (and their
> >> model)
> >> are serialized to the disk ? how would those be synchronised on the other
> >> machine/server in the cluster ?
> >>
> >> Farhan.
> >>
> >>
> >>
> >> igor.vaynberg wrote:
> >> >
> >> > wicket stores its pages in session, so if your sessions are replicated
> >> > within the cluster you should have no problem
> >> >
> >> > -igor
> >> >
> >> >
> >> > On Nov 12, 2007 4:42 PM, mfs <fa...@gmail.com> wrote:
> >> >>
> >> >> Hi Guys,
> >> >>
> >> >> Another question relating to the serialization of pages, so lets say
> >> we
> >> >> have
> >> >> multiple instance of an application deployed in a load-balancing
> >> >> environment, now lets stay in case of wizard type use-case if
> >> subsequent
> >> >> requests get forwarded to different server (based on load sharing),
> >> would
> >> >> the serialized page-components and the model data be synchronized to
> >> the
> >> >> other servers in the cluster ? given the default implementation of the
> >> >> page-store..? how would that work ?
> >> >>
> >> >> Thanks and Regards,
> >> >>
> >> >> Farhan.
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13717677
> >> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >> For additional commands, e-mail: users-help@wicket.apache.org
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> > For additional commands, e-mail: users-help@wicket.apache.org
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13718547
> >>
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13722291
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by mfs <fa...@gmail.com>.
So replication of serialized pages (on the disk) is also taken care of, for
which one doesnt need to worry about nything..?
igor.vaynberg wrote:
>
> afaik the current pagestore will save the page to disk after its been
> replicated...or was that another pagestore subclass you were working
> on matej?
>
> so that way every node you replicate to has a full copy of all the
> pages from the source node.
>
> -igor
>
>
> On Nov 12, 2007 6:06 PM, mfs <fa...@gmail.com> wrote:
>>
>> I am talking of the scenario where the old page instances (and their
>> model)
>> are serialized to the disk ? how would those be synchronised on the other
>> machine/server in the cluster ?
>>
>> Farhan.
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > wicket stores its pages in session, so if your sessions are replicated
>> > within the cluster you should have no problem
>> >
>> > -igor
>> >
>> >
>> > On Nov 12, 2007 4:42 PM, mfs <fa...@gmail.com> wrote:
>> >>
>> >> Hi Guys,
>> >>
>> >> Another question relating to the serialization of pages, so lets say
>> we
>> >> have
>> >> multiple instance of an application deployed in a load-balancing
>> >> environment, now lets stay in case of wizard type use-case if
>> subsequent
>> >> requests get forwarded to different server (based on load sharing),
>> would
>> >> the serialized page-components and the model data be synchronized to
>> the
>> >> other servers in the cluster ? given the default implementation of the
>> >> page-store..? how would that work ?
>> >>
>> >> Thanks and Regards,
>> >>
>> >> Farhan.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13717677
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13718547
>>
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13722291
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by Igor Vaynberg <ig...@gmail.com>.
afaik the current pagestore will save the page to disk after its been
replicated...or was that another pagestore subclass you were working
on matej?
so that way every node you replicate to has a full copy of all the
pages from the source node.
-igor
On Nov 12, 2007 6:06 PM, mfs <fa...@gmail.com> wrote:
>
> I am talking of the scenario where the old page instances (and their model)
> are serialized to the disk ? how would those be synchronised on the other
> machine/server in the cluster ?
>
> Farhan.
>
>
>
> igor.vaynberg wrote:
> >
> > wicket stores its pages in session, so if your sessions are replicated
> > within the cluster you should have no problem
> >
> > -igor
> >
> >
> > On Nov 12, 2007 4:42 PM, mfs <fa...@gmail.com> wrote:
> >>
> >> Hi Guys,
> >>
> >> Another question relating to the serialization of pages, so lets say we
> >> have
> >> multiple instance of an application deployed in a load-balancing
> >> environment, now lets stay in case of wizard type use-case if subsequent
> >> requests get forwarded to different server (based on load sharing), would
> >> the serialized page-components and the model data be synchronized to the
> >> other servers in the cluster ? given the default implementation of the
> >> page-store..? how would that work ?
> >>
> >> Thanks and Regards,
> >>
> >> Farhan.
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13717677
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13718547
>
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by mfs <fa...@gmail.com>.
I am talking of the scenario where the old page instances (and their model)
are serialized to the disk ? how would those be synchronised on the other
machine/server in the cluster ?
Farhan.
igor.vaynberg wrote:
>
> wicket stores its pages in session, so if your sessions are replicated
> within the cluster you should have no problem
>
> -igor
>
>
> On Nov 12, 2007 4:42 PM, mfs <fa...@gmail.com> wrote:
>>
>> Hi Guys,
>>
>> Another question relating to the serialization of pages, so lets say we
>> have
>> multiple instance of an application deployed in a load-balancing
>> environment, now lets stay in case of wizard type use-case if subsequent
>> requests get forwarded to different server (based on load sharing), would
>> the serialized page-components and the model data be synchronized to the
>> other servers in the cluster ? given the default implementation of the
>> page-store..? how would that work ?
>>
>> Thanks and Regards,
>>
>> Farhan.
>> --
>> View this message in context:
>> http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13717677
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13718547
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Serialization of pages in a cluster/load-balancer environment ?
Posted by Igor Vaynberg <ig...@gmail.com>.
wicket stores its pages in session, so if your sessions are replicated
within the cluster you should have no problem
-igor
On Nov 12, 2007 4:42 PM, mfs <fa...@gmail.com> wrote:
>
> Hi Guys,
>
> Another question relating to the serialization of pages, so lets say we have
> multiple instance of an application deployed in a load-balancing
> environment, now lets stay in case of wizard type use-case if subsequent
> requests get forwarded to different server (based on load sharing), would
> the serialized page-components and the model data be synchronized to the
> other servers in the cluster ? given the default implementation of the
> page-store..? how would that work ?
>
> Thanks and Regards,
>
> Farhan.
> --
> View this message in context: http://www.nabble.com/Serialization-of-pages-in-a-cluster-load-balancer-environment---tf4795023.html#a13717677
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org