I have one table(1 cr records) in Oracle 12g which is getting updated(from other/ETL source) everyday at 4:00 AM which is my user master table. I am using this table to authenticate my user.
So simple way is get it from database but instead I am thinking to move/update the table into Redis everyday after ETL operation so that I don't have to connect DB for each authentication.
One way is write a scheduler/Cron job in Java which will run after ETL operation to copy table record and insert into Redis.
Is there any better way to do so? like use oRedis to update Redis cache directly from Oracle database or something else?
PS: Right now I am using Redis with Java(redisson) for caching.
I am using Netflix Zuul filter for the authentication so each request will be authenticated at Zuul filter so it seems costly operation to connect database for each request.