Hello,
I'm learning erlang and I'm very fascinated by the mnesia db. I want to build some real world application in C# / F# using erlang as backend.
I'm searching for a good solution to communicate with erlang nodes from the outside world.
What I found so far:
(A) OTP.net, an opensource .net library implementing the 'native' erlang comunication protocol
Problems here:
- The library is not very mature
- I don't like the object model ported from Java (too many almost exact replicas of BCL classes)
- I don't like the threading model use for connections.
- Many open TCP ports are required
- Lack of security
(B) Use ports / sockets in erlang and implement a custom protocol.
Problems here:
- I don't have any experience
- Hard to mantain / expand for future versions
Do you have any advice, experience in this topic?
Should I work on the OTP.net library to make it fit my needs or try to implement a new protocol from scratch?
What about a JSON or REST solution? Is there any erlang library that would do the trick?
Thanks.