Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tmatvienko authored Apr 23, 2018
1 parent 4dd746b commit 924192e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ DeviceHive Cassandra storage plugin written in Node.js
# Overview
This plugin allows you to store commands and notifications obtained through the DeviceHive platform in Cassandra. This application consists of 2 parts: the schema creation service and the plugin defined in the docker-compose file.
<br /><br />
Upon starting the service the schema creation process will run first [to create a table and UDT schemas from JSON](#creating-tables-and-udts) and the plugin will check the state of the schema creation process using a predefined interval and number of checks. **The schema creation service always must only work on one node.** This was done to prevent concurrent schema modification that causes exceptions in Cassandra. But feel free to scale the plugin service as much as you need.
Upon starting the service the schema creation process will run first [to create tables and UDT schemas from JSON](#creating-tables-and-udts) and the plugin will check the state of the schema creation process using a predefined interval and number of checks. **The schema creation service always must only work on one node.** This was done to prevent concurrent schema modification that causes exceptions in Cassandra. But feel free to scale the plugin service as much as you need.
<br /><br />
At the very beginning of runtime both the plugin and schema creation service will [compare the existent table and UDT schemas with what is defined in JSON](#schema-comparison). In case of a column/field mismatch, column/field type mismatch, primary and clustering keys mismatch, or ordering mismatch, the application will fail. In case a UDT or table already exists it will notify the user.
<br /><br />
When the message arrives it can be either a command, command update, or notification,.depending on what type it is data will be inserted into the appropriate [group of tables](#table-groups). Also the data will be filtered to [match the described table schema](#data-model).
When the message arrives it can be either a command, command update, or notification, depending on what type it is data will be inserted into the appropriate [group of tables](#table-groups). Also the data will be filtered to [match the described table schema](#data-model).

# How it works

Expand Down

0 comments on commit 924192e

Please sign in to comment.