05-17-05 07:45 AM
Thanks Peldi but not really an option. CIO has mandated that it has to
be as scalable as possible. Plus, I want people to be able to preview
video streams in other rooms. I think I'm just gonna have all the edge
servers add to a shared object on the master when a user connects. the
master will then sort the users by room into separate arrays. After
that it will send the appropriate packet of info back to the
corresponding rooms on all the servers connected. Then those rooms will
update the shared object that the client is connected to. See any
pitfalls?
Chris
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Peldi
Guilizzoni
Sent: Monday, May 16, 2005 4:21 PM
To: FlashComm Mailing List
Subject: RE: [FlashComm] Syncing Shared Objects on Multiple Servers
I would definitely try and keep people in the same room on the same
edge. If
the edge goes down, move the whole room to another edge (i.e.have people
automatically reconnect to the backup edge server). Or are you going to
have
a single room with so many people in it that you need two or more
machines
to handle it? That would be A LOT of people! ;)
Peldi
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Harper,
Chris
Sent: Monday, May 16, 2005 2:29 PM
To: FlashComm Mailing List
Subject: [FlashComm] Syncing Shared Objects on Multiple Servers
Okay,
=20
I'm going ahead and building my own scalable/balancing chat system.
It's the lovely Master/Edge server scenario (sometimes called
Master/Slave) where you have the one Master server that just contains
the data from all the Edge servers that the user actually connects too.
=20
So now I have a person joining a room (application instance) on Edge
Server 1. Then somebody else joins the same room (application instance)
on Edge Server 2. They both get added to their respective shared
objects on the server. Now how do I merge the shared objects from both
servers so everybody can have the same data and see each other? Has
anybody found out what the best way of doing this is? Does anybody have
an example?
=20
Chris
=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|