On 6/15/11 7:12 AM, Antriani Stylianou wrote: > Hi all, > > I am interesting in changing the back-end database to a graph > database for better performance. That would be a cool experiment. Why do you suppose a graph database would perform faster in this case? > I need some initial pointers for the architecture of the code. > Does all the inserting, retrieving etc from the database go through > DataObject.php ? Yes, ultimately, but we have a whole class hierarchy built on top of it for caching, and for joins and complicated queries we use DB_DataObject's query() method to send raw SQL to the DB. > That is it is enough to integrate for start calls to the new > database through the functions in DataObject.php ? Maybe. You'll definitely need to make some sort of adapter. DB_DataObject is pretty hairy, though. It might be better to work further down in the subclasses. Have a look at the stuff in the classes/ dir.
Zach > > Thank you in advance, > Antriani > _______________________________________________ > StatusNet-dev mailing list > StatusNet-dev@lists.status.net > http://lists.status.net/mailman/listinfo/statusnet-dev _______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev