Skip to content

System Architecture

Andy Theuninck edited this page Apr 29, 2015 · 1 revision

CORE consists of two major components: front end software for checking out customers (Lane) and back end software for management and reporting (Office). On a basic level the system is simply creating and managing data - about items, customers, transactions, etc.

A Typical Deployment

A typical deployment will have one server machine running the back end Office software and one or more lane machines running the front end Lane software. Each machine is running its own database server for resiliency and periodically information is shipped from one machine's database server to another machine's database server.

Types of Data

Each machine's database server holds two types of data. These are commonly stored in separate named databases on the server. The first type is operational data. Operational data is centrally managed and expected to be the same throughout the system. An item's price or a customer's name is operational data. By default, Office names its operational database core_op and Lane names its operational database opdata. You can pick different names, but Office and Lane cannot use the same name for their operational databases.

The second type is transactional data. Transactional data is information about purchases made at the Lane machine(s). Each Lane will be continually generating new transactional data as items are sold, and each Lane's transactional data will be different. By default, Office names its transactional database core_trans and Lane names its transactional database translog. Again you can pick different names but the same caveat that Office and Lane cannot use the same name applies.

Office does include a third named database, defaulting to trans_archive. This is purely for organizational purposes. It also contains transaction data.

Data Flows

Operational data travels from Office's database to Lane's database. For example, after updating a price in Office, the new price information must be sent to the Lane machine(s). Editing a single item or member will push new data to the lanes automatically. A whole table of information can be sent manually using the Synchronize menu. Table synchronization can also be set up as a scheduled task that happens automatically (most often once a day).

Transaction data travels from the Lane database(s) to the Office database. A Lane will attempt to send its transaction data to Office at the conclusion of each customer transaction. Should this fail, the Lane will simply continue accumulating transaction data locally and try sending it to Office again later.

Clone this wiki locally