Robert_47833
Mar 25, 2014Altostratus
Does iControl have cache
hello,team does iControl have cache? such as ,client call api1 ,which get result 1 after 2 seconds,client call api1 again,F5 respond with 1 which is stored in F5 memory or cache?
hello,team does iControl have cache? such as ,client call api1 ,which get result 1 after 2 seconds,client call api1 again,F5 respond with 1 which is stored in F5 memory or cache?
Hi Robbie
The information you get is taken from the memory. I've never gotten cached information on the iControl calls. Even the changes you make are stored in memory and has to be written to disk with another iControl call.
/Patrik
The iControl server side code was implemented to only update the running configuration in memory. Unlike the GUI, which does a disk flush each operation, we found that the overhead of doing that for large configurations was too long and effected API based applications negatively. The best practice is to make the various changes you want and then issue a System.ConfigSync.save_configuration() method to flush it to disk.
-Joe
hmm,this api call is to get pool status
Develpoer found that in 1th second,pool A status is green then we shutdown pool A,the issue an iControl call,but pool A status is still green.....
Did you shut down the pool member with the help of a failed monitor, or did you disable it? A pool member can be available (green) while disabled.
/Patrik
it is in our prod env
we use icontrol to get status of pools and display them in webpage
yesterday when I use monitor to make pool A down,however,I refresh the webpage,pool A is still green(refresh webpage will make a new api call to get pool status from F5 LTM)
how to contact Joe?