Re: [libmemcached/libmemcached] Clarify source of truth and maintenance status for libmemcached development (#13)

2021-04-23 Thread 'Brian Aker' via memcached
Hi! Launchpad is the canonical source. There are some patches I have pushed recently and there will probably be a release in the near future. — Brian 乌 > On Apr 22, 2021, at 11:26 AM, Dylan Thacker-Smith > wrote: > > > Is this supposed to be the source of truth for libmemcached

Re: Python Memcached

2017-08-25 Thread Brian Aker
I am not really sure where to go with libmemcached right now. Its design shows the age in which it was built. > On Aug 25, 2017, at 00:52, dormando wrote: > > Pretty sure Frank was asking about server implementations of memcached in > python. > > As per that, I've only ever seen people create

libmemcached version 1.0.18 released

2014-02-09 Thread Brian Aker
Hi! * MEMCACHED_BEHAVIOR_RETRY_TIMEOUT can now be set to zero. * Numerous bug fixes. * Had kid, which caused delay in release Find it here: https://launchpad.net/libmemcached Cheers, -Brian -- --- You received this message because you are subscribed to the Google Groups "memcached"

Version 1.0.17 of libmemcached released

2013-04-02 Thread Brian Aker
Hi! >From the Changelog: * Remove c++ namespace that was being exposed (the API should be plug compatible).. * Fix cases where --servers wasn't behaving the same in all clients. https://launchpad.net/libmemcached Cheers, -Brian -- --- You received this message because you are subsc

Re: Strange behaviour on get-multi over binary protocol

2013-02-19 Thread Brian Aker
s. The noop is then used as an internal marker so that you know >> on the receiving side that you've >> received all of the responses from the server.. >> But I might remember this wrong.. after all its been a few years since I >> last looked at the code. >> >> T

Re: Strange behaviour on get-multi over binary protocol

2013-02-19 Thread Brian Aker
Hi, On Feb 19, 2013, at 12:14 AM, dormando wrote: > Both keys go out okay, but the no-op at the end seems to go out in a > separate packet. I've noticed this on several installs using libmemcached, > verified with tcpdump/etc. I didn't write this part of the binary code, Trond did. I am not su

Re: Strange behaviour on get-multi over binary protocol

2013-02-19 Thread Brian Aker
Hi, On Feb 18, 2013, at 7:11 PM, dormando wrote: > 1) libmemcached requests 2 keys > 2) memcached responds with 1 key > 3) libmemcached sends no-op packet > 4) memcached responds with 2nd key, no-op packet Assuming one server and binary protocol... a single write to the socket would be made fo

Re: Strange behaviour on get-multi over binary protocol

2013-02-18 Thread Brian Aker
Hi, On Feb 18, 2013, at 6:03 PM, Diogo Baeder wrote: > I have no clue why libmemcached does that switch in the middle, but I > understood what you said about not expecting things to happen in an exact > order Are you sure the data is on the same server? Libmemcached responds back with whate

Libmemcached Release 1.0.16

2013-02-01 Thread Brian Aker
Hi! 1.0.16 Thu Jan 31 19:14:32 EST 2013 * Added support to do two part shutdown of socket. * Fixes for Fedora 18. * Fix for binary memcached_touch() Cheers, -Brian -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from

Version 1.0.14 of Libmemcached Released

2012-11-15 Thread Brian Aker
Hi! From the Changelog: * CLIENT_ERROR fixed to not be treated as a fatal error. * Compiler fixes for older Ubuntu releases. https://launchpad.net/libmemcached/1.0 More information at: http://libmemcachd.org/ Cheers, -Brian smime.p7s Description: S/MIME cryptographic signature

Version 1.0.12 Released

2012-10-10 Thread Brian Aker
Hi, From the change log: Added memcached_result_take_value(). Added ax_libmemcached.m4. Minor bug fixes. You can find it here: https://launchpad.net/libmemcached Cheers, -Brian

Version 1.0.11 of Libmemcached Released

2012-09-19 Thread Brian Aker
Hi! * Removed custom version of memcached. * Updated hardening rules. * Fixed a case where the return error from a socket connection differred from that of a TCP/IP socket. http://launchpad.net/libmemcached/ Cheers, -Brian smime.p7s Description: S/MIME cryptographic signature

Re: Does libmemcached Have MYSQL Support

2012-08-24 Thread Brian Aker
Hi, You can write callback functions in libmemcached so that upon cache miss it will fetch data/populate Memcached. Cheers, -Brian On Aug 24, 2012, at 1:53 PM, Xun TANG wrote: > Thanks for the fast reply. > > I understand that memcached is a cache server, and mysql is a db server. >

