Message from discussion Erjang vs Jinterface
Received: by 10.100.103.11 with SMTP id a11mr513597anc.46.1315935297229;
Tue, 13 Sep 2011 10:34:57 -0700 (PDT)
Received: by 10.90.3.19 with SMTP id 19ls2817836agc.7.gmail; Tue, 13 Sep 2011
10:34:56 -0700 (PDT)
Received: by 10.91.150.15 with SMTP id c15mr97673ago.40.1315935296659; Tue, 13
Sep 2011 10:34:56 -0700 (PDT)
Received: by a12g2000yqi.googlegroups.com with HTTP; Tue, 13 Sep 2011 10:34:56
Date: Tue, 13 Sep 2011 10:34:56 -0700 (PDT)
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0,gzip(gfe)
Subject: Re: Erjang vs Jinterface
From: Matthew Evans <pipmaster2...@gmail.com>
To: Erjang <firstname.lastname@example.org>
Content-Type: text/plain; charset=ISO-8859-1
Thanks all for your replies.
Unfortunately I can't describe too much about the architecture other
than to say that the Erlang VMs will be running on embedded hardware
(still using Linux) and shall be monitoring traffic streams on those
devices as well as exchanging state information between them. The key
to the Erlang portion is "5 nines" reliability - that stuff can not
crash. The central Java application provides certain analytics and
application "smarts" to the whole system. There isn't a technical
reason why Java was chosen -- we just selected a language from the
available development pool (in fact there are stronger reasons for
doing that work in Erlang IMO).
Initially I'm just after an IPC, in which case jinterface should work
just fine (I've already got experience developing cnode interfaces, so
I know the pitfalls of that solution).
I can see a number of benefits of Erjang:
* Supervision of the Erjang VM (and by extension the JVM) from the
distributed Erlang VMs using the OTP supervision methods.
* No need to add call backs or other hooks in the interface as new
functionality is added.
* We need an Erlang VM on the same host as the JVM - using Erjang
would negate this need.
Mainly though, the ability to use features of both languages in a
"native" manner, has the greatest appeal.
I do however have enough stuff to get starting with.