On Oct 1, 9:04 pm, LockeVN <[EMAIL PROTECTED]> wrote: > Hi all,
> [...] queue [...] Memcached is not a queue. It's a mistake to try to use it as one. I'd recommend beanstalkd or gearman. > 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) Why do you feel you need threads? I don't think it's possible to choose C or Java without knowing a lot more about the desired functionality of your application. If it's just a language choice, I wouldn't start with either. > - 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? I don't think there are any that aren't thread safe. I think my java library is awesome (spymemcached) of course, because I wrote it to be exactly what I wanted. :)
