To find out whether our DynamoDB Streams processor and write-aside has helped the performance of our get-order API, let’s run the load generator again. You can refer to the instructions back in this section to start the load generator. Follow along on the MomentoPizza dashboard (jump directly to it here).
When the load generator has completed its run, take a look at the results. Has the hit rate for get-order improved?
Write-aside enabled by DynamoDB Streams is a powerful pattern for achieving excellent hit rates, minimizing inconsistency, and reducing both average and p99 latency. The combination of write-aside and read-aside keeps just the latest and most active data in memory, to give very predictable consistency and latencies that are great for user experience.
Our caching implementation is a great success! What else can Momento do to help you with a pleasing user experience?