[id='memcached_server']
:context: memcached
= Memcached Server

The {brandname} server distribution contains a server module that implements the Memcached link:http://github.com/memcached/memcached/blob/master/doc/protocol.txt[text] and link:https://github.com/memcached/memcached/wiki/BinaryProtocolRevamped[binary] protocols. This allows Memcached clients to talk to one or several {brandname} backed Memcached servers. These servers can be standalone just like Memcached, where each server acts independently and does not communicate with the rest. They can also be clustered, where the servers replicate or distribute their contents to other {brandname} backed Memcached servers, providing clients with failover capabilities.

The Memcached endpoint is enabled by default on the single-port endpoint. Memcached client connections will automatically be detected and routed to the internal connector.

include::{topics}/con_memcached_client_encoding.adoc[leveloffset=+1]
include::{topics}/con_memcached_protocol_detection.adoc[leveloffset=+1]
include::{topics}/con_memcached_security.adoc[leveloffset=+1]
include::{topics}/ref_memcached_flush_all.adoc[leveloffset=+2]
include::{topics}/ref_memcached_unsupported.adoc[leveloffset=+2]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
