datalevin 2026-07-19

Hi What are required steps to write erlang adapter for the Datalevin? @huahaiy

One approach is to use Datalevin's JSONApi. For example, you can build a Java port executable that loads datalevin jar, and read JSON frame from stdin, call JSONApi.exec, and write responses to stdout. You build your Erlang gen_server that owns the port and handle requests handling, timeout, etc.

👍 1

JInterface is an alternative transport, but would need more work

👍 1