Re: [URGENT][HELP] Need help with libmemcached

2012-08-04 Thread Brian Aker
Hi! On Aug 4, 2012, at 7:56 AM, Sourabh Chandak wrote: > I am trying to build a standalone program to connect to memcached server and > use the key-value technology of it. I want to code STRICTLY in C. I get a > undefined reference error when I use the method memcached(memcache_st *, int). Yo

Re: Issue 281 in memcached: Cant store \Memcached objects in global variables

2012-07-22 Thread Brian Aker
Hi, This is fixed in trunk (possibly 1.0.10 as well). Cheers, -Brian On Jul 22, 2012, at 11:21 AM, memcac...@googlecode.com wrote: > Status: New > Owner: > Labels: Type-Defect Priority-Medium > > New issue 281 by sma...@gmail.com: Cant store \Memcached objects in global > variabl

Re: [Memcached][Replica] First get after a node failure

2012-06-08 Thread Brian Aker
Hi, Does this happen if you are not using binary mode? I would also look at the latest version, 0.51 is a bit old. Cheers, -Brian On Jun 6, 2012, at 6:05 PM, Nicolas Motte wrote: > Hi, > > I went through all the libmemcached code (v0.51). > I wrote down a simple test to check I under

Version 1.0.8 of libmemcached released

2012-05-23 Thread Brian Aker
Hi! Added support for setting options via ENV variable LIBMEMCACHED. Fix corner case on last used result. Bug fixes. http://launchpad.net/libmemcached Cheers, -Brian signature.asc Description: Message signed with OpenPGP using GPGMail

Version 1.0.7 of Libmemcached Released

2012-04-28 Thread Brian Aker
Hi! Changelog: * Add API call for exist calls. * Update all license files to be BSD. http://launchpad.net/libmemcached Cheers, -Brian signature.asc Description: Message signed with OpenPGP using GPGMail

Version 1.06 of libmemcached released

2012-04-10 Thread Brian Aker
Hi, You can find new versions at http://launchpad.net/libmemcached From the Changelog: * Fixes for gcc 4.7, lp:961812 * Fix for restart issue that happens under testing. * Fix for lp:962815. * Support for transparent AES encryption. Cheers, -Brian signature.asc Description: Message sign

Libmemcached 0.28 Released

2012-01-27 Thread Brian Aker
Hi! * Fix for memcached_dump(). * Additional testing for memcached_stat_execute(). Minor release for most. http://libmemcached.org/ Cheers, -Brian signature.asc Description: Message signed with OpenPGP using GPGMail

Libmemcached Version 1.0.3 Released

2012-01-10 Thread Brian Aker
Hi! * Increased size of sort buffer used during Ketama. * Added support for new behavior to handle dead servers. * Overall haul of UDP IO. * Fixed C compile issue with memcached_exist() * Numerous bug fixes. * Clang support for OSX. * All commands now using vector send support. http://libmemcache

Re: benchmarking memcached / low performance

2011-12-14 Thread Brian Aker
Hi, On Dec 14, 2011, at 8:11 PM, dormando wrote: > Unless your application *needs* to run a single thread and hit memcached > in a loop without issuing multigets or multisets (no_reply), your test To elaborate on this. While batch all of the SET/GET/MGET will be packed up while being sent. A

Re: benchmarking memcached / low performance

2011-12-13 Thread Brian Aker
Out of the box the default settings for the library may not be what you want. What is the size of the workload you are sending? Sent from my TI85 On Dec 13, 2011, at 13:10, dormando wrote: >> I'm running: Linux AS292 2.6.38-13-generic #52-Ubuntu SMP Tue Nov 8 >> 16:53:51 UTC 2011 x86_64 x86_64

1.0.2 Release of Libmemcached

2011-10-26 Thread Brian Aker
Hi, 1.0.2 Mon Oct 24 08:00:48 PDT 2011 * Dropped libmemcached/memcached_util.h (undocumented header file) * Added memcached_touch() and memcached_touch_by_key() * UDP support restructured to toggle on a complete memcached_st structure. http://libmemcached.org/ Cheers, -Brian

1.01 Release of libmemcached available for testing

2011-10-14 Thread Brian Aker
Hi! If you have a free moment, please download and test against your own applications/wrappers what is in lp:libmemcached. This is the same interface with the caveat that except for the memcached.h and until.h files there were being installed in libmemcaced/, all of the other include files are

