Amazon Neptune is a graph database that was created specifically to process data that includes a large number of interconnected records. This may not be a familiar use case to everyone, so first, we need to start with a basic description of a graph database.
Let's say you are building a social networking application, where users can friend each other and comment on each other's posts. You will end up with data structures that quickly exceed what relational databases were designed to handle. You may have users with millions of followers, and you may want to quickly traverse the relationship graph to find followers that have interests that match the content of your popular users' latest updates. A purpose-built graph database will give you the best performance in this kind of scenario.
The objects in your graph (entities such...