Re: Invalid configuration when doing configure

2010-11-14 Thread dormando
It's `build-essential`, iirc. On Sun, 14 Nov 2010, Steven Veneralle wrote: hey Alex. for some reason Debain doesnt find that package.  i am literally coming off a fresh instal plus Im having to do everything n CLI remotly On Sun, Nov 14, 2010 at 2:42 PM, Alex Miller

Re: MemCached Evictions

2010-11-04 Thread dormando
reclaims are good, evictions are bad On Thu, 4 Nov 2010, Kate Wang wrote: We are experiencing high reclaims instead of evictions. Could slab distribution shift cause that as well? If the slab distribution shifted could cause high eviction rate, what's the best way to fix it or avoid it?

Re: Memory capacity overflow of memcached

2010-10-20 Thread dormando
wrote: Hi Dormando, We have tried the setting with 48MB and 64MB, but the same problem still comes out. Please kindly help to clarify. Thank you. -Yashushi On 10月18日, 下午4時50分, dormando dorma...@rydia.net wrote: Hi, My team try to use memcached to provide PHP caching recently

Re: next planned release of memcached

2010-10-19 Thread dormando
soon [tm] On Tue, 19 Oct 2010, Pavel Kushnirchuk wrote: Folks, May be anybody know, when will be a next planned release of memcached. Especially I am interested in a release of Win32 branch.

Re: Problems about two memcached java clients: spy and gwhalin

2010-10-17 Thread dormando
I think you're supposed to read to the point where it says queues stuff in memory before sending to the server and extrapolate that writing to the queue too fast is a bad thing. On Sun, 17 Oct 2010, Shi Yu wrote: Kelvin. This is year 2010 and computer programs should not be that fragile. And

Re: Is memcache add() atomic on a multithreaded memcached?

2010-10-14 Thread dormando
our 50+ consistent hashing cluster is very reliable on normal operations, incr/decr, get, set, multiget, etc. is not a problem. If we have a problem with keys on wrong servers in the continuum, we should have more problems, which we currently have not. The cluster is always under relatively

Re: Is memcache add() atomic on a multithreaded memcached?

2010-10-14 Thread dormando
Yeah, right. :-) Restarting all memd instances is not an option. Can you explain, why it is not possible? Because we've programmed the commands with the full intent to be atomic. If it's not, there's a bug... there's an issue with incr/decr that's been fixed upstream but we've never had a

Re: Is memcache add() atomic on a multithreaded memcached?

2010-10-14 Thread dormando
On 14 Okt., 10:31, dormando dorma...@rydia.net wrote: Yeah, right. :-) Restarting all memd instances is not an option. Can you explain, why it is not possible? Because we've programmed the commands with the full intent to be atomic. If it's not, there's a bug... there's an issue

Re: memcached timeout error because of slow response

2010-10-11 Thread dormando
well, I just used this tool to force enough requests :) ok, I extended it a bit, for generating min/max/avg times of the processes, and for executing an explicit memcache get. If you like, You can adopt my patches for redistribution: http://www.maiers.de/memcache/mc_conn_tester.pl IIRC

Troubleshooting client timeouts

2010-10-04 Thread dormando
here it is (public domain) along with a wiki page on how to use it. -Dormando

Re: memcached-1.4.5 without multithread support (or with `-t 0')

2010-10-04 Thread dormando
We took it out for a reason, + if you run with -t 1 you won't really see contention. 'Cuz it's running single threaded and using futexes under linux. Those don't have much of a performance hit until you do contend. I know some paper just came out which showed people using multiple memcached

Re: memcached-1.4.5 without multithread support (or with `-t 0')

2010-10-04 Thread dormando
own trivial client---in particular, as you mentioned, I am interested in the scalability of memcached (-t 4 versus proper singlethreaded/multi-process) with respect to the key and/or value size. Regards, T On Mon, Oct 4, 2010 at 4:21 PM, dormando dorma...@rydia.net wrote: We took

Re: bytes_written growing fast but not cmd_set

2010-09-29 Thread dormando
I have a memcached server in a production environment that is showing a strange behavior : bytes_written grows fast (~1.2Mo per second), but the number of cmd_set does not change! How is that possible? The bytes_* values refer to bytes written/read to the network. fetches/etc will tick

Re: Memcached make many SI (Software Interrupts)

2010-09-28 Thread dormando
where to go from there. I'm going to look up Dormando's suggestions but if anyone else has experience with this and can point us in the right direction, it would be greatly appreciated. Thanks, Jay On Sep 27, 2:34 pm, dormando dorma...@rydia.net wrote: We have an 2 x quad core server with 32

Re: Memcached make many SI (Software Interrupts)

2010-09-27 Thread dormando
We have an 2 x quad core server with 32 gb ram. If many clients connect to this server (only memcached runs on it) the first core run to nearly 100 % use by si (software interrups) and so some client can't reach the server. Memcached runs currently with 4 threads and with version (1.4.2). All

Re: Memcached 1.4.5 - memcached-init and memcached.sysv licenses

2010-09-25 Thread dormando
Uhhhm. memcached-init is from: commit 4b1b1ae76ef6e78dd3f1d753931ac8051ae99e9a Author: Brad Fitzpatrick b...@danga.com Date: Tue Dec 30 19:56:33 2003 + I assume brad copied the skeleton files and modified it. IANAL so I'm not sure how much of it had to be changed to be able to flip the

Re: (tcp 11211) failed with: Connection timed out (110)

2010-09-07 Thread dormando
Upgrade back to 1.4.5 and look for the 'listen_disabled_num' value in the stats output. If the number is increasing, you're hitting maxconns. If not, you're probably seeing packet loss, or have a firewall in the way that's maxing out. On Tue, 7 Sep 2010, the_fonz wrote: Guys, We are seeing

Re: memcached permissions

2010-08-27 Thread dormando
We're still working on merging down 1.6... but if this exists outside as an engine nothing of us blocks you from using it for now. I sort of wonder a little about outright pulling it into the tree, since that implies we have to maintain it. On Fri, 27 Aug 2010, KaiGai Kohei wrote: BTW, how

Re: memcached permissions

2010-08-27 Thread dormando
. :-) Thanks, On 8月27日, 午後6:02, dormando dorma...@rydia.net wrote: We're still working on merging down 1.6... but if this exists outside as an engine nothing of us blocks you from using it for now. I sort of wonder a little about outright pulling it into the tree, since that implies we have

Re: what about the max expires time, 30days?

2010-08-26 Thread Dormando
Expire time turns into a unixtime date after 30 days. It's in the protocol.txt but possibly overlooked in the wiki :( On Aug 26, 2010, at 8:19 PM, kedy211 kedy...@gmail.com wrote: It's unusually the question I mentioned in the topic. And, I can NOT find the offical answer from wiki.

Re: memcached race condition problem

2010-08-25 Thread dormando
entirely, but I think we'll need both fixes :P -Dormando

Re: memcached race condition problem

2010-08-25 Thread dormando
from IRC for posterity): I like shoving an ERROR: Too many connections down the pipe before closing it. Gives client authors the chance to throw useful errors for the developer. Otherwise it's likely to manifest as failed gets/sets with no errors. -Dormando

Re: is there a way to tell if a memcached client is still alive / connected?

2010-08-18 Thread dormando
sto On Wed, 18 Aug 2010, Chad wrote: I am trying to find a way to check if the memcachedclient is still alive or not but it seems to be there is no public api for me to do so. Can someone clarify this? Thanks. Chad

Re: is there a way to tell if a memcached client is still alive / connected?

2010-08-18 Thread dormando
On Wed, 18 Aug 2010, Matt Ingenthron wrote: dormando wrote: sto I'm pretty sure he sent it only once. I think this is a problem with Google's SMTP and MTAs if I recall correctly. This happened on a majordomo based list I

Re: eliminating the taking lock for cqi_freelist

2010-08-17 Thread dormando
Can you resubmit as a unified diff? On Tue, 17 Aug 2010, ilnarb wrote: I suggest you to eliminate taking of the lock on cqi_freelist. In order to it we should done all work on cqi_freelist by one thread -- dispatcher thread in memcached. I made some changes in queue code, including

Re: Making memchaed more secure

2010-08-07 Thread dormando
On Sat, 7 Aug 2010, Dustin wrote: On Aug 7, 7:52 am, Loganaden Velvindron logana...@gmail.com wrote: There seems to be a problem when I pasted it in gmail. Here's a link to the git diff: http://devio.us/~loganaden/memcached.git.diff This makes some sense to me. That

Re: REST API