Re: libmemcached C library and key expiration

2011-10-07 Thread Brian Aker
Hi! On Oct 7, 2011, at 4:14 AM, Vladut Paiu wrote: > Thanks very much for the answers. > Any idea when this feature will make it in an official release of > libmemcached ? I'd say next week. We are going to roll out the 1.0 RC and this will be in it. Cheers, -Brian

Re: libmemcached C library and key expiration

2011-10-06 Thread Brian Aker
memcached_touch() is currently in lp:libmemcached/build On Oct 6, 2011, at 4:35 PM, dormando wrote: >> Hello all, >> >> Nice to be a part of the memcached community. >> >> Is there any way, using the current libmemcached library, to >> dynamically assign expiration to certain keys ? >> What I

Re: Multi-get getting stuck

2011-09-29 Thread Brian Aker
Hi! On Sep 29, 2011, at 2:30 PM, Prasad wrote: > And so with this fix does the client call a fetch after a small chunk > of multigets are reached inherently? Since I don't call the fetch till > I return from the mget API call. There is a water mark that causes the mget to go multi if it is too l

Re: Multi-get getting stuck

2011-09-29 Thread Brian Aker
Hi! On Sep 29, 2011, at 2:07 PM, dormando wrote: > Still, I thought this was fixed already. As a workaround you can chunk > your multigets into smaller sections, but I thought that the client did > support it It does, so I would wonder how many total key requests are being sent. Cheers, -Br

Re: Multi-get getting stuck

2011-09-29 Thread Brian Aker
Hi! On Thu, Sep 29, 2011 at 7:47 AM, Prasad wrote: > I am trying to use mget() to get multiple data pieces using the C++ > API. When it works the performance difference is great. > Is this the one in libmemcached? If so use the C API. The C++ API is just there for a couple of folks who wanted

Version 0.53 of libmemcached released

2011-09-29 Thread Brian Aker
Hi! * Fix for FreeBSD/OpenBSD and -lm * Added memcached_exist() * Fix for memory when using config test. * CLI gained --quiet http://libmemcached.org/ Blog post on memcached_exist() -> http://blog.krow.net/post/10549707127 Cheers, -Brian

Re: How to identify by name memcached instances?

2011-09-20 Thread Brian Aker
Inside of libmemcached we server:port Unless you are doing some bind trickery that should work for you. Sent from my C64 On Sep 16, 2011, at 3:41 PM, Claudio Redi wrote: > What if I have several instances running on the same machine? > > On Sep 16, 4:40 pm, Boris Partensky wrote: >> Use CNA

Re: memory release problem of memcached_get

2011-09-15 Thread Brian Aker
Hi! You should look at the manpage on memcached_get() to understand its behavior (and it does allocate memory and you are expected to deallocate it). http://docs.libmemcached.org/memcached_get.html Look at memcached_fetch_result() if you are wanting to use an interface that will handle the cle

Libmemcached Version 0.52 Released

2011-09-13 Thread Brian Aker
Hi! Version 0.52 released. * Build fixes for Ubuntu/Suse. * Fixes for OSX Lion. * Bug fix for looping back through dns lookups under certain failures. * Fixes related to dead server failures. http://launchpad.net/libmemcached/1.0/0.52/+download/libmemcached-0.52.tar.gz Cheers, -B

Re: libmemcached's memcached_error_t struct

2011-09-09 Thread Brian Aker
Hi! On Sep 5, 2011, at 10:05 AM, lericson wrote: > But there is to my knowledge no documentation of this API, and in fact the > author copy-pasted code from internals, so am wondering what the state of > this feature is? I'll push up a doc to the docs site for memcached_last_error_message() to

Re: Can't connect to memcached when it is restarted!

2011-08-30 Thread Brian Aker
You can modify behaviors around reconnect, look at behaviors on docs.libmemcached.org Calling memcached_quit on the _St will cause a reset. Sent from my C64 On Aug 29, 2011, at 11:33 PM, 然 安 wrote: > Hi,all: > I use libmemcached as the client and create a memcached_st instance > to

Re: Can anyone tell me the benifit of libmemcached pool?

2011-07-29 Thread Brian Aker
BTW it works out well for non-threaded applications as well, since it is a pretty easy API to use for just caching the connection between page calls (i.e. and application running in Apache) On Jul 29, 2011, at 12:45 PM, Trond Norbye wrote: > You would use a pool of libmemcached instances in you

Re: Libmemcached 0.51 Released

