I have this multiple linked list or whatever (tree like but not with those rules, just multiple pointers in each node to multiple nodes with multiple pointers...) I'm saving to HD. I decided to save each list to a unique file that is kept open till all nodes on the tree are last updated and saved. Most node are structures whose fields aren't all saved so I have to take off some fields of each one of them before saving. The pointers in each node to others are saved as offsets to where the other node was saved. This results in a great mess specially since there's no prediction possible to when each node will be updated and saved. The list also has no limits on size.
Questions:
1- In this situation, would using AsyncIO still be worth it considering each node's size on average is bellow 0,5K ?
2- Do you guys think it would be worth the hassle putting some code there to only save nodes to HD in bigger clusters of various nodes ? This would take probably some time and delay the whole thing. Besides if power goes down and there's not a UPS being used the file won't be as up to date.
3- I can't remember some parts of the code I coded myself some moths ago and I'm having to read and understand it all again:-o I am just getting mad or it's normall ? :-D