Comments (10)
Hello,
I'm sorry but maybe you have any information about my issue?
I look forward to a response from your side.
Thanks you a lot for awesome project.
from mcrouter.
@0xd3adsh3ll,
provided your config is not correct,
-->>session.save_path is correct (tcp://172.18.45.69:5000)
session.ini have different setting.
mcrouter wrong config,
-->> "A":{"servers":["172.18.45.100:11211"]},
"B":{"servers":["172.18.45.101:11211"]}
You memcached server 172.18.45.138:11213
from mcrouter.
Hello,
thanks for your reply.
@Testinos my session.ini have a two strings for save_path
1 - uncomment string 172.18.45.138.11213 - it's old instance memcached - work fine because without mcrouter
2 - comment string 172.18.45.69:5000 - it's mcrouter - doesn't work
Schema like this:
Old work fine
|--php_app (session.save_path = tcp://172.18.45.138:11213)
|-------172.18.45.138:11213 - memcached server
New schema:
|--php_app (session.save_path = tcp://172.18.45.69:5000)
|
|---mcrouter
|-----------"A":{"servers":["172.18.45.100:11211"]}
|-----------"B":{"servers":["172.18.45.101:11211"]}
don't work and app crash with error:
"session_write_close(): Failed to write session data (memcache). Please verify that the current setting of session.save_path is correct (tcp://172.18.45.69:5000)"
from mcrouter.
@0xd3adsh3ll,
set key via telnet work fine?
-> telnet 172.18.45.69 5000
-> set test 0 60 4
->1234
and show mcrouter log file or output.
from mcrouter.
Oh...
Can you tell me please route AllAsyncRoute doesn't work in mcrouter? I can't find AllAsyncRoute in wiki.
from mcrouter.
@0xd3adsh3ll Information from this issue #8 AllAsyncRouter router work.
If you don't want get error if one server down try usage option for set "AllFastestRoute"
from mcrouter.
@Testinos hello
currently my mcrouter config is:
http://pastebin.com/wKu7c6Cp
and my /etc/php5/conf.d/session.ini:
http://pastebin.com/1UfTGeNs
So, application work fine, I don't have any errors, but if config of mcrouter replace on:
http://pastebin.com/zuzut4Mw
then application doesn't work with errors:
"session_write_close(): Failed to write session data (memcache). Please verify that the current setting of session.save_path is correct (tcp://mcrouter:5000)"
from mcrouter.
"sets" doesn't work correctly with AllAsyncRoute? I need replicated "set" to both servers with memcached and async the best solution for this but I don't understand why it doesn't work.
from mcrouter.
The all async route always returns "not stored" since it returns to the client before it hears back from the server. The client interprets this as an error. You should use something like the all first route or the all sync route, or change your client to interpret "not stored" as a non-error.
On Dec 22, 2014, at 7:12 AM, 0xd3adsh3ll [email protected] wrote:
"sets" doesn't work correctly with AllAsyncRoute? I need replicated "set" to both servers with memcached and async the best solution for this but I don't understand why it doesn't work.
—
Reply to this email directly or view it on GitHub.
from mcrouter.
@ryanmce I think AllFirstRoute good idea for me, and it's works very well.
Thanks a lot.
P.S. I'm confused because I'm was testing configuration with "AllAsyncRoute" with memcached php function "add_server" and this works fine, also I'm was testing with java app and work fine too, but php5 and memcached.so don't works. :(
I close this issue.
from mcrouter.
Related Issues (20)
- Slow performance - Redis benchmark test HOT 1
- “Stats files” wiki page has some formatting issues HOT 1
- Simple replication model not working as expected HOT 1
- `mg` for WarmupRoute?
- CentOS 8 RPM/Build Support HOT 1
- Cannot build ubuntu20 docker file HOT 5
- Memcached server specification (TLS/SSL) documentation HOT 1
- Error to build docker image with docker file... HOT 1
- Last stable version
- Warmup related configuration incase we are running mcrouter and memcache on kubernetes
- Mcrouter adds MC_MSG_FLAG_BIG_VALUE flag but never removes it HOT 4
- AsyncSocketException: AsyncMcClient, type = Socket not open HOT 1
- unable to build new py3 thrift changes in upstream
- ubuntu 20.04 building issue HOT 1
- Failed to build on Ubuntu 22.04 HOT 1
- Addition of a pre-populated replica
- New Ubuntu package HOT 2
- Failed to build on ubuntu18.04
- How can I traverse a server in the pool? HOT 1
- Issues after memcached version upgrade
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcrouter.