Skip to content

Releases: killme2008/xmemcached

xmemcached 2.3.0

28 Feb 07:23
Compare
Choose a tag to compare

Maven:

<!-- https://mvnrepository.com/artifact/com.googlecode.xmemcached/xmemcached -->
<dependency>
    <groupId>com.googlecode.xmemcached</groupId>
    <artifactId>xmemcached</artifactId>
    <version>2.3.0</version>
</dependency>

xmemcached 2.2.1-beta

03 Nov 06:35
Compare
Choose a tag to compare
xmemcached 2.2.1-beta Pre-release
Pre-release

A beta release for #37 and PR #50

Use AWSElasticCacheClient in AWS ElasticCache, for example:

import java.net.InetSocketAddress;

import net.rubyeye.xmemcached.aws.AWSElasticCacheClient;
import net.rubyeye.xmemcached.aws.ClusterConfigration;
import net.rubyeye.xmemcached.command.BinaryCommandFactory;
import net.rubyeye.xmemcached.command.TextCommandFactory;


public class Test {
    public static void main(String args[]) throws Exception {
        AWSElasticCacheClient client =
        new AWSElasticCacheClient(new InetSocketAddress("AWS ElasticCache endpoint host", 11211));
        ClusterConfigration conf = client.getConfig();
        System.out.println(conf.toString());
        client.set("a", 0, 1);
        System.out.println((Object)client.get("a"));
    }
}

It will auto discovery AWS ElasticCache nodes and connect to them for service, then refresh the nodes list in background between configured poll interval. (It is 1 hour by default).

Maven:

   <dependency>
              <groupId>com.googlecode.xmemcached</groupId>
              <artifactId>xmemcached</artifactId>
              <version>2.2.1-beta</version>
  </dependency>

Any test and feedback is welcome!

2.2.0 Released

27 Oct 06:47
Compare
Choose a tag to compare
  • Fixed some TimeoutException scenarios #30, highly recommend upgrading.
  • Fixed session heartbeat failure counter
  • Remove the helper classs for hibernate-memcached.

Maven:

         <dependency>
              <groupId>com.googlecode.xmemcached</groupId>
              <artifactId>xmemcached</artifactId>
              <version>2.2.0</version>
          </dependency>     

2.1.0 release note

27 Sep 07:45
Compare
Choose a tag to compare
  • Tweak performance, especially binary protocol.
  • Reduce memory and threads consumption on multicore system.
  • Reconnection will do the server address DNS resolving, see issue #49 .
  • Experiment option -Dxmemcached.string.bytes.cached.enable for caching string decoded bytes array, it's false by default.

xmemcached 2.0.1

28 Jul 05:11
Compare
Choose a tag to compare

Change log:

  1. Uses nano timestamp value as namespace.
  2. Adds setSelectorPoolSize method to builder/client to set reactor pool size per client.
  3. Set heartbeat thread and session monitor thread to be daemon.
  4. Thanks to @bmahe, so much refactor and clean code.
  5. Disable shutdown hook by default, you can enable it by -Dxmemcached.shutdown.hook.enable=true.
  6. Make log more friendly.
  7. Fixed auth for binary protocol.
  8. Some bug fix by contributors,thanks all of you.

xmemcached 2.0.0

28 Apr 02:10
Compare
Choose a tag to compare

Release note

  • Performance tweaks,10% improved for text protocol in my benchmark.
  • Fixed getStats could not work with cache dump,thanks to machao9email.
  • Fixed deak lock when shutdown client.
  • Fixed missing unsigned conversion on ONE_AT_A_TIME hash, thanks to spudone.
  • Cached decoded object for the same key in a batch get,reduce CPU consumption.
  • Used System.nanoTime instead of System.currentTimeInMills to generate namespace timestamp.

Maven dependency

 <dependency>
      <groupId>com.googlecode.xmemcached</groupId>
      <artifactId>xmemcached</artifactId>
      <version>2.0.0</version>
 </dependency>