Re: Basic Question - Multiple values with the same key

2011-11-22 Thread Siddharth Jagtiani
Well, if I need to put another object in the collection, I need to first get it the existing object from the cache. And then insert this new object within that collection. Reducing performance by that much. But I understand that perf will not drop considerably since a get is much faster, and its

Re: Basic Question - Multiple values with the same key

2011-11-22 Thread dormando
Well, if I need to put another object in the collection, I need to first get it the existing object from the cache. And then insert this new object within that collection. Reducing performance by that much. But I understand that perf will not drop considerably since a get is much faster, and

Re: Basic Question - Multiple values with the same key

2011-11-22 Thread Siddharth Jagtiani
Super Dormando. This helps me in the right direction. Thanks a ton. Siddharth On Tue, Nov 22, 2011 at 2:05 PM, dormando dorma...@rydia.net wrote: Well, if I need to put another object in the collection, I need to first get it the existing object from the cache. And then insert this new

Re: Basic Question - Multiple values with the same key

2011-11-22 Thread Siddharth Jagtiani
Dormando, Quick question. So if I were to put (key, array_of_size_3) and then append (key, new_item) value = get (key) size of value will be 4 ? Siddharth On Tue, Nov 22, 2011 at 2:05 PM, dormando dorma...@rydia.net wrote: Well, if I need to put another object in the collection, I need to

critical problem of memcached with ruby on rails

2011-11-22 Thread amvis
I am using ruby 1.8.7 and rails 2.3.11, also working with ubuntu 11.10. now i have downloaded one application and trying to run that application. so when i run the commad rake db:create i got like this *rake db:create* WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require

Re: Basic Question - Multiple values with the same key

2011-11-22 Thread dormando
Dormando,Quick question. So if I were to  put (key, array_of_size_3) and then append (key, new_item) value = get (key) size of value will be 4 ? if array_of_size_3 is 3 bytes, and new_item is 1 byte, then yes. remember that if you're appending complex structures, you still need to be

Re: Basic Question - Multiple values with the same key

2011-11-22 Thread Dustin
On Tuesday, November 22, 2011 12:07:15 PM UTC-8, Dormando wrote: Dormando,Quick question. So if I were to� put (key, array_of_size_3) and then append (key, new_item) value = get (key) size of value will be 4 ? if array_of_size_3 is 3 bytes, and new_item is 1 byte, then yes.

Re: Basic Question - Multiple values with the same key

2011-11-22 Thread 柴俊�
Hi: I'm a java programer. accroding to ur question, I made a test to verify my solution that u can use Collection Object. what I use memcached client is java_memcached-release_2.6.2.jar which is from https://github.com/gwhalin/Memcached-Java-Client/downloads My test as following: class

Re: Basic Question - Multiple values with the same key

2011-11-22 Thread ktechie
We have implemented a java solution which uses memcached, the client being xmemcached. We are using a multiget feature, which has helped in improving performance. Is there any recommendations around how many objects should I try to fetch using multiget at a time. The default timeout is one sec,