|
Home > Archive > Macromedia Flash Server > May 2006 > Shared Object Sync Order
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Shared Object Sync Order
|
|
| Burhan Bozkurt 2006-05-10, 1:11 pm |
| Hey gurus,
=20
Is there any body that can help me about this shared object issue?
=20
Here is the thing. I am keeping some variables which have big values, i=
n a shared object and adding some more during the session.
=20
Like;
=20
mySO.data.file1 =3D big_string (e.g 1mb)
mySO.data.file2 =3D big_string2 (e.g 1mb)
mySO.data.file3 =3D big_string3 (e.g 1mb)
mySO.data.file4 =3D big_string4 (e.g 1mb)
..
=20
You know, when a new user connects to the shared object, all the values=
start to stream to the client. What I want to learn is if I can control =
the synchronization order. Can I force the client get the "mySO.data.file=
3" first. And when it finishes downloading the "mySO.data.file3" var, let=
the client download the others (mySO.data.file1, mySO.data.file2, mySO.d=
ata.file4). How does the sync work. Does the client try to get all vars a=
t the sam time. Or what is the order?
=20
I hope I was clear enough. Any help would be appreciated.
=20
Thank you very much for your time.
=20
Burhan Bozkurt
Burhan Bozkurt=20
burhanbozkurt-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
http://www.VideoKent.com
=09
---------------------------------
How low will we go? Check out Yahoo! Messenger=92s low PC-to-Phone call =
rates.
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Stefan Richter 2006-05-10, 1:11 pm |
| I don't know the answer but I think if you need to store such huge strings
in an SO then it's maybe time to revisit your app's architecture.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Burhan Bozkurt
> Sent: 10 May 2006 15:39
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: [FlashComm] Shared Object Sync Order
>
> Hey gurus,
>
> Is there any body that can help me about this shared object issue?
>
> Here is the thing. I am keeping some variables which have
> big values, in a shared object and adding some more during
> the session.
>
> Like;
>
> mySO.data.file1 = big_string (e.g 1mb)
> mySO.data.file2 = big_string2 (e.g 1mb)
> mySO.data.file3 = big_string3 (e.g 1mb)
> mySO.data.file4 = big_string4 (e.g 1mb)
> ..
>
> You know, when a new user connects to the shared object,
> all the values start to stream to the client. What I want to
> learn is if I can control the synchronization order. Can I
> force the client get the "mySO.data.file3" first. And when it
> finishes downloading the "mySO.data.file3" var, let the
> client download the others (mySO.data.file1, mySO.data.file2,
> mySO.data.file4). How does the sync work. Does the client try
> to get all vars at the sam time. Or what is the order?
>
> I hope I was clear enough. Any help would be appreciated.
>
> Thank you very much for your time.
>
> Burhan Bozkurt
>
>
> Burhan Bozkurt
> burhanbozkurt-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
> http://www.VideoKent.com
>
>
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Jake Hilton 2006-05-10, 1:11 pm |
| As far as I know there is no way to control sync order within a single SO.
You could create multiple SO's and then determine the order that those get
initialized/synced.
Jake
On 5/10/06, Burhan Bozkurt <burhanbozkurt-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
>
> Thanks for your reply Stefan.
>
> Actually, as you may guess, I am sharing files with the clients and I
> have tried some other ways and still trying. But this way seems the best =
for
> handling all the client status, errors, events,... etc. At least better t=
han
> uploading the files via http or ftp protocol and telling the path of the
> file to the client. If you have any suggestion I would be glad to hear th=
at.
>
> If anybody else has an idea about the onsync order, I am still in need
> of that.
>
> Thanks.
>
> Burhan Bozkurt
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
> rates starting at 1=A2/min.
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Burhan Bozkurt 2006-05-11, 7:11 am |
| =20
Thanks Jake.
=20
So I got it. SO sync order can not be managed. It just uses its own ord=
er. But what is this order. Does it start from the last created slot? Doe=
s it sync the vars one at a time or start to sync all the vars at the sam=
e time? Does it wait for one to start another one?
=20
Any comments from the heroes? Peldi, honey? ;)
=20
Burhan
=20
>
>As far as I know there is no way to control sync order within a single=
SO.
>You could create multiple SO's and then determine the order that those g=
et[vbcol=seagreen]
>initialized/synced.
>
>Jake
>
>On 5/10/06, Burhan Bozkurt <burhanbozkurt at yahoo.com> wrote:
I[vbcol=seagreen]
st for[vbcol=seagreen]
r than[vbcol=seagreen]
he[vbcol=seagreen]
that.[vbcol=seagreen]
ed[vbcol=seagreen]
=09
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and sav=
e big.
=09
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ co=
untries) for 2=A2/min or less.
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
| |
| Maulik Kataria 2006-05-12, 1:11 pm |
| All your SO slots will be arranged in alphabetical order in p_list array in
onSync...
Download sequence cannt be controlled through any build in methods.. but yo=
u
may try putting some dependency check or in short some logic to implement i=
t
manually
On 5/11/06, Burhan Bozkurt <burhanbozkurt-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
>
>
> Thanks Jake.
>
> So I got it. SO sync order can not be managed. It just uses its own order=
..
> But what is this order. Does it start from the last created slot? Does it
> sync the vars one at a time or start to sync all the vars at the same tim=
e?
> Does it wait for one to start another one?
>
> Any comments from the heroes? Peldi, honey? ;)
>
> Burhan
>
> SO.
> get
I[vbcol=seagreen]
> best for
r[vbcol=seagreen]
> than
> the
> that.
> need
>
>
>
> ---------------------------------
> New Yahoo! Messenger with Voice. Call regular phones from your PC and sav=
e
> big.
>
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> countries) for 2=A2/min or less.
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|
|
|
|
|