|
|
|
|
|
by robmnl
6703 days ago
|
|
mooneater, do you have any suggestions on how to actually store and persist such a data structure in RAM? Would I use something like a wsgi webserver, that runs as a daemon, and occasionally dumps the data structure to disk? Or is something like memcached better? My preferred way of storing into RAM would be of course only storing changes, instead of storing the whole tree into RAM on every write. |
|
After looking at your post again, and depending on data volume, you might be ok with a purely SQL solution too (ie, finding nodes 1 or 2 steps away on a graph is easy in SQL if your adjacency data is all in the db).