This is probably a silly question, but I am not able to find the answer googling.
I know libmemcached is great in setting and getting key/value pair to and from the memcached server. Also our service engine is written in C++. This makes libmemcached a great fit for us. I looked through http://docs.libmemcached.org/ , but can't find anything about how memcached client should interact with the database (MYSQL server in my case) when cache miss happened. Questions: 1. Is there a way to interact with MYSQL server in C++ with decent performance? 2. If no to question 1, which would you recommend? I see Perl, Python, PHP, Java, and even User-Defined Functions. If I do not have particular preference on the language, what are the pros and cons for each? Thanks ahead guys, Xun
