Skip to content
#

memcache

Here are 132 public repositories matching this topic...

saschat
saschat commented Apr 10, 2018

From what I understand failureMode=true is what other clients call failover=false in the sense that if failure mode is on, the client does not failover to other servers but marks the failed server as dead until it come back up. This is confusing.

In the short term this should be documented. In the long term a configuration like builder.setFailover(true) could be added that sets `failureMo

手把手教你做中间件、高性能服务器、分布式存储等(redis、memcache、nginx、大容量redis pika、rocksdb、mongodb、wiredtiger存储引擎、高性能代理中间件)二次开发、性能优化,逐步整理文档说明并配合demo指导--每周末定时更新2-3篇技术文章及程序demo--(技术交流QQ群:568892619)

  • Updated Jun 3, 2020
  • C
rust-memcache
letmutx
letmutx commented Feb 8, 2020

We call num.to_string().as_bytes() to serialize and deserialize numbers when setting them in memcache server. Instead, we could use byteorder crate's read_u16, read_u64 etc. and write out the bytes to the server with a specific endianness(big/little) and use the same when deserializing.
deserialization:
https://github.com/aisk/rust-memcache/blob/faed4e117b8108dbcae1901c891844009229190e/s

Improve this page

Add a description, image, and links to the memcache topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the memcache topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.