Account Options

  1. Sign in
Google Groups Home
« Groups Home
getting rid of the 1M value limit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bsergean  
View profile  
 More options Dec 9 2008, 12:37 am
From: bsergean <bserg...@gmail.com>
Date: Mon, 8 Dec 2008 21:37:25 -0800 (PST)
Local: Tues, Dec 9 2008 12:37 am
Subject: getting rid of the 1M value limit
Hi,

http://www.socialtext.net/memcached/index.cgi?faq#what_are_some_limit...
"""
Stored data cannot exceed 1 megabyte in size, since that is the
largest typical slab size.
"""

I'd like to cache datas that are bigger than 1M in size.
I tried to look at the slabs.c code but couldn't figure how to do
that. The FAQ talks about USE_SYSTEM_MALLOC but I'm not sure it's
related.

Any help would be great.

Thanks,
- Benjamin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Toru Maesaka  
View profile  
 More options Dec 9 2008, 1:09 am
From: "Toru Maesaka" <tmaes...@gmail.com>
Date: Tue, 9 Dec 2008 15:09:21 +0900
Local: Tues, Dec 9 2008 1:09 am
Subject: Re: getting rid of the 1M value limit
Hi,

If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.

Cheers,
Toru


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Sergeant  
View profile  
 More options Dec 9 2008, 10:04 am
From: "Benjamin Sergeant" <bserg...@gmail.com>
Date: Tue, 9 Dec 2008 07:04:04 -0800
Local: Tues, Dec 9 2008 10:04 am
Subject: Re: getting rid of the 1M value limit

#define POWER_BLOCK 1048576
I will play with it. Thanks a lot Toru.

- Benjamin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trond Norbye  
View profile  
 More options Dec 9 2008, 10:17 am
From: Trond Norbye <Trond.Nor...@Sun.COM>
Date: Tue, 09 Dec 2008 16:17:52 +0100
Local: Tues, Dec 9 2008 10:17 am
Subject: Re: getting rid of the 1M value limit
Toru Maesaka wrote:
> Hi,

> If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.

In addition you _must_ also verify that your client can handle such
values ;)

Cheers,

Trond


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Sergeant  
View profile  
 More options Dec 9 2008, 11:54 am
From: "Benjamin Sergeant" <bserg...@gmail.com>
Date: Tue, 9 Dec 2008 08:54:06 -0800
Local: Tues, Dec 9 2008 11:54 am
Subject: Re: getting rid of the 1M value limit

I'm planning to use cmemcache which calls libmemcache. Do you think there's
gonna be problems ? (I'm gonna check today anyway).
- Benjamin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Sergeant  
View profile  
 More options Dec 9 2008, 1:26 pm
From: "Benjamin Sergeant" <bserg...@gmail.com>
Date: Tue, 9 Dec 2008 10:26:21 -0800
Local: Tues, Dec 9 2008 1:26 pm
Subject: Re: getting rid of the 1M value limit

It works great, thanks guys !

- Benjamin

ps:
Now I will start thinking about doing things right and not caching my big
blobs ...

On Tue, Dec 9, 2008 at 8:54 AM, Benjamin Sergeant <bserg...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »