Hi all,
I have a file which have ip's of three servers say servers.txt. I am opening the file for every request. Instead I want to load the file for the first request and from the next time onwards. I have to avoid file I/O. How can I achieve this using python. And also I check for the health of servers each day to determine which is alive and which is down and accordingly add/remove server ip's. How can make my to load new ip's once modification is done??
I hope i am making sense
regards
kiran