|
|
|
|
|
by rogerbinns
4510 days ago
|
|
I mean ready in the sense that pointing code that worked flawlessly against MongoDB to TokuMX then just works flawlessly too. I uninstalled Toku and went back to MongoDB so I can't provide any further testing. (The mongorestore takes days.) I can tell you want code was running at the time. It reads events sorted by user id and timestamp, and then discovers session boundaries in that. A new session object (in a different collection) is written out with all the events as a subdocument list. (In rarer cases an existing session object is updated.) This was happening in 8 separate processes all in Python/pymongo. There are no statements running that affect more than one document, nor any need for transactions. |
|
Not all mongodb code will optimally use tokumx without any changes. Concurrency is hard and mongodb encourages some patterns that are bad for any concurrent database. For example, count() for an entire collection is not, and could never be, as cheap in a concurrent database like tokumx as it is in mongodb.