FairCom Corporation
 
FairCom Start PageFairCom ProductsDownloadsDeveloper SupportSales InformationFairCom CustomersFairCom Company InformationContact FairCom

Homebulletgrey.gifStand Alone Models


c-treeACE Stand-Alone Database Models

model - bound server

c-treeACE Professional includes support for FairCom's Stand Alone Database models, available in single-user (only one process may open a given file) and multi-user (multiple processes may open the same file) modes. With these two models, your application is linked with the c-treeACE Stand-Alone database engine which supplies a Function API in the form of a static library, DLL or shared library. All file related operations are done through one of the the c-treeACE ISAM Record Oriented APIs which ultimately utilizes your compiler's runtime library routines (i.e., open, close, read, write, etc.). The file I/O (or disk I/O, as illustrated in the diagram) is either: a) cached in the single-user model; or b) "flushed and force read" to and from your hard disk in the multi-user model.

The caching offered by the single-user model provides better throughput than the multi-user model, while the multi-user model offers record level locking using your compiler's runtime library lock/unlock functions (rather than a centralized control point available with the c-treeACE Server) for multiple-user data concurrency. The multi-user model also offers serialized thread support.

Note these Models do not support SQL functionality (i.e., the c-treeACE .NET data provider, JDBC, and dbExpress), encryption, or dynamic backups.

There is an easy migration path to the more robust client/server models for applications using the Stand-Alone models.

Benefits

  • Self-contained (Stand Alone) executable.
  • Accelerated performance when data and index caches are activated (Single-user-NOTFORCE).
  • Flexible APIs with powerful fixed and variable length record support.
  • Complete source code included in the c-treeACE Professional package for maximum control and portability.
  • Compile as: a) a static library; b) DLL (Windows); or c) Unix Shared Library.

Considerations

Note: The c-treeACE Server minimizes or eliminates the following considerations.

  • No support for multi-user transaction processing.
  • Extra network traffic when accessing a network file server, especially with large files.
  • Locking requires network O/S lock routines. The network O/S may impose an artificial limit to the number of concurrent locks available.
  • No intelligence or centralized security on the file server machine.
  • No multi-user data and index cache capabilities to enhance performance.
  • The multi-user threading support is serialized so no performance gain will be realized. The client/server models are able to support parallel threads for performance gains.

"This is the most magic database I have used. Very easy, very fast, and has to be the very best answer for developers and ISVs to achieve data access."

Alan F. Taylor FPNA
Manager, Altor Software Pty Ltd

FairCom Start PageSite MapContact FairComThe FairCom Privacy Policy Your Location: USA | Europe | Brazil | Japan
Copyright 2012 FairCom Corporation. All rights reserved.