{"id":13470496,"url":"https://github.com/magro/memcached-session-manager","last_synced_at":"2025-05-15T12:06:04.963Z","repository":{"id":524290,"uuid":"152812","full_name":"magro/memcached-session-manager","owner":"magro","description":"A tomcat session manager that backups sessions in memcached and pulls them from there if asked for unknown sessions","archived":false,"fork":false,"pushed_at":"2023-12-17T15:47:24.000Z","size":5804,"stargazers_count":757,"open_issues_count":111,"forks_count":349,"subscribers_count":91,"default_branch":"master","last_synced_at":"2025-04-22T02:07:19.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magro.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2009-03-17T14:35:13.000Z","updated_at":"2025-03-14T19:45:43.000Z","dependencies_parsed_at":"2024-06-21T07:32:48.855Z","dependency_job_id":"8b2a7ad5-7510-4a26-bc17-a56e9daa3ba3","html_url":"https://github.com/magro/memcached-session-manager","commit_stats":{"total_commits":617,"total_committers":30,"mean_commits":"20.566666666666666","dds":0.1653160453808752,"last_synced_commit":"716e147c9840ab10298c4d2b9edd0662058331e6"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magro%2Fmemcached-session-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magro%2Fmemcached-session-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magro%2Fmemcached-session-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magro%2Fmemcached-session-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magro","download_url":"https://codeload.github.com/magro/memcached-session-manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337613,"owners_count":22054253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:31.324Z","updated_at":"2025-05-15T12:05:59.946Z","avatar_url":"https://github.com/magro.png","language":"Java","funding_links":[],"categories":["Java","分布式开发"],"sub_categories":[],"readme":"# memcached session manager\n\n[![Join the chat at https://gitter.im/memcached-session-manager/Lobby](https://badges.gitter.im/memcached-session-manager/Lobby.svg)](https://gitter.im/memcached-session-manager/Lobby)\n[![Build Status](https://travis-ci.org/magro/memcached-session-manager.svg?branch=master)](https://travis-ci.org/magro/memcached-session-manager)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/de.javakaffee.msm/memcached-session-manager/badge.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22de.javakaffee.msm%22)\n\nmemcached-session-manager is a tomcat session manager that keeps sessions in memcached or Redis, for highly available, scalable and fault tolerant web applications.\nIt supports both sticky and non-sticky configurations, and is currently working with tomcat 6.x, 7.x, 8.x and 9.x. For sticky sessions session failover (tomcat crash)\nis supported, for non-sticky sessions this is the default (a session is served by default by different tomcats for different requests).\nAlso memcached failover (memcached crash) is supported via migration of sessions. There shall also be no single point of failure, so when a memcached fails\nthe session will not be lost (but either be available in tomcat or in another memcached).\n\n## Installation and Configuration\nBasically you must put the spymemcached jar and the memcached-session-manager jars into tomcat's lib folder.\nIf you want to use Redis instead of memcached, you need the jar of the Redis client \"jedis\" instead.\nAdditionally you must set the Manager class and add some configuration attributes. This is described in detail in the\n[SetupAndConfiguration wiki page](https://github.com/magro/memcached-session-manager/wiki/SetupAndConfiguration).\n\n## Where to get help\nCheckout the [wiki](https://github.com/magro/memcached-session-manager/wiki) for documentation, contact the\n[mailing list](http://groups.google.com/group/memcached-session-manager) or [submit an issue](https://github.com/magro/memcached-session-manager/issues).\n\n## How to contribute\nIf you want to contribute to this project you can fork this project, make your changes and submit a [pull request](https://help.github.com/articles/using-pull-requests/).\nOr you start on the [mailing list](http://groups.google.com/group/memcached-session-manager) and we'll see how we can work together.\n\n## Samples\nThere's [sample webapp](https://github.com/magro/memcached-session-manager/tree/master/samples) that allows to run tomcat+msm in different configurations,\nboth sticky and non-sticky etc, just checkout the [README](https://github.com/magro/memcached-session-manager/tree/master/samples).\n\n## License\nThe license is Apache 2.0, see LICENSE.txt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagro%2Fmemcached-session-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagro%2Fmemcached-session-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagro%2Fmemcached-session-manager/lists"}