mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 06:18:56 +00:00

-- memcached.sess_consistent_hashing git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330930 c90b9560-bf6c-de11-be94-00142212c4b1
341 lines
10 KiB
XML
341 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<section xml:id="memcached.configuration" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
<table>
|
|
<title>Memcached &ConfigureOptions;</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Default;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-locking">memcached.sess_locking</link></entry>
|
|
<entry>1</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-consistent-hash">memcached.sess_consistent_hash</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-binary">memcached.sess_binary</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-lock-wait">memcached.sess_lock_wait</link></entry>
|
|
<entry>150000</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-prefix">memcached.sess_prefix</link></entry>
|
|
<entry>memc.sess.key.</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-number-of-replicas">memcached.sess_number_of_replicas</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-randomize-replica-read">memcached.sess_randomize_replica_read</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.sess-remove-failed">memcached.sess_remove_failed</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.compression-type">memcached.compression_type</link></entry>
|
|
<entry>fastlz</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.compression-factor">memcached.compression_factor</link></entry>
|
|
<entry>1.3</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.compression-threshold">memcached.compression_threshold</link></entry>
|
|
<entry>2000</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.serializer">memcached.serializer</link></entry>
|
|
<entry>php</entry>
|
|
<entry>PHP_INI_ALL</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcached.use-sasl">memcached.use_sasl</link></entry>
|
|
<entry>0</entry>
|
|
<entry>PHP_INI_SYSTEM</entry>
|
|
<entry><!-- leave empty, this will be filled by an automatic script --></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<para>
|
|
<variablelist>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-locking">
|
|
<term>
|
|
<parameter>memcached.sess_locking</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Use session locking. Valid values: On, Off, the default is On.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-consistent-hash">
|
|
<term>
|
|
<parameter>memcached.sess_consistent_hash</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Memcached session consistent hash mode. If set to On, consistent
|
|
hashing is used for session handling. When consistent hashing is used,
|
|
one can add or remove cache node(s) without messing up too much with
|
|
existing keys. The default is Off.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-binary">
|
|
<term>
|
|
<parameter>memcached.sess_binary</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Use memcached session binary mode. Libmemcached replicas only work if
|
|
binary mode is enabled. The default is Off.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-lock-wait">
|
|
<term>
|
|
<parameter>memcached.sess_lock_wait</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Session spin lock retry wait time in microseconds. Be carefull when
|
|
setting this value. Valid values are integers, where 0 is interpreted
|
|
as the default value. Negative values result in a reduces locking to a
|
|
try lock. The default is 150000.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-prefix">
|
|
<term>
|
|
<parameter>memcached.sess_prefix</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Memcached session key prefix. Valid values are strings less than 219
|
|
bytes long. The default value is "memc.sess.key."
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-number-of-replicas">
|
|
<term>
|
|
<parameter>memcached.sess_number_of_replicas</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
The memcached session number of replicas.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-randomize-replica-read">
|
|
<term>
|
|
<parameter>memcached.sess_randomize_replica_read</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Memcached session replica read randomize.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.sess-remove-failed">
|
|
<term>
|
|
<parameter>memcached.sess_remove_failed</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Allow failed memcached server to automatically be removed.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.compression-type">
|
|
<term>
|
|
<parameter>memcached.compression_type</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Set the compression type, valid values are: fastlz, zlib. The default
|
|
is fastlz.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.compression-factor">
|
|
<term>
|
|
<parameter>memcached.compression_factor</parameter>
|
|
<type>float</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Compression factor. Store compressed value only if the compression
|
|
factor (saving) exceeds the set limit. Store compressed if:
|
|
<literal>plain_len > comp_len * factor</literal>. The default value
|
|
is 1.3 (23% space saving).
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.compression-threshold">
|
|
<term>
|
|
<parameter>memcached.compression_threshold</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
The compression threshold. Do not compress serialized values below this
|
|
threshold. The default is 2000 bytes.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.serializer">
|
|
<term>
|
|
<parameter>memcached.serializer</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Set the default serializer for new memcached objects. Valid values
|
|
are: php, igbinary, json, json_array.
|
|
</para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>json</term>
|
|
<listitem>
|
|
<para>
|
|
Standard php JSON encoding. This serializer is fast and compact but
|
|
only works on UTF-8 encoded data and does not fully implement
|
|
serializing. See the JSON extension.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>json_array</term>
|
|
<listitem>
|
|
<para>
|
|
As json, but decodes into arrays.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>php</term>
|
|
<listitem>
|
|
<para>
|
|
The standard PHP serializer.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term>igbinary</term>
|
|
<listitem>
|
|
<para>
|
|
A binary serializer
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<para>
|
|
The default is igbinary if available and php otherwise.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcached.use-sasl">
|
|
<term>
|
|
<parameter>memcached.use_sasl</parameter>
|
|
<type>integer</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Use SASL authentication for connections. Valid values: On, Off. The
|
|
default is Off.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</para>
|
|
</section>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|