P2P without a Server? [message #619037] |
Mon, 27 August 2007 12:18 |
Eclipse User |
|
|
|
Originally posted by: judexiang.yahoo.com
Hi,
I am wondering if ECF enables us to connect Peer-to-Peer without any server. Things I tried always need a server (e.g. ECF Server).
Thanks.
|
|
|
Re: P2P without a Server? [message #619040 is a reply to message #619037] |
Wed, 29 August 2007 17:50 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
Hi justinX,
justinX wrote:
> Hi,
>
> I am wondering if ECF enables us to connect Peer-to-Peer without any server. Things I tried always need a server (e.g. ECF Server).
>
> Thanks.
The ECF IContainer API does allow/support direct peer-to-peer groups.
That is, the basic model does allow this. That being said, there are no
complete provider implementations (at the moment) that are ready for
full deployment. There are several efforts underway, however:
1) JXTA-based provider. Worked on originally by Pierre Henry-Perret.
The bug associated with this provider is here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=135452
2) JGroups-based provider. I (Scott) am working on this now in my
'spare time'. JGroups is a java-based reliable multicast messaging
layer, done by Bela Ban and others: http://www.jgroups.org I've
created an enhancement request for this here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=201610
3) JMS-based providers. There are JMS implementations that support
peer-to-peer protocols. ECF currently has two JMS-based providers:
a) ActiveMQ/Websphere CE-based
b) Weblogic (BEA)-based
c) Net4j-based: https://bugs.eclipse.org/bugs/show_bug.cgi?id=187654
Although the first two are based upon JMS client-server topologies, it
should be straightforward to create other JMS-based providers that use
multicast JMS implementations (e.g. commercial or other protocols) as
the two listed above are very small and based mostly on a JMS-generic
bundle: org.eclipse.ecf.provider.jms. This bundle (o.e.e.provider.jms)
only depends upon the JMS API, and implements most of what is needed to
use any JMS provider via abstract super classes (e.g.
AbstractJMSClientChannel, AbstractJMSServerChannel). I think also that
ActiveMQ also can use peer-to-peer topologies/protocols as well, but I
haven't tested that.
The first two are available via anonymous CVS at the CVS server on
ecf1.osuosl.org. See the instructions at the bottom of the page on
http://ecf1.osuosl.org for CVS access instructions. There are the
following plugins:
ActiveMQ/Websphere CE
plugins/
org.eclipse.ecf.provider.jms
plugins/
org.eclipse.ecf.provider.jms.activemq
org.eclipse.ecf.proivder.jms.activemq.ui
plugins/
org.eclipse.ecf.provider.jms.weblogic
org.eclipse.ecf.provider.jms.weblogic.ui
test/
org.eclipse.ecf.tests.provider.jms.activemq
org.eclipse.ecf.tests.provider.jms.activemq
Thanks. Please let all know when you have more questions.
Scott
|
|
|
Re: P2P without a Server? [message #619045 is a reply to message #619040] |
Thu, 30 August 2007 14:40 |
Eclipse User |
|
|
|
Originally posted by: judexiang.yahoo.com
Scott. Thanks.
One more question: currently all network communication are through a server? Or the server is just used for discovering members, and networking directly go from one member to others thereafter?
|
|
|
Re: P2P without a Server? [message #619047 is a reply to message #619045] |
Thu, 30 August 2007 17:31 |
Scott Lewis Messages: 1038 Registered: July 2009 |
Senior Member |
|
|
Hi JustinX,
justinX wrote:
> Scott. Thanks.
>
> One more question: currently all network communication are through a server? Or the server is just used for discovering members, and networking directly go from one member to others thereafter?
The answer to this is provider/implementation dependent. For
server-based providers (e.g. ECF generic, JMS-weblogic, JMS-websphere,
etc) all network communication is through server. For the peer-to-peer
topology providers (e.g. JXTA, JGroups/multicast, JMS/multicast) you are
exactly right that the server is used for authenticating and group
membership communication, but is not used for direct communication.
For some providers (e.g. XMPP), some kinds of communication (e.g. IM)
are via server and other kinds (e.g. Jingle-based voip calls) are
optionally peer-to-peer.
Scott
|
|
|
Re: P2P without a Server? [message #623501 is a reply to message #619047] |
Tue, 06 May 2008 19:07 |
foo bar Messages: 55 Registered: July 2009 |
Member |
|
|
Scott Lewis wrote:
> Hi JustinX,
>
> justinX wrote:
>> Scott. Thanks.
>> One more question: currently all network communication are through a
>> server? Or the server is just used for discovering members, and
>> networking directly go from one member to others thereafter?
>
> The answer to this is provider/implementation dependent. For
> server-based providers (e.g. ECF generic, JMS-weblogic, JMS-websphere,
> etc) all network communication is through server. For the peer-to-peer
> topology providers (e.g. JXTA, JGroups/multicast, JMS/multicast) you are
> exactly right that the server is used for authenticating and group
> membership communication, but is not used for direct communication.
>
> For some providers (e.g. XMPP), some kinds of communication (e.g. IM)
> are via server and other kinds (e.g. Jingle-based voip calls) are
> optionally peer-to-peer.
>
> Scott
>
Would it be possible to set up ECF for file caching / sharing among
peers in a local network?
The idea is to use P2P for discovering if any of the client peers have a
file and to download the file directly from a peer before trying an
Internet / server access of the file.
/Per.
|
|
|
Powered by
FUDForum. Page generated in 0.04566 seconds