The Syntasa platform includes a Type of Datastore called ID Store, which consists of databases and file directories for Syntasa app data storage. ID stores serve as a useful way to organize your apps on the backend and determine where your data is stored. They also help distinguish between your development and production data. It's important to note that ID stores are only created and become active when data is stored within them. They are required for any app created with the "ID Graph" template, so make sure you have at least one before attempting to create an app.
To define an ID Store Datastore, select it when creating a new Datastore.
All apps require a Datastore, either an event store Type or ID store Type, to be specified. It is recommended to have one event store per Synthesizer app, but it is not necessary.
Most ID stores will have the following three databases and three file storage directories.
- Development (dev) - Within the development environment, the user is able to test new configurations and settings before deploying to production.
- Production (prod) - Within the production environment live data is processed and stored.
- Snapshot (snap) - Snapshots of configurations are stored in the event a rollback to an earlier configuration is needed.
Adding a New Datastore of ID Store Type
- Open the Datastore page.
- Click the plus icon () to add a new Datastore.
- A Datastore creation box will appear.
- Provide the new store with a unique name.
- Select Type to ID Store in Type Filter
- Fill out the path and database details for each environment.
- It is recommended to name database values after the key and dev/prod/snap respectively, e.g. KEY_prod, or above adobe_summit_prod.
- Click 'Create'.
- A new Datastore entry will appear in the list on the screen and available to use.
Configurations
- Name - Distinct name of the Datastore.
- Key - Auto-populated from the Datastore name; suggested leaving as is.
- Type - This filter defines the Datastore as per the selected Datastore Type i.e., Event Store, ID Store or Intelligence Hub
- Edit Paths - This checkbox gives control to edit Path and Database name,
-
Development - Location where app testing data gets written.
- Path - File location where any resultant files are stored from processing.
- Database - Name of the database where processed data is stored.
-
Production - Location where production data gets written.
- Path - File location where any resultant files are stored from processing.
- Database - Name of the database where processed data is stored.
-
Snapshot - Location where snapshots allowing for rollbacks get written.
- Path - File location where any resultant files are stored from processing.
- Database - Name of the database where processed data is stored.
Expected Output
An entry gets created in the ID Store screen with a Name, Created At time, and Updated At time.
The Datastore (ID Store Type) reference is available to use with an ID Graph app. After processing an app, data will be available in defined locations.