I currently writing a C program to cache data from Mysql to gwan cache (for a faster response from server to client), but I dont know how to let the program automatically initiate when the gwan start...
What could I do? Thanks!!
cache data from Mysql to gwan cache
The G-WAN cache is rather aimed at storing ready-to-serve pre-built HTTP replies.
If you want to cache raw mySQL responses (then picked by servlets to built HTTP replies) then you should consider using the G-WAN KV store.
See the kv.c source code example.