2011-07-26 Thread Brian Aker
Hi! I just upgraded to Lion on my laptop as well and hit the same issues. I believe I have all of them resolved now. If that is the case I'll post a .52 for Lion. Cheers, -Brian On Jul 26, 2011, at 6:10 AM, lericson wrote: > Hi Brian, > > I'm the author of pylibmc and I had some issue

Libmemcached 0.51 Released

2011-07-24 Thread Brian Aker
Hi! 0.51 has been released. * memcached_callback_set() now takes its data argument as const * Update to tests. * Fix in parser for port number. You can find out more about libmemcached at http://libmemcached.org You can find a tarball here: https://launchpad.net/libmemcached/+download Che

Re: Memcached in different regions

2011-07-04 Thread Brian Aker
Hi! On Jul 4, 2011, at 3:41 AM, TV Ganesh wrote: > Hi, > I am using a set of 4 memcached servers with libmemcached. I am > finding that when memcached gets are across regions then the latency > increases significantly. Is there a way out of this? > Here is a couple of things you can try to d

Version 0.50 of libmemcached Released

2011-06-20 Thread Brian Aker
Hi! The highlights: * Updates to C++ interface . * Custom free allocators need to now check for value before calling free. * memcached_fetch_result() now uses the internal result when available (about 25 to 50% faster). * Fix for stats structure. * Updates to documentation. You can find the

Re: 3 second delay on get

2011-05-23 Thread Brian Aker
Do you have a test case with data? BTW I would upgrade to a much more recent version then 0.31. On May 23, 2011, at 1:30 PM, Antonio wrote: > Hello! > > I'm seeing seeing a very small (but significant) percentage of our memcache > get() requests taking just over 3 seconds to execute (about 3.

Re: where to store server list

2011-05-19 Thread Brian Aker
Hi! On May 5, 2011, at 4:20 PM, Offspring2099 wrote: > The problem I ran into was how to keep the server list homogeneous, > which leads into "where to store server list"? I've seen a few If your client is based on libmemcached you can specify a file that it will load. Currently the only strat

Re: What's new in memcached (part 2)

2011-04-18 Thread Brian Aker
Hi! On Apr 11, 2011, at 12:01 PM, Trond Norbye wrote: > Intentionally, there is no significant difference in protocol over > 1.4.x. There is one minor change, but it should be transparent to > most users. What is the change? When doing a diff I could one change in an ENUM, and also the additio

0.49 libmemcached Released

2011-04-18 Thread Brian Aker
Hi! We have released version 0.49 of libmemcached. This version has part one of two of the new configuration work. You can find an example of it here: http://docs.libmemcached.org/libmemcached_examples.html There has been a lot of updates to the documentation, http://docs.libmemcached.org/, and

Memcached Tutorial in Santa Clara at the MySQL User's Conference

2011-03-30 Thread Brian Aker
Hi! If you find yourself interested in scaling Memcached and want to know a bit more about scaling and working with it, Alan and I will be giving a tutorial on it at the MySQL User's Conference: http://en.oreilly.com/mysql2011/public/schedule/detail/17957 Hope to see you there, -Brian

Re: membase support ? (undocumented protocol changes?)

2011-03-29 Thread Brian Aker
Hi! On Mar 29, 2011, at 11:44 AM, Dustin wrote: > May), and it's consistent with my blog post from last June. There's Your blog is not the mailing list, and assuming everyone reads your blog is a stretch. > experiment on new things. I like to think there is, but feedback is > minimal here,

Re: [Libmemcached-discuss] membase support ? (undocumented protocol changes?)

2011-03-29 Thread Brian Aker
Hi! On Mar 29, 2011, at 2:06 PM, Trond Norbye wrote: > I don't see it as that big problem that we've got an actual implementation we > may discuss, instead of sitting down discussing every tiny little bit up > front. We did that for the rget commands, and AFAIK no one has ever provided > an im

Re: [Libmemcached-discuss] membase support ? (undocumented protocol changes?)

2011-03-29 Thread Brian Aker
Hi Tarek! (ant the rest of the Memcache community!) If you look in lp:libmemcached/build you will find a tree with virtual bucket support in it (with support for fail over/etc). Replication is something we already support. "Virtual Buckets" is a feature I called "wheel" that I removed a coup

Re: Setting and getting values

