On Nov 14, 4:59 am, Wijnand Wiersma <[email protected]> wrote:
> Hi Daniel,
>
> Nice to see a Ruby Wave server! I really don't want to use a java
> based server.
I still have to use openfire though... my VPS didn't like that very
much.
>
> A few questions:
> * Do you really think using a SQL database is the right kind of
> storage for waves? I think using MongoDB will help you scale the wave
> server a lot more.
My planned storage method for deltas is to just store the delta's
ProtoBuffer representation. Deltas don't change so this should be
fine. I will hopefully be able to cache some form of the wave's most
recent delta so it won't have to step through every operation on
restart.
> * Isn't it a better idea to use the same client <-> server protocol as
> Google uses?
It's not really official yet. IIRC there's no actual client/server
protocol whitepapers. Hopefully they use something better. In the
meantime, I used DRb because it's nice for prototyping - I don't have
to worry about client/server a bit, as DRb lets me interact with the
server as if it's in the same Ruby instance. Because DRb is modular, I
could also set up a server that connects to DRb and seres the FedOne
protocol. Too bad FedOne doesn't allow auth, or I would do that.
(Maybe a special wave asking you for your password before it servers
any others?)
> * Is it possible to extract some gems out of the codebase to make it
> more modular/reusable or is the entire codebase too coupled?
Yes. In fact, I am in the process of pulling out my ProtoBuffer class
into a gem. Beyond that, though, there isn't too much that can be
done... maybe an OT gem.
> * what is the license? I hope it's MIT or BSD but I am unable to find
> it in your project.
I'm probably going to use MIT.
>
> Anyway, good job!
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Wave
Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/wave-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---