GithubHelp home page GithubHelp logo

jefferry / memcached-session-filter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamhuzl/memcached-session-filter

0.0 1.0 0.0 124 KB

使用filter拦截器和memcached解决集群环境下java web容器session共享

XSLT 15.95% Java 84.05%

memcached-session-filter's Introduction

使用filter拦截器和memcached解决集群环境下java web容器session共享

解决集群环境下java web容器session共享,使用filter拦截器和memcached实现。在tomcat 6和websphere 8测试通过,现网并发2000,日PV量1100万。 暂不支持session event包括create destory 和 attribute change

#使用指南.

配置web.xml 过滤器 springFilter org.springframework.web.filter.DelegatingFilterProxy targetBeanName memcachedSessionFilter

<filter-mapping>
    <filter-name>springFilter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

在spring中配置memcached filter 1 1 1 1

<bean id="memcachedSessionFilter" class="com.emagsoftware.web.session.MemcachedSessionFilter">
   <property name="sessionManager" ref="memcachedSessionManager"/>
</bean>

memcached-session-filter's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.