2010-07-31 Thread dormando
On Thu, 29 Jul 2010, j.s. mammen wrote: Folks, lets not get bogged down by REST defined by Roy Fielding in 2000. My question was simple. Here it is again, rephrased. Do we need to implement a memcached layer whereby we can access the cached objects by using HTTP protocol. Here is an

Re: Using PCIe SSDs instead of RAM

2010-07-25 Thread dormando
On Fri, Jul 23, 2010 at 8:47 AM, dormando dorma...@rydia.net wrote: I tried. Try the engine branch? I guess, I'll have to at some point. Just wanted to say, that LRU was designed as an algorithm for a uniform cost model, where all elements are almost equally important (have

Re: Using PCIe SSDs instead of RAM

2010-07-25 Thread dormando
On Sun, 25 Jul 2010, Jakub Łopuszański wrote: Thanks for an explanation. I see that we have entirely different points of view, probably caused by totally different identified sets of bottlenecks, different usage, different configurations etc (I assume that you have greater experience,

Re: Using PCIe SSDs instead of RAM

2010-07-23 Thread dormando
without risking that the old cluster will run of memory. Again monitoring evictions can not reliably tell you how many machines can you remove from the cluster, while monitoring memory gives you perfectly accurate info. On Fri, Jul 23, 2010 at 12:12 AM, dormando dorma...@rydia.net wrote

Re: Using PCIe SSDs instead of RAM

2010-07-22 Thread dormando
http://code.google.com/p/memcached/wiki/NewServerMaint#Looks_Can_be_Deceiving Think I'll write a separate page about managing memory, based off of the slides from my mysqlconf presentation about monitoring memcached... We're not ignoring you, the patch is against what the LRU is designed for.

Re: new Cache::Memcached::libmemcached/Memcached::libmemcached releases

2010-07-21 Thread dormando
Huzzah! On Mon, 19 Jul 2010, Patrick Galbraith wrote: Hi all! I'm pleased to announce the release of Cache::Memcached::libmemcached 0.02011 and Memcached::libmemcached 0.4201. Cache::Memcached::libmemcached uses Memcached::libmemcached, which is a Perl wrapper for libmemcached, which is

Re: Get multi error - too many keys returned

2010-07-21 Thread dormando
with the protocol. Or the client's just buggy... Sorry, don't have any ideas about what it could be in particular. make sure you're sending keys that don't have newlines/spaces/etc in them and that you're not clobbering the object somehow. -Dormando

Re: [PATCH] to make memcached drop privileges completely when running as root

2010-07-20 Thread dormando
. //Logan C-x-C-c On Tue, Jul 20, 2010 at 2:38 AM, dormando dorma...@rydia.net wrote: Greetings, We are a small company who are increasingly relying on memcached for our big projects. We are very pleased with its performance. I've put

Re: [PATCH] to make memcached drop privileges completely when running as root

2010-07-20 Thread dormando
to gain the jail benefit ? //Logan C-x-C-c On Tue, Jul 20, 2010 at 10:24 AM, dormando dorma...@rydia.net wrote: You don't need to run memcached as root to do that, you need to *start* it as root. If you look just under the setrlimit

Re: I get 'Could NOT connect to memcache server' sometimes even when server is up

2010-07-12 Thread dormando
On Mon, 12 Jul 2010, Snehal Shinde wrote: I am using the stable 2.x one. I have set the timeout to 3 secs now. Lets see how that goes Snehal You might want to stick with 2 or 4 seconds to test :) putting it right on the line with the SYN timeout will still give you inconsistent results...

Re: I get 'Could NOT connect to memcache server' sometimes even when server is up

2010-07-12 Thread dormando
switched to 4 secs now. also if its a packet loss issue will it make sense to reduce the $retry_interval from the default 15 secs to say 2 secs? http://us2.php.net/manual/en/memcache.setserverparams.php also the error that i get intermittenly is COULD NOT CONNECT TO SERVE. Is there a way

Re: I get 'Could NOT connect to memcache server' sometimes even when server is up

2010-07-11 Thread dormando
On Sun, 11 Jul 2010, Snehal Shinde wrote: Yes Jay is right. My server and client config are in sync. The problem is only intermittent and so i felt maybe increasing the default timeout might help. Any idea how i can increase the default memcache timeout for the php client Memcache? I

Re: What performance should I expect?

2010-07-09 Thread dormando
is otherwise overloaded. also depending on how you're measuring it your client box/etc could be slightly broken. -Dormando

Re: Disappearing Keys

