[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

[ANN] stompserver 0.9.0 Released

Patrick Hurley

10/16/2006 10:16:00 PM

stompserver version 0.9.0 has been released!

by Patrick Hurley
http://stompserver.ruby...

Don't want to install a JVM, but still want to use messaging? Me too,
so I threw together this little server. All the hard work was done
by Francis Cianfrocca (big thank you) in his event machine gem (which
is required by this server). And all the great Madeleine developers (used
for journaling).

== FEATURES/PROBLEMS:

Handles basic message queue processing
Does not support any server to server messaging
(although you could write a client to do this)
Server Id is not being well initialized
Quite a bit of polish is still required to make into a daemon/service
and add command line handling.
And oh yeah, I need to write some docs (see the tests for now)

Changes:

== 0.9.0 / 16 Oct 2006

* Initialial Beta Release
* Seems to work
* Passes numerous test cases
* Journals using madeleine
* Needs documentaion
* Needs to command line processing
* Needs service/daemon options

by Patrick Hurley
http://stompserver.ruby...

6 Answers

Jacob Fugal

10/16/2006 11:06:00 PM

0

On 10/16/06, Patrick Hurley <phurley@gmail.com> wrote:
> http://stompserver.ruby...

Gives me a bunch of 403 Forbidden errors...

Jacob Fugal

Jeremy McAnally

10/16/2006 11:08:00 PM

0

Sounds great, but I get a "Forbidden" error on the web page.

--Jeremy

On 10/16/06, Patrick Hurley <phurley@gmail.com> wrote:
> stompserver version 0.9.0 has been released!
>
> by Patrick Hurley
> http://stompserver.ruby...
>
> Don't want to install a JVM, but still want to use messaging? Me too,
> so I threw together this little server. All the hard work was done
> by Francis Cianfrocca (big thank you) in his event machine gem (which
> is required by this server). And all the great Madeleine developers (used
> for journaling).
>
> == FEATURES/PROBLEMS:
>
> Handles basic message queue processing
> Does not support any server to server messaging
> (although you could write a client to do this)
> Server Id is not being well initialized
> Quite a bit of polish is still required to make into a daemon/service
> and add command line handling.
> And oh yeah, I need to write some docs (see the tests for now)
>
> Changes:
>
> == 0.9.0 / 16 Oct 2006
>
> * Initialial Beta Release
> * Seems to work
> * Passes numerous test cases
> * Journals using madeleine
> * Needs documentaion
> * Needs to command line processing
> * Needs service/daemon options
>
> by Patrick Hurley
> http://stompserver.ruby...
>
>

snacktime

10/17/2006 12:40:00 AM

0

Lol I was just writing a simple stomp server using eventmachine today.
But no reason to re-invent the wheel, looking forward to trying out
stompserver.

Chris

On 10/16/06, Patrick Hurley <phurley@gmail.com> wrote:
> stompserver version 0.9.0 has been released!
>
> by Patrick Hurley
> http://stompserver.ruby...
>
> Don't want to install a JVM, but still want to use messaging? Me too,
> so I threw together this little server. All the hard work was done
> by Francis Cianfrocca (big thank you) in his event machine gem (which
> is required by this server). And all the great Madeleine developers (used
> for journaling).
>
> == FEATURES/PROBLEMS:
>
> Handles basic message queue processing
> Does not support any server to server messaging
> (although you could write a client to do this)
> Server Id is not being well initialized
> Quite a bit of polish is still required to make into a daemon/service
> and add command line handling.
> And oh yeah, I need to write some docs (see the tests for now)
>
> Changes:
>
> == 0.9.0 / 16 Oct 2006
>
> * Initialial Beta Release
> * Seems to work
> * Passes numerous test cases
> * Journals using madeleine
> * Needs documentaion
> * Needs to command line processing
> * Needs service/daemon options
>
> by Patrick Hurley
> http://stompserver.ruby...
>
>

Patrick Hurley

10/17/2006 1:51:00 AM

0

On 10/16/06, snacktime <snacktime@gmail.com> wrote:
> Lol I was just writing a simple stomp server using eventmachine today.
> But no reason to re-invent the wheel, looking forward to trying out
> stompserver.
>
> Chris
>
> On 10/16/06, Patrick Hurley <phurley@gmail.com> wrote:
> > stompserver version 0.9.0 has been released!
> >
> > by Patrick Hurley
> > http://stompserver.ruby...
> >
> > Don't want to install a JVM, but still want to use messaging? Me too,
> > so I threw together this little server. All the hard work was done
> > by Francis Cianfrocca (big thank you) in his event machine gem (which
> > is required by this server). And all the great Madeleine developers (used
> > for journaling).
> >
> > == FEATURES/PROBLEMS:
> >
> > Handles basic message queue processing
> > Does not support any server to server messaging
> > (although you could write a client to do this)
> > Server Id is not being well initialized
> > Quite a bit of polish is still required to make into a daemon/service
> > and add command line handling.
> > And oh yeah, I need to write some docs (see the tests for now)
> >
> > Changes:
> >
> > == 0.9.0 / 16 Oct 2006
> >
> > * Initialial Beta Release
> > * Seems to work
> > * Passes numerous test cases
> > * Journals using madeleine
> > * Needs documentaion
> > * Needs to command line processing
> > * Needs service/daemon options
> >
> > by Patrick Hurley
> > http://stompserver.ruby...
> >
> >
>
>

Sorry for the release screw up. I was trying out hoe and I must have
goofed something up. I have actually made a couple more fixes. Check
out the gem or grab from rubyforge.

It is still pretty rough - complete lack of documentation and command
line options most notably, but it appears to work fairly well.

If you have any problems please let me know (or you can tell me at RubyConf :-)
pth

snacktime

10/17/2006 5:03:00 AM

0

I'm curious about something. I noticed you added a newline after the
null in the stomp protocol . I had to do the same thing or the client
would hang. I ran out of time before finding out why the stomp client
wasn't getting the last line without adding the newline. I assume you
figured it out?

Also, I've never used madeleine before, but I wonder how something
like berkeleydb might compare. Madeleine seems pretty slow and I
noticed a lot of stop and go type delays when sending and receiving
messages. Still plenty fast for most stuff though, I'm just
nitpicking...

Chris

Patrick Hurley

10/17/2006 6:00:00 AM

0

On 10/17/06, snacktime <snacktime@gmail.com> wrote:
> I'm curious about something. I noticed you added a newline after the
> null in the stomp protocol . I had to do the same thing or the client
> would hang. I ran out of time before finding out why the stomp client
> wasn't getting the last line without adding the newline. I ss asume you
> figured it out?

I added that to deal with an existing bug in the Ruby Stomp client.
The protocol allows (but does not require) white space between frames.
The existing Stomp gem requires a newline after the null frame
terminator. I checked on the Stomp mailing list and it is a bug.

> Also, I've never used madeleine before, but I wonder how something
> like berkeleydb might compare. Madeleine seems pretty slow and I
> noticed a lot of stop and go type delays when sending and receiving
> messages. Still plenty fast for most stuff though, I'm just
> nitpicking...

I was going to roll my own journal system, actually had started, but
decided to get it working first and madeleine seemed like the quickest
route to that goal. All the operations are pretty well encapsulated in
the FrameJournal class so it would be easy to change it out.

I have not done any performance measurements yet, so I cannot comment
on where the delays might be originating. I will be taking a look at
performance after I get a few more things wrapped up (docs and command
line processing).

Thanks for the feed back
pth