Too Long; Didn't Read
In the last couple weeks we’ve used <a href="https://hackage.haskell.org/package/persistent" target="_blank">Persistent</a> to store a <code class="markup--code markup--p-code">User</code> type in a Postgresql database. Then we were able to use <a href="https://hackage.haskell.org/package/servant" target="_blank">Servant</a> to create a very simple API that exposed this database to the outside world. This week, we’re going to look at how we can improve the performance of our API using a <a href="https://redis.io/" target="_blank">Redis</a> cache.