Neptune
💡 Definition
Amazon Neptune is a fast, reliable, fully managed graph database service that makes it easy to build and run applications that work with highly connected datasets.
🔑 Key Concepts
- Graph Database: Stores data as nodes (entities) and edges (relationships).
- Highly Connected Data: Optimized for queries that navigate relationships (e.g., "Friend of a friend").
- Standards: Supports open graph APIs like Gremlin and SPARQL.
⚙️ How it Works
Instead of tables (Relational) or documents (NoSQL), Neptune stores data as a graph. You query it by traversing the relationships between data points.
🎯 Use Cases
- Social Networking: Users, posts, likes, comments (who follows whom).
- Recommendation Engines: "Customers who bought this also bought..."
- Fraud Detection: Detecting patterns of relationships between accounts and transactions.
💰 Pricing Model
- Instance Hours: Charged per DB instance hour.
- Storage: Charged per GB-month.
- I/O: Charged per million requests.
📝 Exam Tips (CLF-C02)
- Keyword: "Graph Database".
- Use case: "Social Networks", "Recommendation Engines", "Fraud Detection".
- Highly connected datasets.