2010-07-06 Thread dormando
On Thu, Jul 1, 2010 at 12:28 PM, dormando dorma...@rydia.net wrote: Dormando... Thanks for the response. I've moved one of our servers to use an upgraded version running 1.4.5. Couple of things:  *  I turned on logging last night  *  I'm only running -vv at the moment

Re: LRU mechanism question

2010-07-06 Thread dormando
Here's a more succinct and to the point page: http://code.google.com/p/memcached/wiki/NewUserInternals ^ If your question isn't answered here ask for clarification and I'll update the page. Your problem is about the slab preallocation I guess. On Tue, 6 Jul 2010, Matt Ingenthron wrote: Hi

Re: Adding/Removing order of instances from a consistent array

2010-07-04 Thread dormando
Hi guys, I was wondering, If I have an array of 10 machines , 1 instance per machine set up like this: instances = array( server1 = array(host = 111.111.111.111, port = 11211, weight = 6), server2 = array(host =

Re: Scalability and benchmarks

2010-07-01 Thread dormando
; I don't really care for a rebuttal, I'm sure everyone's working on fixing their problems :P -Dormando

Re: Disappearing Keys

2010-07-01 Thread dormando
Dormando... Thanks for the response. I've moved one of our servers to use an upgraded version running 1.4.5. Couple of things: * I turned on logging last night * I'm only running -vv at the moment; -vvv generated way more logging than we could handle. As it stands we've generated ~6GB

Re: Scalability and benchmarks

2010-06-30 Thread dormando
anyone listening to the FUD would be one of them. -Dormando

Re: Scalability and benchmarks

2010-06-30 Thread dormando
requests/second even on higher grade hardware with multiple interfaces sounds pretty good to me. For most hardware memcached is limited by the NIC. I'd welcome someone to prove a simple case showing otherwise, at which time we'd prioritize an easy fix :) -Dormando

Re: Scalability and benchmarks

2010-06-30 Thread dormando
For most hardware memcached is limited by the NIC. I'd welcome someone to prove a simple case showing otherwise, at which time we'd prioritize an easy fix :) Does that mean you should use multiple NICs on the servers and spread the clients over different networks? It means you probably

Re: Disappearing Keys

2010-06-27 Thread dormando
Any thoughts on what might be going on here? As for vitals/system config: Here's a recent stats dump: STAT pid 19986 STAT uptime 8526687 STAT time 1277416425 STAT version 1.2.8 You should probably upgrade, but I think this version has what you may need... If you can reproduce this

Re: same key on both memcached servers

2010-06-20 Thread dormando
This smells like you're configuring your clients wrong... The client list must be _exactly the same_ on every app server. Don't reorder them or put localhost in there. It's also possible that appserv2 can't reach one of the memcached daemons as well, and is putting keys on the only available

Re: Suggestions for deferring DB write using memcached

2010-06-03 Thread dormando
We're building a system with heavy real-time write volume and looking for a way to decouple db writes from the user request path. We're exploring the approach of buffering updated entities in memcached and writing them back to the database asynchronously. The primary problem that we're

RE: Global Lock When Getting Stats?

2010-05-18 Thread dormando
Actually sorry I should've been more descriptive. I plan on using a java client to get the stats from memcached so that we can eventually pipe the stats to our monitoring software. What would be the best java client? Spymemcached? Probably, yes. Also, is there any consideration in the

RE: Global Lock When Getting Stats?

2010-05-17 Thread dormando
team that explains the monitoring aspects of memcached? Such as the methods of receiving stats (if there are any aside from getStats())? -Original Message- From: memcached@googlegroups.com [mailto:memcac...@googlegroups.com] On Behalf Of dormando Sent: Thursday, May 13, 2010 4:57 PM

Re: Global Lock When Getting Stats?

2010-05-13 Thread dormando
stats commands. That bug hasn't existed for three years at least. -Dormando

Re: Cacti templates

2010-04-20 Thread dormando
Ding. You have access. On Tue, 20 Apr 2010, Xaprb wrote: Can someone give me SVN commit rights so I can add a reference to http://code.google.com/p/mysql-cacti-templates/wiki/MemcachedTemplates to the wiki? My Google Code username is baron.schwartz. - Baron -- Subscription settings:

Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-17 Thread dormando
STAT version 1.2.8 Consider upgrading to 1.4.x ;) STAT curr_items 25 You have at most 25 items in your cache. that sounds pretty small. STAT bytes 130845 Yeah, that's 128k. Your app's just not using the cache very much. -Dormando -- Subscription settings: http://groups.google.com/group

Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-17 Thread dormando
On Sat, 17 Apr 2010, wminside wrote: I get memcached from the EPEL repository. Can I set a higher current items? I mean, is there anything I can do to get memcached use more memory or it's just how vBulletin works. Go whine at the vB authors about putting some real shit into the cache. vB

