Previous Topic

Next Topic

Stand-alone Multi-user Model

The Stand-alone Multi-user Model is part of FairCom’s non-client/server architecture offering multi-user peer-to-peer capabilities, meaning multiple processes may open the same file.

With the Stand-alone Multi-user Model, your application is linked with the c-tree Plus database engine that supplies a Function API in the form of a static library, DLL, or shared library. All file related operations are done through the c-tree Plus API, 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 “flushed and force read” to and from the hard disk to ensure data integrity between all users.

The Standalone Multi-user Model offers record level locking using the compiler’s runtime library lock/unlock functions for multiple-user data concurrency, even on a network file system. The c-tree Plus code will be linked as a part of your application. Full source code is included, which allows the user to move the product to any operating environment that supports the C language.

This model provides an easy migration path to the client/server model with features such as: more robust data concurrency, multi-user data integrity through on-line Transaction Processing (OLTP), and all of the other features offered by the client/server model.

Benefits

  • Self-contained (Stand Alone) executable.
  • Flexible API with powerful fixed and variable length record support.
  • Complete source code included for maximum control and portability.
  • Compile as a static library, DLL, or Unix Shared Library.
  • Mac libraries support Carbon API

Considerations

  • No support for transaction processing.
  • Extra network traffic when accessing a network file server, especially with large files.
  • Locking may be limited by the underlying operating system or network software.
  • No intelligence or centralized security on the file server machine.
  • No multi-user data & index cache capabilities to enhance performance.

Note! The c-tree Server minimizes or eliminates ALL OF THE ABOVE!