Using a Neo4j graph NoSQL database
Neo4j is a graph database that can be used to store relationships between objects. Neo4j uses Cypher Query Language (CQL), which is the equivalent of SQL for relational databases. Neo4j also represents data using nodes, relationships, properties, and labels in a visual way. It supports ACID operations and native graph storage and processing. It has great scalability and enterprise support. Because of the way it stores data, it can be used for IoT applications to query relationships between data. So now, let’s install Neo4j by following the next steps:
- Create the deployment for Neo4j:
$ cat <<EOF | kubectl apply -f - apiVersion: apps/v1 kind: Deployment metadata: labels: app: neo4j name: neo4j spec: replicas: 1 selector: matchLabels: app: neo4j template: metadata...