Thursday, February 25, 2021

Redis Is Super Simple

Having written an authorization service once before, I know that I'm going to need something fast and lightweight to store information that will allow the server to determine whether or not a client has been properly authenticated every it attempts to send a request.

In the past, I used Redis to do this (and a lot of other things) and I don't see any good reason not to keep using it for development purposes.

I'll take another look at AWS Elasticache at some point, but for now, I don't want this to be a blocker to progress.

So yeah, installing Redis on my local machine was super easy as version 4 (most current version is 6) is available via amazon linux extras and I can install predis to make it easy to interact with the service via php.

I'm going to use the default configuration that comes with the installation for now, but I know that if I were to install this in production on it's own machine I'd want to configure it differently.

No comments:

Post a Comment