preview of new wiki

2010-04-11 Thread dormando
I/we're open to feedback. if you would like to contribute too, ask for wiki bits. If you're going to complain, we (or you) might as well fix it. It's our goal to make this clear and thorough for anyone who wishes to get started with memcached. -Dormando -- To unsubscribe, reply using remove me

Re: sporadic high max response times and client timeout strategies

2010-04-07 Thread dormando
(ruby or whatever, just no libmemcached) over localhost to see if you can reproduce the issue there. thanks, -Dormando On Wed, 7 Apr 2010, Ryan Tomayko wrote: We have a few memcached machines doing ~1000 ops/s (9:1 get to set) each. These are fairly beefy, non-virtualized, 8-cpu servers with ~14G

Re: Read expires?

2010-04-07 Thread dormando
I thought this was a FAQ -- or at least I have memory of this being discussed here before. I have one process that uses memcached for throttling by setting a key with a timeout.  If the set fails (NOT_STORED, as the FAQ describes) then the process waits. The question came up yesterday at

Memcached release 1.4.5

2010-04-03 Thread dormando
, and are stabilizing 1.6.0 for release. More of the rest of the open bugs will be closed out for 1.4.6. A number of us will be at MySQLConf (http://en.oreilly.com/mysql2010/) next week. Speaking, dotorg-boothing, or getting drunk in the lobby. Come say hi if you're brave enough. -Dormando

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-18 Thread dormando
that in a pinch you could just shut off DB journaling to deal with some overload scenario. -Dormando

Re: segfault on FC8

2010-03-18 Thread dormando
Hi, I'm getting segfault just after running the memcached n Fedora 8, runnin in the VMWare. I just run # /usr/local/bin/memcached -u gri -m 1 -v in one console # telnet localhost 11211 in another, and in the 1st get endless flow of Catastrophic: event fd doesn't match conn fd! lines.

Re: Memcache as session server with high cache miss?

2010-03-13 Thread dormando
. Refreshes and able to access the page again (logged in). On Mar 13, 1:35 pm, dormando dorma...@rydia.net wrote: Can you telnet to the instances, type stats, stats items, and stats slabs, then copy/paste all that into pastebin? echo stats | nc host 11211 stats.txt works too You

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-13 Thread dormando
with your backup thing I'd probably still add an option to allow it to journal to a database, and I say this knowing how to get every last ounce of efficiency out of memcached. -Dormando

Re: reusing sockets between Perl memcached objects

2010-03-12 Thread dormando
We discovered this as well a few months ago... I don't think we found a workaround :( Maybe someone else has? On Fri, 12 Mar 2010, Jonathan Swartz wrote: We make liberal use of the namespace option to Cache::Memcached::libmemcached, creating one object for each of our dozens of namespaces.

Re: Memcache as session server with high cache miss?

2010-03-12 Thread dormando
Here is our current setup: webserver1 (also runs session memcache server) webserver2 (also runs session memcache server) database (specialized memcache storage for data caching) We are not really a high loaded site, at peak time only about 1500 users online together. Network is not really

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-12 Thread dormando
the whole thing. -Dormando

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-12 Thread dormando
The memory allocation is a bit more subtle... but it's hard to explain and doesn't really affect anyone. Urr... I'll give it a shot. ./memcached -m 128 ^ means memcached can use up to 128 megabytes of memory for item storage. Now lets say you store items that will fit in a slab class of

Re: Memcache as session server with high cache miss?

2010-03-12 Thread dormando
session again, or did you app log them in again? -Dormando On Fri, 12 Mar 2010, TheOnly92 wrote: I'm retrieving statistics via Memcache::extendedStats function, here are the basics: Session Server 1 Version 1.2.2 Uptime398,954 sec Cache Hits2,065,061 Cache Misses 987,726

Re: does memcached fasten web server?

2010-03-08 Thread dormando
Hi, I do simple benchmark on my web server by issuing 50 queries. I send 10,000 request and it shows by using memcached is slightly slower than (or almost the same) without memcached. The result shows 216.29 request per second for memcached enabled and 216.51 for memcached disabled. However,

Re: Compiling memcached for Linux Power pc64

2010-03-08 Thread dormando
Hi Guys, I'm trying to compile memcached-1.4.4 in my IBM P550 machine running Linux RHE for Power PC64, but I'm getting the error: memcached-1.4.4]# ./configure checking build system type... Invalid configuration `powerpc64-unknown- linux-': machine `powerpc64-unknown-linux' not

