Is acts as nested set safe in a concurrent environment?

Hi I was wondering if acts_as_nested_set can be used safely with
concurrently updates? The fact that so much of the tree needs to be
rewritten on inserts concerns me. Is anyone actually using it. I
noticed that the status of acts_as_nested_set was unclear at the time
the rails book was written.

Regards,

Glen

Hi,

on a project of mine I’m messing around with b_prime_tree which is
another
nested_set implementation by the creators of hieraki. But I’ve got the
same
“bad feelings” about larger trees and their updates that you seem to
have.
I’ve already thought about building my trees in xml files, since xml
feels a
so much more natural choice for trees than sql is, but am not yet
willing to
trade the niceties of ar (and pure rdbms relationships in general) for
my
trees.

keep us posted about your progress on trees.

Best Regards
Jan P.

2006/2/7, Glen S. [email protected]:

Make sure you download the most recent copy of the b_prime_tree library.
(
http://www.hieraki.org/trac/browser/trunk/app/models/wiki/b_prime_tree.rb
)

Alex