My weekend project: MongoDB implementation in Ruby
1–10 of 12 posts
Re: My weekend project: MongoDB implementation in Ruby
#2Re: My weekend project: MongoDB implementation in Ruby
#3Re: My weekend project: MongoDB implementation in Ruby
#4Re: My weekend project: MongoDB implementation in Ruby
#5Looks great! But the stinger is in the tail : "I think the next thing to add is indexes. Currently everything works via a linear scan of the database."
Re: My weekend project: MongoDB implementation in Ruby
#6Looks great! But the stinger is in the tail : "I think the next thing to add is indexes. Currently everything works via a linear scan of the database."
Re: My weekend project: MongoDB implementation in Ruby
#7Re: My weekend project: MongoDB implementation in Ruby
#8This seems really fun. I'd love to be able to use this almost like a version of SQLlite, but a JSON interface. I could see this in Android/iPhone, as well as Desktop apps.
Re: My weekend project: MongoDB implementation in Ruby
#9Looks great! But the stinger is in the tail : "I think the next thing to add is indexes. Currently everything works via a linear scan of the database."
Thanks. Re: indexes - patches welcome :). I don't expect them to be hard to build though. Since embedded-mongo is in memory, they're just a bunch of hash tables.
Re: My weekend project: MongoDB implementation in Ruby
#10Also, for anyone looking to embed MongoDB and who doesn't mind using C++ it is possible and rather easy. In fact some of our unit tests and all of our tools other than the shell already do this. See https://github.com/mongodb/mongo/blob/master/tools/tool.cpp#... for the details. The DBDirectClient class implements the full C++ driver interface but does all operations in-process. The downside is that unlike when using our drivers (which have no licensing impact on your code) when you embed mongodb within your application it becomes bound by AGPL.
PS- That is really impressive for a weekend project! You should get in touch with us at 10gen if you're looking for a new job.