Patrick Hurley
10/17/2006 6:00:00 AM
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