mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-24 17:02:18 +01:00
323 lines
9.4 KiB
XML
323 lines
9.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 9bfa379b20d63ad52b133be32533aca3e04ed10f Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
|
|
<section xml:id="memcache.ini" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
<table>
|
|
<title>&ConfigureOptions; memcache</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Default;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody xml:id="memcache.ini.list">
|
|
<row>
|
|
<entry><link linkend="ini.memcache.allow-failover">memcache.allow_failover</link></entry>
|
|
<entry>"1"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Disponible à partir de memcache 2.0.2.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.max-failover-attempts">memcache.max_failover_attempts</link></entry>
|
|
<entry>"20"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Disponible à partir de memcache 2.1.0.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.chunk-size">memcache.chunk_size</link></entry>
|
|
<entry>"8192"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Disponible à partir de memcache 2.0.2.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.default-port">memcache.default_port</link></entry>
|
|
<entry>"11211"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Disponible à partir de memcache 2.0.2.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.hash-strategy">memcache.hash_strategy</link></entry>
|
|
<entry>"standard"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Disponible à partir de memcache 2.2.0.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.hash-function">memcache.hash_function</link></entry>
|
|
<entry>"crc32"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Disponible à partir de memcache 2.2.0.</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.protocol">memcache.protocol</link></entry>
|
|
<entry>ascii</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Supporté à partir de memcache 3.0.0</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.redundancy">memcache.redundancy</link></entry>
|
|
<entry>1</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Supporté à partir de memcache 3.0.0</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.session-redundancy">memcache.session_redundancy</link></entry>
|
|
<entry>2</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Supporté à partir de memcache 3.0.0</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.compress-threshold">memcache.compress_threshold</link></entry>
|
|
<entry>20000</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Supporté à partir de memcache 3.0.3</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.lock-timeout">memcache.lock_timeout</link></entry>
|
|
<entry>15</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Supporté à partir de memcache 3.0.4</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
<table>
|
|
<title>Options de Configurations de Session Affectant le Comportement de Memcache</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Default;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody xml:id="memcache.ini.list.extra">
|
|
<row>
|
|
<entry><link linkend="ini.memcache.save-handler">session.save_handler</link></entry>
|
|
<entry>"files"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Supporté à partir de memcache 2.1.2</entry>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.memcache.save-path">session.save_path</link></entry>
|
|
<entry>""</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry>Supporté à partir de memcache 2.1.2</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
&ini.php.constants;
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<para>
|
|
<variablelist>
|
|
|
|
<varlistentry xml:id="ini.memcache.allow-failover">
|
|
<term>
|
|
<parameter>memcache.allow_failover</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Si l'on doit basculer sur d'autres serveurs en cas d'erreur.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.max-failover-attempts">
|
|
<term>
|
|
<parameter>memcache.max_failover_attempts</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Définit combien de serveurs à essayer lorsque l'on fixe ou récupère des
|
|
données. Utilisez seulement en conjonction avec memcache.allow_failover.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.chunk-size">
|
|
<term>
|
|
<parameter>memcache.chunk_size</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Les données doivent être transférées en morceaux de cette taille ;
|
|
Configurer cette valeur à une petite valeur provoque plus d'écritures
|
|
sur le réseau. Essayez d'augmenter cette valeur à 32768 si vous
|
|
rencontrez des ralentissements inexplicables.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.default-port">
|
|
<term>
|
|
<parameter>memcache.default_port</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Le numéro du port TCP par défaut à utiliser lors de la connexion
|
|
au serveur memcache si aucun autre port n'est spécifié.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.hash-strategy">
|
|
<term>
|
|
<parameter>memcache.hash_strategy</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Contrôle la stratégie à appliquer lors du mappage des clés sur les serveurs.
|
|
Définir cette valeur à <literal>consistent</literal> pour activer la cohérence
|
|
de hachage qui permet aux serveurs d'être ajoutés ou supprimés de la réserver sans
|
|
pour autant avoir besoin d'effectuer un nouveau mappage des clés. Définir cette
|
|
valeur à <literal>standard</literal> fera que l'ancienne stratégie sera utilisée.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.hash-function">
|
|
<term>
|
|
<parameter>memcache.hash_function</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Contrôle la fonction de hachage à appliquer lors du mappage des clés
|
|
sur les serveurs, <literal>crc32</literal> utilisera le CRC32 standard,
|
|
tandis que <literal>fnv</literal> utilisera FNV-1a.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.protocol">
|
|
<term>
|
|
<parameter>memcache.protocol</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.redundancy">
|
|
<term>
|
|
<parameter>memcache.redundancy</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.session-redundancy">
|
|
<term>
|
|
<parameter>memcache.session_redundancy</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.compress-threshold">
|
|
<term>
|
|
<parameter>memcache.compress_threshold</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.lock-timeout">
|
|
<term>
|
|
<parameter>memcache.lock_timeout</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.save-handler">
|
|
<term>
|
|
<parameter>session.save_handler</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Utilisez memcache comme gestionnaire de session en définissant cette valeur à
|
|
<literal>memcache</literal>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.memcache.save-path">
|
|
<term>
|
|
<parameter>session.save_path</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
Définit les URL serveur, séparées par une virgule, à utiliser pour le stockage des
|
|
sessions, par exemple : <literal>"tcp://host1:11211, tcp://host2:11211"</literal>.
|
|
</para>
|
|
<para>
|
|
Chaque URL peut contenir des paramètres qui seront appliqués au serveur, de la même
|
|
façon que pour la méthode <function>Memcache::addServer</function>. Par exemple :
|
|
<literal>"tcp://host1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"</literal>
|
|
</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
|
|
-->
|