Le 01/11/2013 08:20, Lucas a écrit :
Hi, I get an idea to replace mysql database by mongoDB, for the reason mongodb would be more fast and convenient to query and update. But I find it not easy to do that. what things I have done is : 1. Read a lot of documents of mongodb, and knows how to deployment environment. Also I have implemented the basic operation(query,update) of mongodb. 2. I have read robinhood source code for some month, and have elementary knowledge of robinhood(what's meaning of each part)What I want to do next is: Add the my codes into robinhood(this time the part of mysql database also works, that means robinhood have two databases)and compile it and do some test. I find it not as easy as it looks like. I really need help here. Can anyone give some guide? PS: I'm not very good at English, thanks for your inclusion. :) Best regards, Lucas
Hi there,you should have a look a listmanager. This is the DB abstraction layer. It exports a defined interface (insert, update, remove...) to the rest of the application and internally performs the database operations.
I'm not sure whether mongoDB would deliver higher performance than MySQL if similar persistence guarantees are provided (disk sync strategy) but I'd be very interested in seeing the results you observe.
Regards -- Henri
smime.p7s
Description: Signature cryptographique S/MIME
------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________ robinhood-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/robinhood-support
