Enduro/X
Italic text
Developer(s) | ATR Baltic |
---|---|
Stable release | 2.4.2 / 22 Feb 2016 |
Development status | Active |
Written in | C, Go |
Operating system | GNU/Linux |
Type | Application server Message-oriented middleware Enterprise Messaging System SOA |
License | GPL v2 or Commercial |
Website |
Enduro/X is an open source middleware platform for distributed transaction processing. It is built on proven APIs such as X/Open group's XATMI and XA. Platform is designed for building real-time microservices based applications with clusterization option. Enduro/X functions as extended drop-in replacement alternative for Oracle (R) Tuxedo (R). The platform uses in-memory POSIX Kernel queues which insures high interprocess communication throughput.
Services
The platform allows runtime system patching, without service interruption. The system monitors running processes, and restarts them after a crash or hang. System configuration can be dynamically reloaded and it provides a cluster facility, allowing two or more instances to be joined in peer-to-peer manner. Enduro/X is written in C and provides native APIs for C/C++.
Technology
Currently Enduro/X works on GNU/Linux kernels starting from 2.6.12. The most critical Linux feature is epoll() on POSIX queues. This Linux functionality allows true mechanics for one queue - multiple servers, where Enduro/X servers are polling over the queues.
Features
- Standards based APIs - SCA, The Open Group XATMI
- Communication types - Synchronous, Asynchronous, Conversational, Publish/subscribe
- Typed buffers
- UBF (Unified Buffer Format) which provides emulation of Tuxedo's FML/FML32 format
- STRING buffer format
- CARRAY (byte array) buffer format
- JSON buffer format, automatic conversion between JSON and UBF available
- Transaction Management - Global Transactions - Two-phase commit protocol - X/Open XA
- Clustering - on peer-to-peer basis
- Event broker (also called publish and subscribe messaging)
- Security - Cluster link encryption with GNU PGP framework
- System process monitoring and self healing (pings and restarts)
- Dynamic re-configuration
- Custom server polling extensions
- XATMI sub-system is able to work with out main application server daemon (ndrxd)
- Main application server daemon (ndrxd) can be restarted (if crashed). When started back it enters in learning mode for some period of time, in which in gathers information about system, what services are running, etc. After learning period, it starts to do normal operations
- Available tpforward() call
- ATMI server threads may become clients, and can do tpcall()
- Extensive logging & debugging. Enduro/X logging can be configured per binary with different log levels. As ATMI servers can be started outside of appserver, it is possible to debug them from programming IDE or with tools like valgrind.
- For quality assurance project uses automated unit-testing and integration-testing
- Built in ATMI service profiling.
- Environment variables can be updated for XATMI server processes with out full application reboot.
- Generic client process monitor (cpm). Subsystem allows to start/stop/monitor client executables. At client process crashes, cpm will start it back.
Application Server for Go (ASG)
ASG is bindings project on top of the Enduro/X. Authors considers these binding as application server for go, because Golang projects are linked statically and by default there is no such thing as components. Enduro/X allows to run separate executable binaries, which represents stateless services. These services can be reloaded on the fly without service interruption. Also platform allows to run distributed transaction processing by using Golang. Developers provides modified Oracle DB OCI8 drivers for Go, which supports XA transactions. Enduro/X ASG provides first ever distributed transaction facility for Golang.
Enduro/X-PHP
Full client bindings are available for PHP5. Client PHP processes might compile a loadable module or compile the Enduro/X process inside the PHP. When PHP process is running as client, it must be present in Enduro/X Application environment, that could be done when application is hosted under the same user where PHP app runs (apache or so) or for the PHP user creating a micro environment which further connects to main application server via tpbridge process. Module is available here .
Enduro/X-Perl
Client and server bindings are available for Perl scripting language. Perl module is available here