early warning - new rdbms

Mickael Remond <>
Fri Jan 27 11:16:21 CET 2006


* Ulf Wiger (AL/EAB) <> [2006-01-25 12:57:11 +0100]:

> The low-level interface that I've proposed mirrors
> the mnesia_lib:db_xxxx() functions (db_put, db_get,
> match_object, select, etc.) + some callbacks to
> verify cstructs and loading the actual table.
> 
> For example, from my first version of a disk_log
> table:
> 
> (Part of the idea being that you'd mostly do
> put() on the log table, and so reading and 
> matching need not be super efficient.)
> 
> When creating the table, you specify
> {external_copies, [{CallBack, Nodes}]}
> 
> e.g.
> 
> {external_copies, [{rdbms_log, [node()]}]}

I see. It is very nice. It will become easy to create Mnesia back-end. 

> The actual code that's generated to verify
> the type and range looks something like this,
> and doesn't take many microseconds to execute:

This is also very nice.

Please, let us know how we could help :-)

-- 
Mickaël Rémond
 http://www.process-one.net/



More information about the erlang-questions mailing list