Re: MTU

2010-03-03 Thread dormando
Hi there I am experimenting with using memcache for storing PHP sessions in a www cluster environment. But due to latency in network, I have noticed slight performance drop in application as opposed to just direct access. Has anyone played with changing MTU on their network card to

Re: Memcached set is too slow

2010-03-01 Thread dormando
: 76982: 2.532011750 0.099864927 poll({9/ POLLIN},1,-1) = 1 (0x1) On Feb 28, 3:41 am, dormando dorma...@rydia.net wrote: How are you performing the test? Is memcached over localhost or over the network? If you can reproduce this in isolation I'd be curious to see what memcached

Re: Memcached set is too slow

2010-02-27 Thread dormando
How are you performing the test? Is memcached over localhost or over the network? If you can reproduce this in isolation I'd be curious to see what memcached and/or php are waiting on that takes so long (via strace or similar). On Wed, 24 Feb 2010, me from wrote: Adam we are on freebsd 7.2, as

Re: Memcached used so little memory and CPU

2010-02-27 Thread dormando
Hi, I have huge Vbulletin Forum and i am trying now memcached as i was using Xcached before. But i wonder why Memcached using so little memory and CPU. And does not reduce the load much compare to Xcache? This is my screenshots showing memcached static: http://i45.tinypic.com/2eqcqck.png

Re: Fix for Cache::Memcached breakage w/ unix domain support caused by IPv6 changes.

2010-02-20 Thread dormando
Er, I'm heading out the door atm, I'll get it when I get back in a few hours. Thanks for the patch! On Sat, 20 Feb 2010, Nathan Neulinger wrote: Haven't heard anything back on this... any chance of getting this patch applied to the CPAN perl module for memcached? Brad indicates that he no

Re: Memcached and EC2

2010-02-12 Thread dormando
. Don't recall if that was ever fixed or properly tested, but the complaining user had his performance problems go away when he stopped using that. I assume pecl/memcached isn't quite that stupid, but someone might want to verify for PHP's sake. -Dormando

Re: Preferred client list?

2010-02-06 Thread dormando
perl. Memcached::libmemcached is the actual libmecached-based library. Cache::Memcached::libmemcached is a wrapper around the former to be more compatible with the former-former. Ease migration or whatever. -Dormando On Sat, 6 Feb 2010, Brian Moon wrote: Yeah, I plan to warn them about pecl

Re: get bytes?

2010-01-19 Thread dormando
How're you serializing the list? In cases where I've had to work with that, we ensure the value is a flat list of packed numerics, and run no serialization on them. Then you have the overhead of a network fetch, but testing values within the list is nearly free. -Dormando On Tue, 19 Jan 2010

Re: get bytes?

2010-01-19 Thread dormando
being the same prepend operation. -Dormando On Tue, 19 Jan 2010, jim wrote: At least initially we would use normal java serialization. Since we are talking about using prepend to put the most recent entries in our list, we cannot use gzip anymore since it would not gel with prepending bytes

Re: memcached and access control

2010-01-07 Thread dormando
. Most of the core devs are speed freaks, and the intent of memcached is to supply minimal, if any, access control (or authentication) for speed. That shouldn't stop you from using it as a proper framework if you absolutely must. It's become enough of a standard that we can accept this. -Dormando

Re: memcached and access control

2010-01-07 Thread dormando
http://github.com/memcached/memcached/tree/engine-pu Is it correct branch for the discussion base? http://github.com/trondn/memcached/tree/engine is the tip. engine-pu is ... not quite master yet. -Dormando

Re: memcached and access control

2010-01-06 Thread dormando
on memory, compared to keeping the number of users down or even running multiple instances. -Dormando

Re: memcached and access control

2010-01-06 Thread dormando
It'd be incredibly inefficient on memory, compared to keeping the number of users down or even running multiple instances. Only if you were trying to go all the way down to the item level. It's possible to have groups of slabs that are dedicated to one label/auth or something like that,

