Compute & Storage (Сервіси)

Business process engines, persistent storage, and strict dependency management.

BPE & KVS

The compute layer is represented by the BPE (Business Process Engine) executing BPMN tasks as Erlang processes, while persistence is handled by KVS, a polymorphic cursor-based database layer abstracting RocksDB, Mnesia, and raw FS.

BPE


Scalable business process engine running completely distributed, converting BPMN diagrams directly into BEAM runtime operations.

% BPE Step Execution
process_event(#messageEvent{id=Id}, Proc) ->
    case bpe:next(Proc) of
        {ok, NextProc} -> {reply, ok, NextProc};
        {error, Rsn}   -> {stop, Rsn, Proc}
    end.

KVS


High-performance Cursor language mapping abstract iterators directly to underlying RocksDB or Mnesia storage backends.

% KVS Polymorphic Storage
-record(user, {id, email, status}).

save_user(User) ->
    kvs:put(User).

get_active() ->
    kvs:all(user, [{status, active}]).

MAD


Minimalistic, fast Erlang package manager optimized for offline builds and high-assurance verifiable releases.