2
Redisセッションの遅さ
セッションのredisを有効にし、githubから最新の拡張機能とlibコードを取得しました。一部のリクエストには約30秒かかることに気づいています。 ここでnewrelicから3つのトランザクショントレースがあり、彼らは私にはほとんど同じに見える: http://imgur.com/JQUzheJ,0sCqUni,3L4PJAX redisで次の設定を使用しています。 <redis_session> <host>127.0.0.1</host> <port>6379</port> <password></password> <timeout>2.5</timeout> <persistent></persistent> <db>2</db> <compression_threshold>2048</compression_threshold> <compression_lib>lzf</compression_lib> <log_level>4</log_level> <!-- maximum number of processes that can wait for a lock on one session; for large production clusters, set this to at least 10% of the number of PHP processes --> <max_concurrency>12</max_concurrency> <!-- seconds to wait …