PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, November 13, 2022

[FIXED] How to enable fire and forget mode in moxi

 November 13, 2022     memcached     No comments   

Issue

I'm using moxi as a proxy for memcache cluster. In documentation I found that:

it supports fire-and-forget work tasks.

So, "SET" should return SUCCESS immediately without waiting memcache response.

But I didn't find how to enable it! I tried to google, tried to read source code. It didn't help.

So, does anyone know how to enable this mode? Or is it enabled by default?


Solution

Memcached has quiet commands, but I don't think they are implemented very frequently by SDK's (except for use in multi-get/set operations). These are likely what you need to use in order to enable this behavior. It is not a moxi setting, but a set of client commands that you would use.

Binary quiet commands (They end with a Q for quiet) https://github.com/memcached/memcached/blob/master/protocol_binary.h#L98



Answered By - mikewied
Answer Checked By - Katrina (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

1,213,395

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing