Product Recommendations Powered by Neo4j
Publication date: September 20, 2022 (Diagram history)
With this architecture, you can deliver personalized product recommendations in near real time. The solution uses Neo4j Graph Database (GDB) and Graph Data Science (GDS) on AWS for storing and analyzing connected data, Amazon EMR for data processing, Amazon SageMaker AI for machine learning (ML), and Amazon Kinesis for streaming ingestion.
Product recommendations diagram
The following steps describe the data pipeline and recommendation engine for this architecture:
-
Ingest customer orders, product data, and clickstream data through Amazon Redshift, Amazon RDS, Amazon EMR, Amazon Simple Storage Service, and Amazon Kinesis.
-
Transform and enrich data by using AWS Glue, Apache Spark on Amazon EMR, AWS Lambda, or other tools.
-
Load bulk and batch data to Neo4j by using the Neo4j Spark Connector for Amazon EMR or Neo4j APIs running in Lambda.
-
Stream near real-time data from Apache Kafka on AWS through the Neo4j Kafka Connector to the Neo4j database.
-
Flow clickstream data from Amazon Kinesis through the Neo4j Spark Connector running on Amazon EMR to the Neo4j database.
-
Store, query, analyze, and manage highly connected data by using Neo4j GDB and GDS. Deploy Neo4j Aura as a fully managed service on AWS, or run Neo4j Enterprise on Amazon Elastic Compute Cloud instances.
-
Create features on Neo4j GDB and GDS. Export graph embeddings to SageMaker AI for training ML models.
-
Explore data and present findings by using AWS Quick Sight and Neo4j Bloom visualization tools.
-
Access Neo4j by using official drivers from Lambda or any application. Use a low-code approach with GraphQL API and the GRANDStack framework through Amazon API Gateway.
-
Run the recommendation services by using Neo4j GDB and GDS at scale in near real time. Apply this framework to build similar recommendation engines for additional use cases.
Further reading
For additional information, see the following resources:
Diagram history
To receive updates about this reference architecture diagram, subscribe to the RSS feed.
| Change | Description | Date |
|---|---|---|
Initial publication | Reference architecture diagram first published. | September 20, 2022 |
RSS subscription requirement
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.