Great! Just found default item size is 64MB.
--
smallfish http://chenxiaoyu.org



On Mon, Dec 3, 2012 at 8:53 PM, Nadav Har Tzvi <freddy...@gmail.com> wrote:

> Oh! That's great, also found a repo that has a package of 1.4.15 available
> for Ubuntu 12.04 (Since the regular 12.04 repos don't have  that version
> yet)
> If that is of any use:
> http://www.ubuntuupdates.org/ppa/nathan-renniewaldock_ppa?dist=precise
>
> If you are around here Nathan, thanks :)
>
> I am going to try bombing it with data and see how it rolls.
> Thanks Yiftach! Saved my day.
>
> On Monday, December 3, 2012 1:51:18 PM UTC+2, Yiftach wrote:
>
>> AFAIK, since version 1.4.14, the max size of a Memcached object is 500MB.
>>
>> See more details here:
>>
>> https://groups.google.com/**forum/?fromgroups=#!topic/**
>> memcached/MOfjAseECrU<https://groups.google.com/forum/?fromgroups=#!topic/memcached/MOfjAseECrU>
>>
>>
>>
>> On Mon, Dec 3, 2012 at 11:43 AM, Nadav Har Tzvi <fred...@gmail.com>wrote:
>>
>>> Hello there,
>>>
>>> Let me just start this topic by stating that I do know of the 1 MB item
>>> size limitation in memcached and the reasons for why it is so.
>>>
>>> However I am faced here with a dilema. As part of a web service, I have
>>> to return a bit large JSON object that includes base64 encoded images in it
>>> (thus the large size).
>>> The average JSON object size should be somewhere between 1.2 MB to 2MB
>>> max.
>>> In order to boost the whole deal, I decided to cache those items (Server
>>> has more than enough memory) and grant access from Nginx to reduce the load
>>> on the service and provide quicker responses.
>>>
>>> So my question is this, should I go for increasing memcached item size
>>> or is there any other solution to bypass this problem? Searching google
>>> didn't provide any good results, maybe you have any idea of how to deal
>>> with this?
>>>
>>> Thanks.
>>>
>>
>>
>>
>> --
>>
>> Yiftach Shoolman
>> +972-54-7634621
>>
>>

Reply via email to