Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » ECF getting started with multicast file transfer?
ECF getting started with multicast file transfer? [message #624714] Sun, 05 April 2009 17:50 Go to next message
Bryan Hunt is currently offline Bryan HuntFriend
Messages: 366
Registered: July 2009
Senior Member
I was thinking I should try to learn how to use ECF, and I finally came
up with an interestind example that probably suits ECF. I'd like to
drop a file on a server and have that file transfered to multiple
clients using multicast so that I only have to send the file across the
network once. Can I do this with ECF? Am I correct that multicast
support depends on the provider? Do any of the ECF providers support
multicast? Any pointers on getting started would be appreciated.

Bryan
Re: ECF getting started with multicast file transfer? [message #624715 is a reply to message #624714] Mon, 06 April 2009 08:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: news.eclipse.org.08.lemmster.de

Bryan Hunt wrote:

Hi Bryan

> I was thinking I should try to learn how to use ECF, and I finally came
> up with an interestind example that probably suits ECF. I'd like to
> drop a file on a server and have that file transfered to multiple
> clients using multicast so that I only have to send the file across the
> network once. Can I do this with ECF? Am I correct that multicast
> support depends on the provider?

Exactly, see org.eclipse.ecf.provider.filetransfer.*

> Do any of the ECF providers support
> multicast? Any pointers on getting started would be appreciated.

org.eclipse.ecf.provider.jslp (ch.ethz.iks.slp) as well as
org.eclipse.ecf.provider.jmdns both rely on multicast for service
discovery. The use case is quite different than yours, but you might
wanna check them out nonetheless.

Markus
Re: ECF getting started with multicast file transfer? [message #624716 is a reply to message #624714] Tue, 07 April 2009 18:28 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Bryan,

Bryan Hunt wrote:
> I was thinking I should try to learn how to use ECF, and I finally came
> up with an interestind example that probably suits ECF. I'd like to
> drop a file on a server and have that file transfered to multiple
> clients using multicast so that I only have to send the file across the
> network once. Can I do this with ECF? Am I correct that multicast
> support depends on the provider?


Yes.


Do any of the ECF providers support
> multicast?


Yes, in addition to the ones that Markus provided, we also have a
JGroups provider (which uses multicast groups). It is available on the
OSU OSL site: http://ecf1.osuosl.org

We have not been using the JGroups provider much recently, so it may be
a little out of date...just a warning...but we would appreciate any work
on it that you might be willing to do.

Note the JGroups provider supports the ECF shared object API...which is
used to support several other ECF APIs: i.e. ECF remote services API
(in org.eclipse.ecf.provider.remoteservices) and the datashare API (in
org.eclipse.ecf.provider.datashare).

We do *not* currently have a shared object that implements the
filetransfer API, but this would be a great thing to have...and I would
happily work with you over time to create it (I probably couldn't work
on it immediately). Then, once such a shared object existed to
implement the filetransfer API, it would be straightforward to use it on
any provider that supports the shared object API (including JGroups, but
also including other providers).

To get the ECF source available from dev.eclipse.org see:

http://www.eclipse.org/ecf/dev_resources.php

and see http://ecf1.osuosl.org for instructions about accessing the
source available there.

Thanks,

Scott
Re: ECF getting started with multicast file transfer? [message #624764 is a reply to message #624716] Thu, 09 April 2009 04:12 Go to previous messageGo to next message
Bryan Hunt is currently offline Bryan HuntFriend
Messages: 366
Registered: July 2009
Senior Member
Hi Scott,

Thanks for the pointers. JGroups does look like a good way to start.
It does the multicast, handles sequencing of multiple packets, and
support guaranteed delivery. All good things when doing file transfer.
I'll look into this more as I get time and bug you with questions.

Bryan

On 2009-04-07 13:28:32 -0500, Scott Lewis <slewis@composent.com> said:

> Hi Bryan,
>
> Bryan Hunt wrote:
>> I was thinking I should try to learn how to use ECF, and I finally came
>> up with an interestind example that probably suits ECF. I'd like to
>> drop a file on a server and have that file transfered to multiple
>> clients using multicast so that I only have to send the file across the
>> network once. Can I do this with ECF? Am I correct that multicast
>> support depends on the provider?
>
>
> Yes.
>
>
> Do any of the ECF providers support
>> multicast?
>
>
> Yes, in addition to the ones that Markus provided, we also have a
> JGroups provider (which uses multicast groups). It is available on the
> OSU OSL site: http://ecf1.osuosl.org
>
> We have not been using the JGroups provider much recently, so it may be
> a little out of date...just a warning...but we would appreciate any
> work on it that you might be willing to do.
>
> Note the JGroups provider supports the ECF shared object API...which is
> used to support several other ECF APIs: i.e. ECF remote services API
> (in org.eclipse.ecf.provider.remoteservices) and the datashare API (in
> org.eclipse.ecf.provider.datashare).
>
> We do *not* currently have a shared object that implements the
> filetransfer API, but this would be a great thing to have...and I would
> happily work with you over time to create it (I probably couldn't work
> on it immediately). Then, once such a shared object existed to
> implement the filetransfer API, it would be straightforward to use it
> on any provider that supports the shared object API (including JGroups,
> but also including other providers).
>
> To get the ECF source available from dev.eclipse.org see:
>
> http://www.eclipse.org/ecf/dev_resources.php
>
> and see http://ecf1.osuosl.org for instructions about accessing the
> source available there.
>
> Thanks,
>
> Scott
Re: ECF getting started with multicast file transfer? [message #624765 is a reply to message #624764] Thu, 09 April 2009 04:20 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Bryan,

I would like to use the ECF shared object API and create a shared object
that implements IRetrieveFileTransferContainerAdapter (and perhaps
another one that implements ISendFileTransferContainerAdapter). This
would then allow both JMS and JGroups providers to reuse this same
implementation to support file transfer.

There were recently some questions on the p2 list indicating that others
(who are using JMS) would like to use JMS as a provider for p2
download/retrieval. So having such a shared object (that would work for
both JMS and JGroups providers) would be a very nice thing.

I will help with this as I can, but before Galileo I'm going to have
quite a lot of other parts to work on (e.g. remote services, discovery,
etc).

so please open an enhancement request for supporting file transfer with
jgroups and/or jms. And we'll use the enhancement request to track the
work and collaborate...if you are amenable to having the work be used by
others.

Thanks,

Scott



Bryan Hunt wrote:
> Hi Scott,
>
> Thanks for the pointers. JGroups does look like a good way to start.
> It does the multicast, handles sequencing of multiple packets, and
> support guaranteed delivery. All good things when doing file transfer.
> I'll look into this more as I get time and bug you with questions.
>
> Bryan
>
> On 2009-04-07 13:28:32 -0500, Scott Lewis <slewis@composent.com> said:
>
>> Hi Bryan,
>>
>> Bryan Hunt wrote:
>>> I was thinking I should try to learn how to use ECF, and I finally
>>> came up with an interestind example that probably suits ECF. I'd
>>> like to drop a file on a server and have that file transfered to
>>> multiple clients using multicast so that I only have to send the file
>>> across the network once. Can I do this with ECF? Am I correct that
>>> multicast support depends on the provider?
>>
>>
>> Yes.
>>
>>
>> Do any of the ECF providers support
>>> multicast?
>>
>>
>> Yes, in addition to the ones that Markus provided, we also have a
>> JGroups provider (which uses multicast groups). It is available on
>> the OSU OSL site: http://ecf1.osuosl.org
>>
>> We have not been using the JGroups provider much recently, so it may
>> be a little out of date...just a warning...but we would appreciate any
>> work on it that you might be willing to do.
>>
>> Note the JGroups provider supports the ECF shared object API...which
>> is used to support several other ECF APIs: i.e. ECF remote services
>> API (in org.eclipse.ecf.provider.remoteservices) and the datashare API
>> (in org.eclipse.ecf.provider.datashare).
>>
>> We do *not* currently have a shared object that implements the
>> filetransfer API, but this would be a great thing to have...and I
>> would happily work with you over time to create it (I probably
>> couldn't work on it immediately). Then, once such a shared object
>> existed to implement the filetransfer API, it would be straightforward
>> to use it on any provider that supports the shared object API
>> (including JGroups, but also including other providers).
>>
>> To get the ECF source available from dev.eclipse.org see:
>>
>> http://www.eclipse.org/ecf/dev_resources.php
>>
>> and see http://ecf1.osuosl.org for instructions about accessing the
>> source available there.
>>
>> Thanks,
>>
>> Scott
>
>
Previous Topic:ECF Collaboration Shared Project
Next Topic:DocShare with MSN
Goto Forum:
  


Current Time: Thu Apr 18 07:16:22 GMT 2024

Powered by FUDForum. Page generated in 0.01526 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top