Re: Cache::Memcached::GetParserXS

2010-01-05 Thread dormando
to install Cache::Memcached::GetParserXS? You probably want one of the libmemcached wrappers instead. It's not entirely unused but it's essentially abandonware. -Dormando

Re: Dump Cache

2009-12-30 Thread dormando
Dumping Cache is a feature that is discussed in details. I agree that dumping cache to keep it warm may not be the best idea. However, I recently got into the situation where we lost the database and we lost the backup of the database. So, the only thing we had was running memcached (please

Re: Libevent 2.0

2009-12-29 Thread dormando
. Unless you're bigger than facebook, odds are you'll be fine with libevent 1.4 and the default threadcount with memcached. -Dormando

Re: measuring memcache efficiency

2009-12-04 Thread dormando
in the flags section, otherwise the existence of the key itself may be enough data for some things you store. -Dormando

Re: Slow connection and slow response time from memcached server

2009-12-02 Thread dormando
Just to be clear: when you hit max connections, new connections to memcached can/will lag until connections are accepted again. Existing connections won't be slow. On Wed, 2 Dec 2009, head wrote: ok guys, so I am still having this problem we are using php client with persistent connections

Re: Slow connection and slow response time from memcached server

2009-12-02 Thread dormando
It's forking and you're not following children. Just attach to a runing process via strace -p, run it for 5 seconds, ^C, gzip, put it somewhere On Wed, 2 Dec 2009, head wrote: hmm, I started memcached with strace, but the output file is only 6k in size and is not increasing, I mean no data is

Stable release 1.4.4

2009-11-26 Thread dormando
as soon as possible, but we want to not surprise people in the middle of the 1.4 series as much as posssible. Thanks to dustin/matt for the work on this release. -Dormando

Memcached advocacy

2009-11-11 Thread dormando
. Thanks, -Dormando

Re: New memcached homepage!

2009-11-07 Thread dormando
Rabbits :) (fast, `scalable`, stupid). On Sat, 7 Nov 2009, Clint Webb wrote: I like it.   I really like the logo, and I like the banner image of the pack of animals (what are those things?). On Sat, Nov 7, 2009 at 3:39 PM, dormando dorma...@rydia.net wrote: Ah, I forgot to note

Stable release 1.4.3

2009-11-07 Thread dormando
a refresh over november as well. If you have feedback, want to help with documentation, have bugs, etc, you know what to do :) have fun, -Dormando

Re: New memcached homepage!

2009-11-06 Thread dormando
Ah, I forgot to note. The users page is open for requests. If you're a bigish/notable site and would wish to be linked there, let me know by tomorrow! Otherwise I'm picking a bunch out of a hat. Thanks, -Dormando On Fri, 6 Nov 2009, dormando wrote: Coinciding with the release of 1.4.3

Memcached 1.4.3-rc2

2009-11-02 Thread dormando
http://code.google.com/p/memcached/wiki/ReleaseNotes143rc2 Bug reported by Tomash, fixed by trond, reviewed by dustin, and now we have a new tarball. Thanks, and please continue testing :) -Dormando

Re: Using memcached as a distributed file cache

2009-11-02 Thread dormando
You could put something like varnish inbetween that final step and your client.. so key is pulled in, file is looked up, then file is fetched *through* varnish. Of course I don't know offhand how much work it would be to make your app deal with that fetch-through scenario. Since these files are

Re: Using memcached as a distributed file cache

2009-11-02 Thread dormando
You could also redirect the client to the proxy/cache after computing the filename, but that exposes the name in a way that might be reusable. perlbal is great for this... I think nginx might be able to do it too? Internal reproxy. Server returns headers for where the load balancer is to

dormando's awesome memcached top v0.1

2009-10-29 Thread dormando
Yo, I couldn't sleep, so: http://github.com/dormando/damemtop (or: http://consoleninja.net/code/memcached/damemtop-0.1.tar.gz) Early release of a utility I've been working on in the last few days. Yes, sorry, I'm aware this makes /four/ memcached top programs. So, I had to make mine awesome

Last call for 1.4.3 (and apologies for the spam)

2009-10-29 Thread dormando
days while we empty the queue :) If you have any bugs, requests, etc, now's the time to speak up! -Dormando

<    4   5   6   7   8   9   10   >