Project

General

Profile

Actions

Task #30605

closed

Improve page cache performance

Added by Dmitry Dulepov about 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Caching
Target version:
-
Start date:
2011-10-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Recently I had an issue with page cache. Some of insertion queries took about 40 seconds to perform, flooded slow query log and created lockups for the whole server. Pages are big, config section is big too and there are lots of user group combinations, which creates a lot of entries in the cache.

I found an article:http://www.mysqlperformanceblog.com/2008/01/11/mysql-blob-compression-performance-benefits/ in the MySQL Performance Blog abot BLOB performance with MySQL and InnoDB.

Next I added compression to the cache and magically situation started to improve. Now I have no lock ups.

Server set up is ok, I am experienced in running high traffic web sites. The problem was exactly with using a lot of data with BLOB columns in InnoDB tables.

I suggest to turn on compression for the page and TS cache by default. This would reduce the problem described in that blog article.

Actions #1

Updated by Dmitry Dulepov about 13 years ago

That server has about 1000 FE users a second and performance impact of compression/decompression is not visible.

Actions #2

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change Ic40c5a419573e7890d475eab8bb55b3bb2d963bc has been pushed to the review server.
It is available at http://review.typo3.org/5595

Actions #3

Updated by Dmitry Dulepov about 13 years ago

  • Status changed from New to Under Review
  • Assignee set to Dmitry Dulepov
  • % Done changed from 0 to 90
  • Complexity set to easy
Actions #4

Updated by Mr. Hudson about 13 years ago

Patch set 2 of change Ic40c5a419573e7890d475eab8bb55b3bb2d963bc has been pushed to the review server.
It is available at http://review.typo3.org/5595

Actions #5

Updated by Mr. Hudson about 13 years ago

Patch set 3 of change Ic40c5a419573e7890d475eab8bb55b3bb2d963bc has been pushed to the review server.
It is available at http://review.typo3.org/5595

Actions #6

Updated by Dmitry Dulepov almost 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 90 to 100
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF