Caché eXTreme is a set of technologies that enable Caché to be leveraged as a high performance persistence storage engine optimized for XTP (Extreme Transaction Processing) applications.
Unlike the standard .NET binding, the eXTreme APIs do not use TCP/IP to communicate with Caché. Instead, they use a fast in-memory connection (implemented via standard .NET and the Caché Callin API
), and run in the same process as the Caché instance. Although the Caché server and the .NET application must be on the same machine, the application can still use Caché ECP
to access data on remote machines.
Caché eXTreme components include:
Installation and Configuration
This section provides specifies requirements and provides instructions for installing Caché and configuring your environment to use the eXTreme APIs.
If Caché has been installed with security level 2, open the Management Portal and go to [System Administration] > [Security] > [Services]
, select %Service_CallIn
, and make sure the Service Enabled
box is checked.
If you installed Caché with security level 1 (minimal) it should already be checked.
Required Environment Variables
In order to run eXTreme applications, the following environment variable must be properly set:
If your PATH
variable includes more than one <install-dir>/bin
path (for example, if you have installed more than one instance of Caché) only the first one will be used, and any others will be ignored.
Your .NET project must include references to the following files:
eXTreme Sample Applications
Sample applications are available for all eXTreme APIs.
is a program that runs all of the other sample programs in sequence.
tests basic functionality such as connecting, importing a schema, storing, querying, updating and deleting XEP events. It also exercises most of the supported data types.
is the most basic XEP test program. It connects to the database, imports a simple class containing only one string field, then stores and loads a number of events corresponding to that class.
is an example that demonstrates the XEP full inheritance model. It tracks airline flight information such as times, locations, personnel, and passengers.