2011-03-24 Thread Brian Aker
Hi! On Mar 22, 2011, at 4:44 AM, TV Ganesh wrote: > rc= memcached_server_push(memc, servers); > rc= memcached_flush(memc, 0); There is no need to call flush here unless you mean to remove all of the data from the servers. > test_true(rc == MEMCACHED_SUCCESS); > > rc= memcached_set(memc, ke

Re: Compile error with string.h

2011-03-23 Thread Brian Aker
Hi! What header files did you require? Cheers, -Brian On Mar 22, 2011, at 12:01 AM, TV Ganesh wrote: > Hi, > I am getting a compile error in string.h. I think the problem is > with LIBMEMCACHED_LOCAL and the way it needs to be set using > visibility.h. Could any tell me if I need to

Re: list command

2011-03-21 Thread Brian Aker
Hi! On Mar 20, 2011, at 8:19 PM, Roberto Spadim wrote: > there's a list command to return all 'keys names' in cache? memdump --help Cheers, -Brian

Re: php_memcached.dll for PHP 5.3.5

2011-03-19 Thread Brian Aker
Hi! On Mar 19, 2011, at 6:14 PM, Ren wrote: > I don't think libmemcached has been ported to windows and/or Visual C If you look around you will find a binary. It has been made to work several times, and I believe the current version will compile via mingw. Cheers, -Brian

0.48 Release of Libmemcached

2011-03-16 Thread Brian Aker
Hi! Minor release: * Fix memory leak in server parse. * Move test framework out to be its own library (easier to work with Gearman). The next version coming out will most likely be 1.0. Yes, it is hard to imagine but the interface will be frozen. I am going to be working on a 2.0 version a

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Brian Aker
Hi! On Mar 3, 2011, at 11:18 AM, Felipe Cerqueira wrote: > About your question, its really wont replicate the data if fails on > first server. You can see it on the source code of libmemcached: > > See: http://goo.gl/JSSro > > I dont like this behaivor too. I'd take a patch to change this beha

Re: libmemcache: memcached_behavior_number_of_replicas working?

2011-03-03 Thread Brian Aker
Hi! On Mar 3, 2011, at 5:12 PM, Bill Moseley wrote: > But, then when I exit the program (closing the connection) the LAST key I > wrote gets written to the replicant(s). I explained this on the libmemcached mailing list but I will comment do a short comment on it here as well. Libmemcached wi

0.47 Released

2011-02-28 Thread Brian Aker
0.47 Wed Feb 23 18:46:48 PST 2011 * Additional fixes for OpenBSD. * Bug fix 677609, 456080. * SIGPIPE fix for Linux send(). * memcapable can now test ascii or binary based on flags. * Additional build fixes for SASL. http://launchpad.net/libmemcached/1.0/0.47/+download/libmemcached-0.4

Version 0.46 of libmemcached Released

2011-02-15 Thread Brian Aker
Hi! 0.46 has been released. It fixes a number of corner case bugs. It fixes related to OpenBSD. Better testing for protocol version. Removes special case infinite wait on blocking setup. This also includes support for systemtap which was added in unpublished 0.45 release. http://launchpad.net

0.44 of libmemcached Released

2010-09-27 Thread Brian Aker
Hi! 0.44 Wed Sep 22 21:57:57 PDT 2010 * Windows bug fixes. * Hudson port support in test harness. * Improved portability of test hanrness. * SASL fixes. http://launchpad.net/libmemcached/1.0/0.44/+download/libmemcached-0.44.tar.gz Cheers, -Brian

Version 0.43 Release for libmemcached

2010-07-29 Thread Brian Aker
Hi! * Added --args to memstat so that a greater range of values can be returned. * Prelimanary support for Windows. * memcached_stat_execute() merged. http://download.tangent.org/libmemcached-0.43.tar.gz Cheers, -Brian

Re: Force memcached to write to all servers in Pool for reliability

2010-05-23 Thread Brian Aker
Hi! On May 23, 2010, at 3:11 PM, Jay wrote: > What is common sense to do in this case, when certain keys need to be > stored on ALL servers for reliability For libmemcached turn on replica, and set it to the number of hosts you have. Cheers, -Brian

Re: Sample C code for beginner

2010-05-19 Thread Brian Aker
Hi! I would suggest to look at tests/mem_function.c in the source tarsal. You may also want to look at the code in memcpy.c There is also the man page "libmemcached_examples" Cheers, -Brian On May 17, 2010, at 8:23 AM, ram wrote: > I am an absolute beginner with memcached & libmemcac

libmemcached 0.40 has been released

2010-04-22 Thread Brian Aker
Hi! * Placed retry logic in for busted resolvers * Add an ignore for SIGPIPE to solve OSX issues. * A couple of fixed for memcached_light server. * Update to debug mode to track io_wait The main reason to update to this version is have you have flaky DNS servers libmemcached will handle

Libmemcached 0.39 Released

2010-04-06 Thread Brian Aker
Hi! http://libmemcached.org/ http://download.tangent.org/libmemcached-0.39.tar.gz * Add support for prefix keys to binary protocol. * Remove the undocumented call memcached_server_remove(). * The undocumented call memcached_server_by_key() now returns const. * memcached_server_error_reset()

Re: Release 0.38 of libmemcached

2010-02-13 Thread Brian Aker
Hi! On Feb 13, 2010, at 11:52 AM, diegomsana wrote: > that new libmemcached 0.38 has backwards imcompatibility and that they > are working on version 2.0 which will be compatible. I am going to modify the const and inline calls to be a bit more compatible. I'll see what Andrei has planned. Ch

Re: Release 0.38 of libmemcached

2010-02-12 Thread Brian Aker
Hi! On Feb 12, 2010, at 3:10 AM, diegomsana wrote: > Looking good. However, i couldn't get it working with PHP's memcached > module on Centos 5.4/php 5.3.1 So I found a compiler issue with gcc. I'm cleaning it up (and a few other things) and will release something early next week. Cheers,

Re: Release 0.38 of libmemcached

2010-02-12 Thread Brian Aker
Hi! On Feb 12, 2010, at 3:10 AM, diegomsana wrote: > Is this a libmemcached or PHP's memcached bug? That was a macro which is now an inline. Which version of gcc is that from? Cheers, -Brian

Release 0.38 of libmemcached

2010-02-11 Thread Brian Aker
Hi! From the changelog: * C++ interface for libhashkit. * Modified memcached_set_memory_allocators() so that it requires a context pointer. * memcached_clone() now runs 5 times faster. * Functions used for callbacks are now given const memcached_st. * Added MEMCACHED_BEHAVIOR_CORK. * memslap now

Re: Which Hashing Policy should be used if I have to Add or Remove Servers from Pool periodically

2010-02-02 Thread Brian Aker
Hi! On Jan 28, 2010, at 10:06 PM, nEosAg wrote: > 1. If i changed my Hashing policy to "consistent" then what will be > the impact on code, memecache Data etc. pecl/memcache uses CRC/modular, while libmemcached by default will use "one-at-a-time"/Modula by default. If you switch to crc then the

Re: stats in Cache::Memcached::libmemcached giving corrupted data / crash

2009-12-15 Thread Brian Aker
Hi! In the C library we don't have any reported bugs against that interface. I'm not sure what would be up with the Perl version. Is the only thing required to set this off a call for stats on multiple hosts? Cheers, -Brian On Dec 15, 2009, at 10:41 AM, Jonathan Swartz wrote: > I'm tr

Re: Regarding SASL

2009-10-26 Thread Brian Aker
Hi! On Oct 27, 2009, at 12:09 AM, Dustin wrote: As a bonus, the code already existed. We'd talked about it a long time ago and I built some stuff that worked then, but just got around to cleaning it up enough to go (you can see the commits are from early I had someone ask me about this at t

Re: Does the memcached distribution protocol guarantee the latest item from the cache?

2009-10-24 Thread Brian Aker
Hi! On Oct 25, 2009, at 3:42 AM, ao...@aotto.com wrote: Most client libraries support hashed distribution among multiple servers, but not replication. Any of the drivers based on libmemcached do come with support for replication. Cheers, -Brian

Re: Range Spec Posted to Wiki

2009-09-16 Thread Brian Aker
Hi! On Sep 16, 2009, at 3:39 PM, dormando wrote: I don't fundamentally disagree, but what specifically does doing this fix? From a user/developer's standpoint it adds another place to look for documentation? Wider audience of people can update it, make it more understandable, etc. We h

Re: Range Spec Posted to Wiki

2009-09-16 Thread Brian Aker
Hi! On Sep 16, 2009, at 3:22 PM, Dustin wrote: That's a neat idea. Any objections to having the well-defined protocols live there? I think it is for the best. I believe that we will have to have "something" on the website, but for the main description we can keep it there. Cheers,

Re: Range Spec Posted to Wiki

2009-09-16 Thread Brian Aker
Hi! On Sep 16, 2009, at 2:30 PM, Dustin wrote: a) Should we move other stuff out of doc/ and into the wiki? Yes, or better... put it in Wikipedia. b) Should we go ahead and declare this space reserved by putting the command IDs in the formal binary protocol definition (protocol_binary.

Version 0.32 Release of Libmemcached

2009-09-16 Thread Brian Aker
Hi! I've released the 0.32 version of libmemcached, and the highlights are: • Change of behavior where linger is only modified for no-block and then it is set to zero. • Added Twitter's memcached_server_error() functions. • Fix for OSX compiles in development builds. • Updated C++ interf

Re: web cleanup request for danga.com

2009-07-16 Thread Brian Aker
Hi! Why not just update the wiki on code.google.com? A greater number of people can access/keep that up to date. Cheers, -Brian On Jul 16, 2009, at 9:53 AM, Matt Ingenthron wrote: Based on a discussion on the IRC channel and the mailing list, it seems people aren't finding the

Vendors, the project

2009-07-15 Thread Brian Aker
Hi! There has been a lot recently brought up about vendor interaction with the project, and I wanted to add a few thoughts. My personal take is that seeing vendors show up and offer support/ hardware/services is a good thing. It is a sign of both the growth and health of the project. Th

Re: ANNOUNCE: moxi, a memcached proxy

2009-06-27 Thread Brian Aker
Hi! For a geographical cache the proxy makes sence because latency for the proxy is less then that of the wan. In house? The l1 could be significant (this is part of the reason I am doing the embedded work in libmemcached). Cheers, --Brian On Jun 27, 2009, at 11:17 AM, Michael Shadle

memcached_dump() and memdump

2009-05-19 Thread Brian Aker
Hi! I have added a new command called memcached_dump() to libmemcached. It takes a memcached_st and a callback function as an argument. It will loop through the servers and call the callback function on all of the keys it finds. Because memcached does not guarantee that it will provide a

Re: memcached_quit_server and its implications on keys belonging to that server

2009-04-25 Thread Brian Aker
Hi! On Apr 23, 2009, at 11:52 PM, Nikhils wrote: If I invoke memcached_quit_server API on a specific server, does it mean that keys belonging to that server will be invalidated after this call? Or if I reconnect, will I be able to re-fetch the earlier keys? I am assuming its the latter,

libmemcached 0.28 released

2009-04-15 Thread Brian Aker
Hi! I've released version 0.28 of libmemcached: http://tangent.org/552/libmemcached.html The only changes are a bug fix for _by_key() operations where hosts were evaluating to zero and a fix (again) for the init of a structure for connections. Cheers, -Brian

Re: Issues using memcached_get/set_by_key

2009-04-14 Thread Brian Aker
, -Brian Regards, Nikhils Cheers, -Brian Regards, Nikhils On Tue, Apr 14, 2009 at 7:49 PM, Brian Aker wrote: Hi! I've applied this patch. It should be pushed within the hour. Thanks, -Brian On Apr 14, 2009, at 3:50 AM, Nikhils wrote: Hi Brian, A ca

Re: Issues using memcached_get/set_by_key

2009-04-14 Thread Brian Aker
-Brian Regards, Nikhils On Tue, Apr 14, 2009 at 7:49 PM, Brian Aker wrote: Hi! I've applied this patch. It should be pushed within the hour. Thanks, -Brian On Apr 14, 2009, at 3:50 AM, Nikhils wrote: Hi Brian, A careful perusal of the memcached_mget_by_key() function rev

Re: Issues using memcached_get/set_by_key

2009-04-14 Thread Brian Aker
Hi! I've applied this patch. It should be pushed within the hour. Thanks, -Brian On Apr 14, 2009, at 3:50 AM, Nikhils wrote: Hi Brian, A careful perusal of the memcached_mget_by_key() function revealed the bug. The code was generating the serverid by using the master key first.

Re: announce: memcached-prefix

2009-04-13 Thread Brian Aker
Hi! Dustin and I were talking about adding this sort of command as an option to the protocol description for Memcached. If we could come up with a standard, I would love to add it to libmemcached. Cheers, -Brian On Apr 13, 2009, at 9:26 PM, Mike Panchenko wrote: Interesting... ha

0.27 release of libmemcached

2009-03-30 Thread Brian Aker
Hi! I've released version 0.27 of libmemcached: http://tangent.org/552/libmemcached.html From the Changelog: * Added new UDP fire-forget mode. * Reworked performance for mget() to better make use of async protocol * Cleaned up execution of fetch (just one set of code now) * Fixed Jenkin's

Re: Watch variable Proposal

2009-02-16 Thread Brian Aker
Hi! On Feb 16, 2009, at 1:24 AM, luka8088 wrote: make ajax request hang in background until someone writes something... or, until some variable changes, in this case a loop getting a same Have you looked at Gearman? What you are describing could be implemented as a worker I suspect. Che

Re: New PHP extension for Memcached

2009-02-02 Thread Brian Aker
Please send the patch :) Cheers, --Brian On Feb 2, 2009, at 3:53 AM, "Jones, Richard W" wrote: Hi, I've been testing this new memcached extension that uses libmemcached. The payload flags for compressed and serialized are backwards, the "standard" is for bit 0 to denote serialized and

Re: New PHP extension for Memcached

2009-01-29 Thread Brian Aker
There are a couple of in-house ones I know of as well :) On Jan 29, 2009, at 11:57 AM, pcdinh wrote: Andrei Zmievski, one of key men behind Unicode support in PHP6 has released a new PHP extension for interfacing with memcached via libmemcached library Check it out at http://pecl.php.net/pac

Re: Killed by SIGPIPE using Memcached::libmemcached

2009-01-29 Thread Brian Aker
Hi! On Jan 29, 2009, at 1:48 AM, Trond Norbye wrote: Personally I don't think the library should install a signal handler, because you as a developer might want to trap SIGPIPE We have been asking ourselves this question, aka "Should we optionally add one?". I would love to get some more

Re: Concerns using memcached C API

2008-12-17 Thread Brian Aker
Hi! On Dec 16, 2008, at 11:28 PM, Jitendra wrote: tried with memcached_set_by_key(), memcached_get_by_key() to set and get the key-value, with the master key as (serverip+port). But it is by_key() functions partition based on that key so that items can be grouped onto the same server. It d

Re: Client interop

2008-12-16 Thread Brian Aker
Hi! Take a look at: http://code.google.com/apis/protocolbuffers/ The above is what I am using for most of my projects now. Cheers, -Brian On Dec 16, 2008, at 1:56 PM, Khoa wrote: I have one instance of memcached running. There are two clients, one in C (libmemcached), one in Java (

