Forum: Ruby on Rails Is acts as nested set safe in a concurrent environment?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cd4185cdca53ccdc11cd24ebc0cfb46d?d=identicon&s=25 Glen Stampoultzis (Guest)
on 2006-02-07 11:56
(Received via mailing list)
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
E48d29dc8fedb2878fa518d41cc63d88?d=identicon&s=25 Jan Prill (Guest)
on 2006-02-07 13:59
(Received via mailing list)
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 Prill

2006/2/7, Glen Stampoultzis <gstamp@gmail.com>:
45a1d6c46aee7a0afda843c6184faf75?d=identicon&s=25 Alexander Horn (Guest)
on 2006-02-15 15:47
Make sure you download the most recent copy of the b_prime_tree library.
(
http://www.hieraki.org/trac/browser/trunk/app/mode...
)

Alex
This topic is locked and can not be replied to.