<s>
Enduro/X	B-Application
is	O
an	O
open-source	B-Application
middleware	B-General_Concept
platform	O
for	O
distributed	O
transaction	B-General_Concept
processing	I-General_Concept
.	O
</s>
<s>
It	O
is	O
built	O
on	O
proven	O
APIs	B-Application
such	O
as	O
X/Open	O
group	O
's	O
XATMI	O
and	O
XA	O
.	O
</s>
<s>
Enduro/X	B-Application
functions	O
as	O
an	O
extended	O
drop-in	O
replacement	O
for	O
Oracle	O
Tuxedo	O
.	O
</s>
<s>
The	O
platform	O
uses	O
in-memory	O
POSIX	O
Kernel	B-Operating_System
queues	O
which	O
insures	O
high	O
interprocess	B-Operating_System
communication	I-Operating_System
throughput	O
.	O
</s>
<s>
Enduro/X	B-Application
is	O
written	O
in	O
C	B-Language
and	O
provides	O
native	O
APIs	B-Application
for	O
C/C	O
++	O
.	O
</s>
<s>
Mavimax	O
provides	O
bindings	O
are	O
provided	O
for	O
Go	B-Application
,	O
Java	B-Language
programming	I-Language
languages	I-Language
.	O
</s>
<s>
Community	O
provides	O
bindings	O
for	O
Python	O
,	O
PHP	O
and	O
Perl	B-Language
.	O
</s>
<s>
Thus	O
effectively	O
Enduro/X	B-Application
may	O
be	O
used	O
as	O
language	O
interoperability	O
tool	O
between	O
supported	O
programming	O
languages	O
.	O
</s>
<s>
Currently	O
Enduro/X	B-Application
works	O
on	O
Linux	B-Operating_System
kernels	I-Operating_System
starting	O
from	O
2.6.12	O
.	O
</s>
<s>
The	O
most	O
critical	O
Linux	B-Application
feature	O
is	O
epoll( )	O
on	O
POSIX	O
queues	O
.	O
</s>
<s>
This	O
Linux	B-Application
functionality	O
provides	O
the	O
mechanism	O
for	O
one	O
queue	O
-	O
multiple	O
servers	O
,	O
where	O
Enduro/X	B-Application
servers	O
are	O
polling	O
over	O
the	O
queues	O
.	O
</s>
<s>
Enduro/X	B-Application
developers	O
pushed	O
the	O
EPOLLEXCLUSIVE	O
flag	O
inclusion	O
into	O
Linux	B-Operating_System
kernel	I-Operating_System
mainline	O
(	O
starting	O
from	O
version	O
4.5	O
)	O
.	O
</s>
<s>
The	O
patch	O
improved	O
the	O
Enduro/X	B-Application
response	O
in	O
case	O
if	O
hundreds	O
of	O
executables	O
are	O
providing	O
the	O
same	O
service	O
.	O
</s>
<s>
Particularly	O
kernel	B-Operating_System
is	O
not	O
doing	O
thundering	O
herd	O
type	O
behavior	O
anymore	O
by	O
waking	O
up	O
all	O
binaries	O
waiting	O
on	O
queue	O
.	O
</s>
<s>
In	O
some	O
workloads	O
the	O
Enduro/X	B-Application
applications	O
gets	O
significant	O
boost	O
.	O
</s>
<s>
Starting	O
with	O
Enduro/X	B-Application
version	O
3.1.2	O
production	O
grade	O
support	O
for	O
FreeBSD	B-Operating_System
,	O
IBM	B-Application
AIX	I-Application
(	O
versions	O
6.1	O
and	O
7.1	O
)	O
and	O
Oracle	B-Application
Solaris	I-Application
V11	O
is	O
added	O
.	O
</s>
<s>
V3.1.2	O
introduced	O
experimental	O
support	O
for	O
Apple	O
macOS	B-Application
and	O
Cygwin	B-Language
.	O
</s>
<s>
As	O
for	O
MacOS	B-Application
there	O
is	O
no	O
support	O
for	O
Posix	O
queues	O
in	O
operating	O
system	O
,	O
Enduro/X	B-Application
uses	O
emulated	O
Posix	O
queues	O
which	O
are	O
based	O
on	O
memory	O
mapped	O
files	O
in	O
tandem	O
with	O
Posix	O
thread	O
's	O
process	O
shared	O
mutexes	O
.	O
</s>
<s>
For	O
FreeBSD	B-Operating_System
Posix	O
queues	O
can	O
be	O
polled	O
too	O
,	O
thus	O
Enduro/X	B-Application
on	O
FreeBSD	B-Operating_System
works	O
in	O
the	O
say	O
way	O
as	O
Linux	B-Application
with	O
one	O
queue-multiple	O
servers	O
.	O
</s>
<s>
The	O
polling	O
on	O
FreeBSD	B-Operating_System
is	O
done	O
with	O
help	O
of	O
kqueue	B-Application
.	O
</s>
<s>
With	O
version	O
6.0	O
System	B-Operating_System
V	I-Operating_System
queues	O
are	O
preferred	O
IPC	O
mechanisms	O
for	O
Unix	O
platforms	O
other	O
than	O
FreeBSD	B-Operating_System
and	O
Linux	B-Application
.	O
</s>
<s>
The	O
System	B-Operating_System
V	I-Operating_System
queues	O
also	O
gives	O
single	O
queue	O
-	O
multiple	O
servers	O
(	O
SQMS	O
)	O
message	O
distribution	O
approach	O
for	O
effective	O
load	O
balancing	O
.	O
</s>
<s>
To	O
load	O
balance	O
in	O
SQMS	O
mode	O
with	O
System	B-Operating_System
V	I-Operating_System
queues	O
,	O
XATMI	O
server	O
must	O
be	O
configured	O
to	O
use	O
request	O
address	O
(	O
logical	O
channel/queue	O
)	O
on	O
which	O
all	O
XATMI	O
servers	O
advertises	O
same	O
services	O
.	O
</s>
<s>
This	O
Queue	O
mode	O
is	O
available	O
for	O
Oracle	B-Application
Solaris	I-Application
and	O
IBM	B-Application
AIX	I-Application
.	O
</s>
<s>
For	O
MacOS	B-Application
still	O
emulated	O
Posix	O
queue	O
are	O
used	O
,	O
due	O
to	O
fact	O
that	O
it	O
is	O
not	O
possible	O
to	O
adjust	O
queue	O
capacity	O
on	O
particular	O
operating	O
system	O
.	O
</s>
<s>
JSON	B-General_Concept
buffer	O
format	O
,	O
automatic	O
conversion	O
between	O
JSON	B-General_Concept
and	O
UBF	O
available	O
.	O
</s>
<s>
This	O
offer	O
C	B-Language
structure	O
sending	O
between	O
processes	O
in	O
cross	O
platform	O
way	O
.	O
</s>
<s>
XATMI	O
services	O
can	O
be	O
cached	O
to	O
LMDB	B-Language
database	O
.	O
</s>
<s>
Main	O
application	B-Application
server	I-Application
daemon	O
(	O
ndrxd	O
)	O
can	O
be	O
restarted	O
(	O
if	O
crashed	O
)	O
.	O
</s>
<s>
Enduro/X	B-Application
logging	O
can	O
be	O
configured	O
per	O
binary	O
with	O
different	O
log	O
levels	O
.	O
</s>
<s>
As	O
ATMI	O
servers	O
can	O
be	O
started	O
outside	O
of	O
appserver	B-Application
,	O
it	O
is	O
possible	O
to	O
debug	O
them	O
from	O
programming	O
IDE	O
or	O
with	O
tools	O
like	O
valgrind	B-Application
.	O
</s>
<s>
Starting	O
with	O
version	O
5.2	O
Enduro/X	B-Application
provides	O
configuration	O
data	O
encryption	O
feature	O
,	O
so	O
that	O
software	O
which	O
is	O
built	O
on	O
top	O
of	O
Enduro/X	B-Application
may	O
comply	O
with	O
Payment	O
Card	O
Industry	O
Data	O
Security	O
Standard	O
(	O
PCI/DSS	O
)	O
.	O
</s>
<s>
TMIB	O
API	B-Application
for	O
system	O
information	O
gathering	O
.	O
</s>
<s>
NetXMS	B-Protocol
agent	O
for	O
monitoring	O
client	O
and	O
server	O
processes	O
,	O
queues	O
,	O
services	O
,	O
machine	O
and	O
cluster	O
.	O
</s>
<s>
On	O
the	O
fly	O
log	O
setting	O
changing	O
and	O
log	O
rotation	O
for	O
any	O
Enduro/X	B-Application
related	O
program	O
.	O
</s>
<s>
Several	O
benchmarks	O
have	O
been	O
made	O
with	O
the	O
Enduro/X	B-Application
middleware	B-General_Concept
and	O
it	O
shows	O
that	O
it	O
competes	O
with	O
Oracle	O
Tuxedo	O
and	O
ZeroMQ	B-Operating_System
quite	O
well	O
.	O
</s>
<s>
Enduro/X	B-Application
was	O
faster	O
than	O
Tuxedo	O
30%	O
in	O
56	O
KB	O
data	O
block	O
range	O
.	O
</s>
<s>
Enduro/X	B-Application
was	O
significantly	O
faster	O
than	O
ZeroMQ	B-Operating_System
in	O
10-20KB	O
range	O
.	O
</s>
<s>
Also	O
for	O
test	O
performed	O
with	O
RabbitMQ	B-Application
Enduro/X	B-Application
showed	O
its	O
strength	O
and	O
was	O
ahead	O
of	O
the	O
competitor	O
.	O
</s>
<s>
For	O
the	O
RPC	O
calls	O
,	O
Enduro/X	B-Application
was	O
several	O
times	O
ahead	O
,	O
for	O
send	O
only	O
calls	O
,	O
RabbitMQ	B-Application
was	O
bit	O
closer	O
to	O
Enduro/X	B-Application
.	O
</s>
<s>
Enduro/X	B-Application
contains	O
different	O
sub-modules	O
which	O
extends	O
the	O
application	B-Application
server	I-Application
and	O
middleware	B-General_Concept
functionality	O
.	O
</s>
<s>
Enduro/X	B-Application
provides	O
a	O
queuing	O
subsystem	O
called	O
TMQ	O
(	O
Transactional	O
Message	O
Queue	O
)	O
.	O
</s>
<s>
An	O
automated	O
queue	O
forwarding	O
feature	O
is	O
provided	O
that	O
will	O
remove	O
entries	O
from	O
a	O
queue	O
and	O
invoke	O
an	O
associated	O
Enduro/X	B-Application
ATMI	O
services	O
,	O
placing	O
the	O
reply	O
message	O
on	O
an	O
associated	O
reply	O
queue	O
and	O
failed	O
messages	O
to	O
failure	O
queue	O
.	O
</s>
<s>
Enduro/X	B-Application
offers	O
applications	O
to	O
use	O
ini	B-Protocol
file	I-Protocol
based	O
configuration	O
reading	O
via	O
special	O
XATMI	O
server	O
,	O
provided	O
in	O
package	O
,	O
named	O
"	O
cconfsrv	O
"	O
.	O
</s>
<s>
Basically	O
via	O
standard	O
tpcall( )	O
user	O
application	O
is	O
able	O
to	O
read	O
configuration	O
files	O
(	O
can	O
be	O
separate	O
ini	B-Protocol
file	I-Protocol
or	O
folder	O
with	O
them	O
)	O
.	O
</s>
<s>
Enduro/X	B-Application
introduced	O
new	O
set	O
of	O
API	B-Application
function	I-Application
named	O
tplog	O
.	O
</s>
<s>
This	O
allows	O
user	O
to	O
use	O
the	O
same	O
C	B-Language
based	O
high-performance	O
debug	O
logging	O
facilities	O
which	O
Enduro/X	B-Application
uses	O
internally	O
.	O
</s>
<s>
Also	O
there	O
are	O
APIs	B-Application
for	O
"	O
request	O
logging	O
"	O
,	O
which	O
means	O
that	O
user	O
and	O
Enduro/X	B-Application
can	O
do	O
logging	O
in	O
separate	O
files	O
for	O
each	O
request	O
(	O
e.g.	O
</s>
<s>
Enduro/X	B-Application
Connect	O
package	O
provides	O
generic	O
way	O
for	O
exposing	O
XATMI	O
services	O
for	O
outer	O
world	O
.	O
</s>
<s>
The	O
package	O
provides	O
functions	O
for	O
converting	O
message	O
internal	O
messages	O
to	O
JSON	B-General_Concept
format	O
and	O
vice	O
versa	O
.	O
</s>
<s>
Third	O
connectivity	O
component	O
is	O
in	O
Enduro/X	B-Application
Connect	O
package	O
is	O
generic	O
TCP/IP	O
connector	O
which	O
provides	O
bi-directional	O
XATMI	O
service	O
API	B-Application
to	O
the	O
TCP/IP	O
sockets	O
.	O
</s>
<s>
ASG	O
is	O
bindings	O
project	O
on	O
top	O
of	O
the	O
Enduro/X	B-Application
.	O
</s>
<s>
Authors	O
considers	O
these	O
binding	O
as	O
application	B-Application
server	I-Application
for	O
go	B-Application
,	O
because	O
Golang	B-Application
projects	O
are	O
linked	O
statically	O
and	O
by	O
default	O
there	O
is	O
no	O
such	O
thing	O
as	O
components	O
.	O
</s>
<s>
Enduro/X	B-Application
allows	O
to	O
run	O
separate	O
executable	O
binaries	O
,	O
which	O
represents	O
stateless	O
services	O
.	O
</s>
<s>
Also	O
platform	O
allows	O
to	O
run	O
distributed	O
transaction	B-General_Concept
processing	I-General_Concept
by	O
using	O
Golang	B-Application
.	O
</s>
<s>
Developers	O
provides	O
modified	O
Oracle	O
DB	O
OCI8	O
drivers	O
for	O
Go	B-Application
,	O
which	O
supports	O
XA	O
transactions	O
.	O
</s>
<s>
Enduro/X	B-Application
ASG	O
provides	O
first	O
ever	O
distributed	O
transaction	O
facility	O
for	O
Golang	B-Application
..	O
</s>
<s>
Enduro/X	B-Application
version	O
7.0	O
offers	O
binding	O
for	O
Java	B-Language
.	O
</s>
<s>
Full	O
features	O
XATMI	O
servers	O
and	O
client	O
processes	O
may	O
be	O
written	O
Java	B-Language
.	O
</s>
<s>
Requirements	O
for	O
XATMI	O
server/service	O
classes	O
are	O
minimal	O
,	O
thus	O
framework	O
may	O
be	O
considered	O
as	O
POJO	B-General_Concept
application	B-Application
server	I-Application
.	O
</s>
<s>
XA	O
two	B-General_Concept
phase	I-General_Concept
commit	I-General_Concept
can	O
be	O
used	O
too	O
with	O
standard	O
JDBC	B-Language
drivers	O
.	O
</s>
<s>
Transactions	O
are	O
managed	O
by	O
standard	O
Enduro/X	B-Application
Core	O
transaction	B-General_Concept
manager	I-General_Concept
to	O
which	O
JDBC	B-Language
drivers	O
are	O
loaded	O
for	O
transaction	O
orchestration	O
.	O
</s>
<s>
Binding	O
package	O
also	O
offer	O
Java	B-Language
Linker	O
process	O
called	O
exjld	O
.	O
</s>
<s>
It	O
offers	O
option	O
to	O
link	O
java	B-Language
objects	O
(	O
jar	O
files	O
)	O
to	O
standard	O
executable	O
process	O
with	O
dependency	O
to	O
libjvm	O
and	O
libjava	O
.	O
</s>
<s>
Thus	O
all	O
jars	O
may	O
be	O
packed	O
in	O
executable	O
process	O
,	O
making	O
Java	B-Language
software	O
delivery	O
simpler	O
,	O
now	O
each	O
process	O
may	O
contain	O
all	O
its	O
dependencies	O
,	O
thus	O
allowing	O
different	O
executables	O
to	O
use	O
different	O
versions	O
of	O
common	O
jar	O
dependencies	O
.	O
</s>
<s>
As	O
server	O
process	O
both	O
java	B-Language
executable	O
with	O
classpath	O
or	O
linked	O
java	B-Language
binaries	O
are	O
supported	O
,	O
ndrxd	O
daemon	O
can	O
boot	O
both	O
of	O
them	O
.	O
</s>
<s>
Client	O
PHP	O
processes	O
might	O
compile	O
a	O
loadable	O
module	O
or	O
compile	O
the	O
Enduro/X	B-Application
process	O
inside	O
the	O
PHP	O
.	O
</s>
<s>
When	O
PHP	O
process	O
is	O
running	O
as	O
client	O
,	O
it	O
must	O
be	O
present	O
in	O
Enduro/X	B-Application
Application	O
environment	O
,	O
that	O
could	O
be	O
done	O
when	O
application	O
is	O
hosted	O
under	O
the	O
same	O
user	O
where	O
PHP	O
app	O
runs	O
(	O
Apache	O
or	O
so	O
)	O
or	O
for	O
the	O
PHP	O
user	O
creating	O
a	O
micro	O
environment	O
which	O
further	O
connects	O
to	O
main	O
application	B-Application
server	I-Application
via	O
tpbridge	O
process	O
.	O
</s>
<s>
Client	O
and	O
server	O
bindings	O
are	O
available	O
for	O
Perl	B-Language
scripting	O
language	O
.	O
</s>
<s>
Perl	B-Language
module	O
is	O
available	O
here	O
.	O
</s>
<s>
The	O
Enduro/X	B-Application
was	O
acquired	O
from	O
ATR	O
Baltic	O
,	O
Ltd	O
by	O
Mavimax	O
Ltd	O
on	O
February	O
,	O
2017	O
with	O
full	O
rights	O
to	O
the	O
source	O
code	O
and	O
current	O
agreements	O
.	O
</s>
<s>
Enduro/X	B-Application
was	O
developed	O
as	O
closed	O
source	O
project	O
by	O
ATR	O
Baltic	O
.	O
</s>
<s>
The	O
development	O
begun	O
in	O
December	O
2009	O
and	O
first	O
production	O
customers	O
(	O
mainly	O
banks	O
)	O
where	O
put	O
on	O
the	O
system	O
in	O
late	O
2012	O
,	O
at	O
the	O
time	O
Enduro/X	B-Application
reached	O
version	O
1.0	O
.	O
</s>
<s>
Till	O
version	O
6.0	O
Enduro/X	B-Application
was	O
available	O
under	O
GNU	B-Operating_System
GPLv2	O
license	O
,	O
starting	O
from	O
Enduro/X	B-Application
6.0	O
,	O
project	O
is	O
moved	O
to	O
GNU	B-Operating_System
AGPLv3	B-Application
license	O
.	O
</s>
<s>
Starting	O
with	O
version	O
7.0	O
,	O
license	O
is	O
eased	O
for	O
middleware	B-General_Concept
usage	O
from	O
Java	B-Language
and	O
Go	B-Application
programming	I-Application
languages	I-Application
.	O
</s>
<s>
The	O
statement	O
is	O
that	O
AGPL	O
used	O
by	O
Enduro/X	B-Application
does	O
not	O
affect	O
the	O
Java	B-Language
or	O
Go	B-Application
code	O
which	O
uses	O
Enduro/X	B-Application
.	O
</s>
<s>
Thanks	O
to	O
these	O
changes	O
,	O
now	O
Enduro/X	B-Application
Java	B-Language
and	O
Enduro/X	B-Application
Go	B-Application
(	O
ASG	O
)	O
modules	O
now	O
are	O
released	O
under	O
LGPL	B-Application
v3	I-Application
,	O
thus	O
Java	B-Language
and	O
Go	B-Application
projects	O
may	O
use	O
middleware	B-General_Concept
commercially	O
with	O
any	O
extra	O
license	O
,	O
while	O
the	O
support	O
is	O
provided	O
commercially	O
.	O
</s>
