<div dir="ltr"><div><div><div><br></div>my work was based on the work of Dukes Of Erl, <br><br></div><a href="http://www.google.com.hk/url?sa=t&rct=j&q=tokyo+tyrant+mnesia&source=web&cd=2&ved=0CDcQFjAB&url=%68%74%74%70%3a%2f%2f%64%75%6b%65%73%6f%66%65%72%6c%2e%62%6c%6f%67%73%70%6f%74%2e%63%6f%6d%2f%32%30%30%38%2f%30%36%2f%74%6f%6b%79%6f%63%61%62%69%6e%65%74%2d%61%6e%64%2d%6d%6e%65%73%69%61%2e%68%74%6d%6c&ei=OBISUvalLKSpiAeS3IHwCQ&usg=AFQjCNG25ZZ-0nOnvYMx7qF3MjC6UrP2nQ" target="_blank">Dukes of Erl: Tokyocabinet and <em>Mnesia</em></a><br>
<br>google it, here from china it s hard to provide the link, since his blog is on blogspot<br><br>tree structure in SQL (MySql) is a bad idea to go at large scale,<br> <br></div><div>HDD + VFS is one of the oldest database i know. :).<br>
<br></div><div>performance are not bad you should test it for your need.<br></div><div><br></div><div>the PoC is quite easy to do, all the work was done by Dukes Of Erl.<br></div><div><br></div><div>cheers.<br></div><div>
Chan<br></div><div><div><br><br><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/19 Janos Hary <span dir="ltr"><<a href="mailto:janos.n.hary@gmail.com" target="_blank">janos.n.hary@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">This is interesting. Would it be a custom mnesia_access callback module? Or what does the ‘custom backend’ exactly mean?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Can you point me to some documentation or example?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Janos<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> chan sisowath [mailto:<a href="mailto:chan.sisowath@gmail.com" target="_blank">chan.sisowath@gmail.com</a>] <br>
<b>Sent:</b> Monday, August 19, 2013 9:25 AM<br><b>To:</b> Janos Hary<br><b>Cc:</b> erlang-questions<br><b>Subject:</b> Re: [erlang-questions] Persistent tree datastructure<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal">
<u></u> <u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">i face this problem once,<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">and i use mnesia with a custom backend to store the tree structure.<u></u><u></u></p>
</div><p class="MsoNormal">the custom backend is a simple interface to the filesystem.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">2013/8/17 Janos Hary <<a href="mailto:janos.n.hary@gmail.com" target="_blank">janos.n.hary@gmail.com</a>><u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Hi,</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Is there any Erlang library or method to handle trees persistently with ACID properties? </span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Courier New"">I’m looking for something to handle filesystem like data with 1-100million records and varying nesting levels.</span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:"Courier New""> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Thanks in advance,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Janos</span><u></u><u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>
erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>