[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

rinda with other protocols

jm

1/19/2005 4:56:00 AM

Is it possible to get rinda to work (simply) with protocols other drb?
eg, soap and beep. Just have some insane ideas I'd like to play with.
If there is an alternative that works with other languages as well
please let me know. The main requirement is being able to locate
services in an automated language independent manner.

Jeff.



8 Answers

Eric Hodel

1/19/2005 5:08:00 AM

0

On 18 Jan 2005, at 20:56, jm wrote:

> Is it possible to get rinda to work (simply) with protocols other drb?
> eg, soap and beep.

Rinda::Ring is small enough that you could easily rewrite it, since its
all of 164 lines.

> Just have some insane ideas I'd like to play with. If there is an
> alternative that works with other languages as well please let me
> know. The main requirement is being able to locate services in an
> automated language independent manner.

Keep in mind that Rinda::Ring only works on a local subnet, since it
uses UDP broadcasts to locate services.

--
Eric Hodel - drbrain@segment7.net - http://se...
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

Sam Roberts

1/19/2005 1:33:00 PM

0

Quoteing drbrain@segment7.net, on Wed, Jan 19, 2005 at 02:08:13PM +0900:
> On 18 Jan 2005, at 20:56, jm wrote:
>
> >Is it possible to get rinda to work (simply) with protocols other drb?
> >eg, soap and beep.
>
> Rinda::Ring is small enough that you could easily rewrite it, since its
> all of 164 lines.
>
> >Just have some insane ideas I'd like to play with. If there is an
> >alternative that works with other languages as well please let me
> >know. The main requirement is being able to locate services in an
> >automated language independent manner.
>
> Keep in mind that Rinda::Ring only works on a local subnet, since it
> uses UDP broadcasts to locate services.

I'm in the process of adding Rendezvous support (pure ruby) to ruby's
resolv.rb using it's DNS support. I've got address lookups on my OS X
network working, but I need to get some bug fixes into the ruby core lib
before I can release.

After that, I want to add support for DNS-SD, which is the rendezvous
service discovery protocol, but is basically just a convention for
DNS record naming that works on mDNS or the more typical unicast
DNS.

I think this could be used in Rinda as a less ruby-specific way of
advertising services, and if the service advertised is a soap or
beep server port, that should work fine with DNS-SD.

Anyhow, just to let folks know that something is coming that might
help with this a bit, at least on a local area network.

Cheers,
Sam



Ilmari Heikkinen

1/19/2005 4:36:00 PM

0

Hi,

> I'm in the process of adding Rendezvous support (pure ruby) to ruby's
> resolv.rb using it's DNS support. I've got address lookups on my OS X
> network working, but I need to get some bug fixes into the ruby core
> lib
> before I can release.
>
> After that, I want to add support for DNS-SD, which is the rendezvous
> service discovery protocol, but is basically just a convention for
> DNS record naming that works on mDNS or the more typical unicast
> DNS.
>
> I think this could be used in Rinda as a less ruby-specific way of
> advertising services, and if the service advertised is a soap or
> beep server port, that should work fine with DNS-SD.
>
> Anyhow, just to let folks know that something is coming that might
> help with this a bit, at least on a local area network.
>
> Cheers,
> Sam
>

You're my hero, three hurrahs for a bright and well distributed Ruby
future!

--
Ilmari Heikkinen



jm

1/19/2005 10:09:00 PM

0

Not a bad idea except that I need to get other stuff done. The
Rendezvous idea mentioned by sroberts sounds promising and except that
the servers are linux based, but it may work with zero conf.

It just seems that in an era of open standards too many people are
still writing language specific protocols. Soap looked promising as a
way to avoid this. Letting me write in ruby yet let others develop,
where I currently work, to use cold fusion for their stuff. This has
worked well for some of the things done so far but I can foresee a
problem if I wish to move things around or have more than one machine
offering a service. I was hoping to find a location service that was a
cross platform standard. It seems the java guys have about 20 different
ways of doing this and every one else has their own way as well.

Jeff.

On 19/01/2005, at 4:08 PM, Eric Hodel wrote:

> On 18 Jan 2005, at 20:56, jm wrote:
>
>> Is it possible to get rinda to work (simply) with protocols other
>> drb? eg, soap and beep.
>
> Rinda::Ring is small enough that you could easily rewrite it, since
> its all of 164 lines.
>
>> Just have some insane ideas I'd like to play with. If there is an
>> alternative that works with other languages as well please let me
>> know. The main requirement is being able to locate services in an
>> automated language independent manner.
>
> Keep in mind that Rinda::Ring only works on a local subnet, since it
> uses UDP broadcasts to locate services.
>
> --
> Eric Hodel - drbrain@segment7.net - http://se...
> FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04



Sam Roberts

1/19/2005 10:33:00 PM

0

Quoteing jeffm@ghostgun.com, on Thu, Jan 20, 2005 at 07:08:56AM +0900:
> Not a bad idea except that I need to get other stuff done. The
> Rendezvous idea mentioned by sroberts sounds promising and except that
> the servers are linux based, but it may work with zero conf.

Lots of zeroconf support for linux, thought it might involve building
and running the servers. Apple's mDNS daemon is distributed as src, and
runs on linux, I believe.

Cheers,
Sam



Michelle la Belle

8/31/2009 10:20:00 PM

0

On Aug 31, 5:06 pm, Azz Pizz <penac...@yomomma.hot.invalid> wrote:
> TSamara <aminotem...@hotmail.com> wrote innews:017d407d-1167-4cab-ad80-6fab20680d7c@p15g2000vbl.googlegroups.com:
>
>
>
> > Not only has it been colder here this summer, but for at least the
> > last 2 summers its been very wet, and those 2 factors together have
> > meant that crops have not done well.  At least, not in my gardens.
>
> It got warmer yesterday. Very nice spring weather today. But yes, it was a
> cold summer. 40 degree weather in early June.
>
> --
> Azz Pizz Institute
> The OFFICIAL Verbal Diarrhea Think Tank (tm)
> Washington, DC

I've had to have my heat on for at least one day every month this
summer, and the thermostats have been set to 15 degrees. Global
warming, where are you??

Sphinx

9/1/2009 9:22:00 AM

0

On Aug 31, 6:19 pm, TSamara <aminotem...@hotmail.com> wrote:
> On Aug 31, 5:06 pm, Azz Pizz <penac...@yomomma.hot.invalid> wrote:
>
> > TSamara <aminotem...@hotmail.com> wrote innews:017d407d-1167-4cab-ad80-6fab20680d7c@p15g2000vbl.googlegroups.com:
>
> > > Not only has it been colder here this summer, but for at least the
> > > last 2 summers its been very wet, and those 2 factors together have
> > > meant that crops have not done well.  At least, not in my gardens.
>
> > It got warmer yesterday. Very nice spring weather today. But yes, it was a
> > cold summer. 40 degree weather in early June.
>
> > --
> > Azz Pizz Institute
> > The OFFICIAL Verbal Diarrhea Think Tank (tm)
> > Washington, DC
>
> I've had to have my heat on for at least one day every month this
> summer, and the thermostats have been set to 15 degrees.  Global
> warming, where are you??

it's down here in southeast florida, ick

Sphinx

9/1/2009 8:08:00 PM

0

On Sep 1, 2:16 pm, cal <cal1...@gmail.com> wrote:
> On 09/01/09 5:22 AM, in article
> 1b1b2f92-8794-4e48-87ec-d077d7b20...@d34g2000vbm.googlegroups.com, "Sphinx"
>
>
>
>
>
> <mdwittenb...@gmail.com> wrote:
> > On Aug 31, 6:19 pm, TSamara <aminotem...@hotmail.com> wrote:
> >> On Aug 31, 5:06 pm, Azz Pizz <penac...@yomomma.hot.invalid> wrote:
>
> >>> TSamara <aminotem...@hotmail.com> wrote
> >>> innews:017d407d-1167-4cab-ad80-6fab20680d7c@p15g2000vbl.googlegroups.com:
>
> >>>> Not only has it been colder here this summer, but for at least the
> >>>> last 2 summers its been very wet, and those 2 factors together have
> >>>> meant that crops have not done well.  At least, not in my gardens.
>
> >>> It got warmer yesterday. Very nice spring weather today. But yes, it was a
> >>> cold summer. 40 degree weather in early June.
>
> >>> --
> >>> Azz Pizz Institute
> >>> The OFFICIAL Verbal Diarrhea Think Tank (tm)
> >>> Washington, DC
>
> >> I've had to have my heat on for at least one day every month this
> >> summer, and the thermostats have been set to 15 degrees.  Global
> >> warming, where are you??
>
> > it's down here in southeast florida, ick
>
> i worked in boca raton for 3 months one summer in the 90s. i sure remember
> that muggy heat. there were days when they closed the beach because the
> temperature on the sand was so high it was unsafe. not a lot of people there
> the rest of the time either. hardly any pedestrians on the streets;
> everybody drove in air-conditioned cars from one air-conditioned space to
> another. air conditioning was as necessary down there as car heaters and
> furnaces are up here. not a luxury item.
>
> boca was a nice place to work apart from that. tidy, quiet, shades of salmon
> and flamenco pink everywhere. bocans were friendly and really seemed to dig
> prime rib; every restaurant was competing on the prime rib specials. i tried
> them once or twice; pretty good, but for me it was too hot for that kind of
> robust eating.- Hide quoted text -
>
> - Show quoted text -

boca raton seems to have the highest daily temperatures of the county