Re: using memcached with c and python api

2008-12-03 Thread Brian Aker
Hi! Are yo using the PHP wrapper for libmemcached? Cheers, -Brian On Dec 3, 2008, at 1:35 AM, ruturajv wrote: I too faced similar problem, eg using.. PHP addserver('192.168.28.7, 11211); $m->addserver('192.168.28.8, 11211); $m->addserver('192.168.28.9, 11211); for ($i=0; $i<30; $

Re: Consistent hashing (memcached clients) question

2008-11-16 Thread Brian Aker
Hi! On Nov 16, 2008, at 11:06 PM, Dustin wrote: Sure. Do you have a test scenario showing me where I'm not providing the same sequence that libketama does? All I have currently is a test case where it does. Do you have a URL to those results? Cheers, -Brian -- _

Re: a question about memcached

2008-11-11 Thread Brian Aker
Hi! On Nov 12, 2008, at 8:33 AM, Lei Gao wrote: Thanks for your update. Let's see if I want those UDF's to be invoked in my slave db when receiving data changes from the master db, would I have to invoke those functions within a trigger? That is one way to do it. Personally I favor embedd

Re: a question about memcached

2008-11-11 Thread Brian Aker
Hi! On Nov 12, 2008, at 5:49 AM, Matt Erkkila wrote: So the SQL would look something like: UPDATE users SET password = ('somepass') EXPIRE memcachekey1, memcachekey2 You can use the memcached UDF's for MySQL to do the same operation. You don't need to rewire the parser to get this sort of

Re: Generic protocol for message queues

2008-11-07 Thread Brian Aker
Hi! Just something else to throw into the equation: http://gearmanproject.org/doku.php?id=protocol This is the protocol as outlined by Gearman. A few of us are reworking it at the moment, but keeping backwards compatibility with the current version. Cheers, -Brian On Nov 8, 2008,

Re: Zeroconf memcached

2008-10-03 Thread Brian Aker
Hi! On Oct 3, 2008, at 12:40 PM, Dustin wrote: adding a command to get the current known server list. I'm wondering if its more practical to have another server whose job is to maintain this list and provide hooks for things that want to react to changes Another server would require yet ano

Re: October Hackathon in Menlo Park, CA: October 12?

2008-09-11 Thread Brian Aker
Hi! The current release of libmemcached does support the binary protocol (thanks go to Trond). Cheers, --Brian On Sep 11, 2008, at 6:53 PM, "Toru Maesaka" <[EMAIL PROTECTED]> wrote: Hi! I've updated the wiki. Does anyone else have proposed areas to focus on in this hackathon? Per

  1   2   >