Git Product home page Git Product logo

Comments (6)

manjuraj avatar manjuraj commented on May 24, 2024

@benubois could you paste the log file by running fatcache with log level 9 (-v 9)

from fatcache.

benubois avatar benubois commented on May 24, 2024

Certainly, here it is:

[Sun Sep 22 22:13:41 2013] fc_core.c:145 event 0001 on 6
[Sun Sep 22 22:13:41 2013] fc_util.c:573 malloc(120) at 0xa8f970 @ fc_connection.c:180
[Sun Sep 22 22:13:41 2013] fc_connection.c:239 get conn 0xa8f970 c 7
[Sun Sep 22 22:13:41 2013] fc_server.c:87 accepted c 7 on s 6
[Sun Sep 22 22:13:41 2013] fc_server.c:45 accept on s 6 not ready - eagain
[Sun Sep 22 22:13:41 2013] fc_core.c:145 event 0005 on 7
[Sun Sep 22 22:13:41 2013] fc_util.c:573 malloc(224) at 0xa8f9f0 @ fc_message.c:57
[Sun Sep 22 22:13:41 2013] fc_message.c:124 get msg 0xa8f9f0 id 1 request 1 owner sd 7
[Sun Sep 22 22:13:41 2013] fc_util.c:573 malloc(8192) at 0xa8fae0 @ fc_mbuf.c:46
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:99 get mbuf 0xa91ab0
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:199 insert mbuf 0xa91ab0 len 0
[Sun Sep 22 22:13:41 2013] fc_connection.c:63 recv on sd 7 24 of 8144
[Sun Sep 22 22:13:41 2013] fc_memcache.c:785 parsed bad req 1 res 1 type 0 state 0
00000000  80 0b 00 00 00 00 00 00  00 00 00 00 00 00 00 00   |................|
00000010  00 00 00 00 00 00 00 00                            |........|
[Sun Sep 22 22:13:41 2013] fc_core.c:81 recv on c 7 failed: Invalid argument
[Sun Sep 22 22:13:41 2013] fc_core.c:113 close c 7 on event 0005 eof 0 done 0 rb 24 sb 0: Invalid argument
[Sun Sep 22 22:13:41 2013] fc_client.c:64 close c 7 discarding pending req 1 len 24 type 0
[Sun Sep 22 22:13:41 2013] fc_message.c:141 put msg 0xa8f9f0 id 1
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:208 remove mbuf 0xa91ab0 len 24
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:121 put mbuf 0xa91ab0 len 24
[Sun Sep 22 22:13:41 2013] fc_connection.c:162 put conn 0xa8f970

from fatcache.

manjuraj avatar manjuraj commented on May 24, 2024

looks like the Dalli is trying to use binary protocol (https://github.com/mperham/dalli). fatcache only supports memcache ascii protocol.

from fatcache.

manjuraj avatar manjuraj commented on May 24, 2024

closing this for now. feel free to reopen if you have questions

from fatcache.

benubois avatar benubois commented on May 24, 2024

@manjuraj,

Makes sense, but I keep coming back to this project as memcached on SSD is such a great idea.

I think it would be a great feature and would make fatcache immediately useful to anyone using Rails.

Any thoughts on what it would take to support the binary protocol?

from fatcache.

manjuraj avatar manjuraj commented on May 24, 2024

There is an implementation of binary memcache in the twemproxy project (twitter/twemproxy@f2ffca7). See twemproxy, branch - binary_memcache.

I believe it would be trivial to port this over to fatcache

from fatcache.

Related Issues (17)

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.