Hi all, My case is:
I implemented an simple queue by memcached. PHP website(s) push a lot of message to the queue. I need a high speed program (bot) run continuouslly, pop the queue, delivery message to several MySQL databases on several DBServers. "Bot processing" takes a lot of time than" queue poping", so I think bot should be multi-thread app. All running on Linux Ubuntu machines. Please give me some advices: - A bot need to be good at multi-thread, talk with memcached, talk with MySQL. So should I write bot by C or Java? (I can not use erlang, because we're lack of developer and does not have ClientAPI with memcached) - What C library or Java package should I use for this purpose? because I C has 2 libs, Java has 2 packages on memcached homepage, which is thread safe version to use? Thanks for your advice, a lot.
