What is Amazon Neptune

Nadtakan Futhoem
2 min readJul 1, 2021

--

Amazon Neptune — is a fast, reliable, secure, and fully managed graph database service.

Use cases

  • Social Networking
  • Fraud Detection
  • Drug discovery
  • Network security

Query Languages

  • Apache Tinkerpop Gremlin — This allows you to query your graph running on your Neptune DB using the Gremlin traversal language
  • World Wide Web Consortium Sparql — Designed to work with the internet and can be used to run queries against your Neptune DB graph

Neptune is highly available with read-replicas, point-in-time recovery, continuous backup to Amazon S3, and replication across Availability Zone. Neptune provides data security features with support for encryption at rest and in transit. Neptune is fully managed so you no longer need to worry about database management tasks like hardware provisioning, software patching setup, and configuration or backups.

Key Service Components

  • Primary DB instance — supports read and write operations and performs all of the data modifications to the cluster volume. Each Neptune DB Cluster has one primary DB instance that is responsible for writing(that is, loading or modifying) graph database contents.
  • Neptune replica — Connects to the same storage volume as the primary DB instance and supports only read operations. Each Neptune DB cluster can have up to 15 Neptune Replicas in addition to the primary DB instance. This provides high availability by locating Neptune Replicas in separate Availability Zone and distribution load from reading clients.
  • Cluster volume — Neptune data is stored in the cluster volume, which is designed for reliability and high availability. A cluster volume consists of copies of the data across multiple Availability Zones in a single AWS region. Because your data is automatically replicated across Availability Zones, it is highly durable and there is little possibility of data loss.

Neptune is designed to offer greater than 99.99 percent availability. It increases database performance and availability by tightly integrating the database engine with an SSD-backed virtualized storage layer that is built for database workloads. Neptune storage is fault-tolerant and self-healing. Disk failures are repaired in the background without loss of database availability. Neptune automatically detects database crashes and restarts without the need for crash recovery or rebuilding the database cache. If the entire instance fails, Neptune automatically fails over one of up to 15 read replicas.

Nadtakan Futhoem — Sr. Software Engineer

--

--

Nadtakan Futhoem
Nadtakan Futhoem

No responses yet