• This repository has been archived on 02/Dec/2022
  • Stars
    star
    110
  • Rank 315,588 (Top 7 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 16 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A library for using Memcached as a second level distributed cache in Hibernate.

Hibernate-memcached

A library for using Memcached as a second level distributed cache in Hibernate.

  • Based on the excellent spymemcached client
  • Includes support for the Whalin (danga) memcached client
  • Supports entity and query caching.

Help

If you have any questions, or just want to drop a line to say it's working great :) use the google-group.

Please note that this is an open source project. I work on it when I can and I implement what I feel like. I am volunteering my own free time for my own amusement.

Versions

1.3

As a result of these changes hibernate-memcached will miss on all cache requests upon upgrading to this version. This is due to the switch to Sha1KeyStrategy as the default. Hibernate-memcached will now generate different keys for the same data you were caching previously. Essentially, your cache will appear empty to Hibernate.

Also, as a result of these changes, 1.3 may not be binary compatible with any subclass hacks you may have written that extend HashCodeKeyStrategy, StringKeyStrategy, Md5KeyStrategy, or Sha1KeyStrategy. Note that the KeyStrategy interface and AbstractKeyStrategy have not changed at all. If you implemented/extended those directly you're fine.

  • Patch from @burtbeckwith to allow for memcached authentication via the spymemcached client. This can be specified using "hibernate.memcached.username" and "hibernate.memcached.password"

1.2.2

  • Patch from ddlatham to allow the spymemcached library to be put into daemon mode. This is accomplished by setting hibernate.memcached.daemonMode to true.
  • Updated the maven pom to pull in spymemcached 2.4.2 by default.

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with pom.xml, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

More Repositories

1

ruby-smpp

Ruby-implementation of the SMPP protocol, based on EventMachine.
Ruby
92
star
2

docker-swarm-mode-scripts

Scripts for creating and destroying a docker swarm-mode cluster.
Shell
7
star
3

cdk-fargate-public-dns

This is an AWS Cloud Development Kit V2 construct library to support updating Route 53 entry with the public ip address of an ECS Fargate task. This is useful if you are, say, running an individual instance of a game server on ECS Fargate and do not want the added cost of a Network Load Balancer.
TypeScript
6
star
4

riemann-docker

Reimann in a container
Clojure
4
star
5

rulespec

An old idea I had a for a rules engine based on the Specification Pattern http://en.wikipedia.org/wiki/Specification_pattern
Java
4
star
6

redis_rpc

Redis RPC is a library for executing remote procedure calls through queues (lists) in redis.
Ruby
3
star
7

cdk-game-server

CDK Construct Library for launching game servers on AWS Fargate
TypeScript
3
star
8

valheim_dedicated_server

A Valheim dedicated game server, running in a container. Ready for the platform of your choice.
Shell
3
star
9

FoldingAtHomeContainer

This container will run the Folding@Home client in a Docker container, on a GPU.
Dockerfile
2
star
10

brews

A jekyll site for keeping track of the beers I brew.
HTML
2
star
11

cdk-valheim-server

An AWS CDK construct library to run a Valheim dedicated server on AWS Fargate
JavaScript
1
star
12

docker-minecraft

Learning more about Docker via Minecraft.
Dockerfile
1
star
13

kubernetes-the-dumb-way

My method of learning more about Kubernetes by automating the fantastic "Kubernetes the Hard Way" guide by Kelsey Hightower.
Shell
1
star
14

folding-on-ecs

AWS CDK Library for building Folding@Home GPU Clusters on ECS
TypeScript
1
star
15

AbstractHibernateDao

Creating a home for the AbstractHibernateDao code from my blog posts.
1
star