From 448148453b687600552db8426dffab14fbf01860 Mon Sep 17 00:00:00 2001 From: Rob Hedgpeth Date: Tue, 4 Feb 2020 15:27:55 -0600 Subject: [PATCH] Update README.md --- Bookings/README.md | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/Bookings/README.md b/Bookings/README.md index 8e8757d..1e3acf4 100644 --- a/Bookings/README.md +++ b/Bookings/README.md @@ -3,7 +3,9 @@ **Bookings** is a web application written in [ReactJS](https://reactjs.org) and [NodeJS](https://nodejs.org) that, backed by the power of the [MariaDB Node Connector](https://github.com/MariaDB/mariadb-connector-nodejs) and the [MariaDB X4 Platform](https://mariadb.com/resources/blog/deploying-mariadb-platform-x4/#smart), unleashes the power of [smart transactions](https://mariadb.com/resources/blog/introducing-mariadb-platform-x4-smart-transactions-and-cloud-native-storage/) on hundreds of millions of records with sub-second query performance without having to add any indexes!

- + + +

The following will walk you through the steps for getting this application up and running (locally) within minutes! This application is completely open source. Please feel free to use it and the source code as you see fit! @@ -44,7 +46,9 @@ This sample was tested on macOS v.10.14.6. [MariaDB platform](https://mariadb.com/products/mariadb-platform/) unifies [MariaDB TX (transactions)](https://mariadb.com/products/mariadb-platform-transactional/) and [MariaDB AX (analytics)](https://mariadb.com/products/mariadb-platform-analytical/) so transactional applications can retain unlimited historical data and leverage powerful, real-time analytics in order to provide data-driven customers with more information, actionable insight and greater value – and businesses with endless ways to monetize data. It is the enterprise open source database for hybrid transactional/analytical processing at scale.

- + + +

### Deploying MariaDB Hybrid Transactional-Analytical Processing (HTAP) @@ -54,7 +58,9 @@ MariaDB Platform supports [Hybrid Transactional-Analytical Processing (HTAP)](ht Here's a simple architecture diagram of MariaDB X4 Platform.

- + + +

For this application we'll be targeting a single instance of MariaDB HTAP, and instructions for setting such an environment can be found here: @@ -143,7 +149,9 @@ Once you've pulled down the code and have verified that all of the required Node 1. Using a command line interface (CLI) navigate to the `src` directory.

- + + +

2. Run the command: @@ -153,13 +161,17 @@ npm start ```

- + + +

3. Open a browser window and navigate to http://localhost:3000.

- + + +

## Smart Transactions @@ -173,11 +185,15 @@ At their core, smart transactions are the standard transactions that databases h This application uses real-time analytics before a flight is booked. Each flight ticket option contains information calculated from the historical records (average delay, average duration, flight score, etc.) within the `flights` table.

- + + +

- + + +

**Post-transaction** @@ -185,7 +201,9 @@ This application uses real-time analytics before a flight is booked. Each flight This application also uses real-time analytics after a flight has been booked, and a trip has been created.

- + + +

## Cross-Engine Queries @@ -193,7 +211,9 @@ This application also uses real-time analytics after a flight has been booked, a This application uses cross-engine queries to maximize the potentials of the MariaDB X4 Platform. Cross-engine querying is the ability to access, via MaxScale, both the transactional and analytics data within a single query.

- + + +

## Support and Contribution @@ -203,4 +223,4 @@ Thanks so much for taking a look at the Bookings app! As this is a very simple e If you have any questions, comments, or would like to contribute to this or future projects like this please reach out to us directly at developers@mariadb.com or on [Twitter](https://twitter.com/mariadb). ## License -[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=plastic)](https://opensource.org/licenses/Apache-2.0) \ No newline at end of file +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=plastic)](https://opensource.org/licenses/Apache-2.0)