&gt;My only slight suggestion is that rather than inlining all your mnesia calls, you ought to isolate them into a separate module or modules or something with an interface. But, that&#x27;s not really because of Mnesia... I tend to recommend that anyhow.<p>+1 also nice to have a module per-table because you can have a behaviour for your mnesia tables so that things like initializing tables are standardized (i.e. they all export `init([node()]) -&gt; ok | error&#x27;).