what is a good way to do 'maintaining data distribution'

Vladimir Sekissov svg@REDACTED
Sat Apr 12 18:29:17 CEST 2003


hp>   Fortunately,  each database is divided into many individual files.
hp>   As a result, maintaining database synchronization becomes the problem
hp>   of syncing at the level of individual files.
hp>   

Hmm, what about to create fragmented tables in Mnesia related to your
database, write to it {Key, Record} information about changed records,
Record could be direct binary from C struct:

1. Mnesia distribute this tables.

2. Update on slave node.
2.1 Your slave node reads its local replica and updates database table.
2.3 Because table is fragmented it can safely delete record from
Mnesia.

Best Regards,
Vladimir Sekissov



More information about the erlang-questions mailing list