Issues: https://luceeserver.atlassian.net/issues/?jql=labels%20%3D%20memcached
lucee / extension-memcached Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Lesser General Public License v2.1
License: GNU Lesser General Public License v2.1
I have been unable to find any documentation for the settings in the Lucee admin. I created a forum post here: https://dev.lucee.org/t/need-help-with-memcached-settings/3114, but nobody has replied. Please provide some guidance or point to a memcached document with the mapping of the settings to the memcached settings, and what each setting does. Thank you in advance!
Hello,
We are using GitHub - lucee/extension-memcached extension for session. memcache server we using AWS server.
We having issue of session time out in 10 minutes and its not using the session timeout values set in application cfc.
I updated the latest snapshot and updated setting in application cfc as below
this.ApplicationTimeout=CreateTimeSpan(1,0,0,0);
this.SessionTimeout=CreateTimeSpan(0,1,0,0);
this.sessionStorage = “memcache”;
this.SessionManagement=true;
this.setClientCookies = true;
this.setDomainCookies = false;
this.cache.connections[“memcache”] = {
class: ‘org.lucee.extension.cache.mc.MemcachedCache’
, bundleName: ‘memcached.extension’
, bundleVersion: ‘4.0.0.7-SNAPSHOT’
, storage: true
, custom: {
“log”:"",
“default_expires”:“3600”,
“protocol”:“Binary”,
“compress”:“true”,
“failure_mode”:“Redistribute”,
“servers”:“xxxxxmemcached.xxxxxxxx.amazonaws.com:11211”
}
, default: ‘’
};
OS: centos-release-7-6.1810.2.el7.centos.x86_64
Java Version: 11.0.3 (AdoptOpenJDK) 64bit
Tomcat Version: Apache Tomcat/9.0.41
Lucee Version: Lucee 5.3.6.61
Any help or guidance will be great.
Thank you,
When I dump cached data from Lucee, it appears as binary instead of JSON as I set it in my config. Here is the partial dumped data:
��sr/lucee.runtime.type.scope.storage.IKStorageValue%�vz^/�J lastModified[barrt[Bxp\��m�ur[B���T�xp ���sr8lucee.commons.collection.concurrent.ConcurrentHashMapProd����)= xr'lucee.commons.collection.AbstractMapPro�,�VעT� xpsrjava.util.HashMap���
�Fone,two,threesqt�timecreatedxsq\��masqE\��"xsqt MYNUMERICxsq~\��l�sq~(@s@sqtMYSTRUCTxsq\��l�srlucee.runtime.type.StructImpl�%!J�Lmapt!Llucee/commons/collection/MapPro;xr%lucee.runtime.type.util.StructSupportg)��9��xpsqsq?@sq~t�PRETEND_KEYxtreally crucial data`
In this code, it seems that the storageFormat
is parsed and set, but not passed to the pool:
line 138 if("json".equalsIgnoreCase(str.trim())) storageFormat=STORAGE_FORMAT_JSON;
Please advise.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.