Click here to Skip to main content
15,867,994 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to run a program when Elasticache Redis starts up to load some values into it. For this I need to know when Redis starts up.


I know that there is a seed file which can be provided but since the data is very dynamic, I can not place it in a file. I will need to load it on demand.

The problem is how do I know that an instance has started. I want to get a signal of some sort, either through polling from a different application or listening to a notification of some sort.

What I have tried:

I am new to Redis, I only know about the seed file.
Posted
Comments
[no name] 17-May-19 12:22pm    
You need to be a bit more specific about "what to poll" or "listen for".

Maybe someone else will do the initial research for you.
rohith naik 17-May-19 23:14pm    
Hi Gerry, I am not specific at all about my requirement. I just need something to indicate that a Redis instance has started up. I am very flexible in terms of what I can do to figure it out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900