[FLOW3-general] More informations about cache in FLOW3?

Thomas Plessis t.plessis at totemnumerique.com
Thu Oct 25 18:22:06 CEST 2012


Hi guys,

My FLOW3 application database deals with huge amount of data, and the performance issues in production are really... terrible. So, i'm trying to use Memcache for Doctrine. Here is my Settings.yaml :

TYPO3:
  FLOW3:
    persistence:
      backendOptions:
        driver: 'pdo_mysql'
        dbname: '####' 
        user: '####'    
        password: '####'
        host: '127.0.0.1'  
      doctrine:
        sqlLogger: 'TYPO3\FLOW3\Persistence\Doctrine\Logging\SqlLogger'
        cacheImplementation: 'Doctrine\Common\Cache\MemcacheCache'

Is that right? It seems that's not working at all. :/

And here is my Packages/Application/Foo.Bar/Configuration/Caches.yaml, to change the FLOW3 reflection cache system :

# FLOW3_Reflection*
#
#
FLOW3_Reflection_Status:
  backend: TYPO3\FLOW3\Cache\Backend\MemcachedBackend
  backendOptions:
    defaultLifetime: 0
    servers: ['localhost:11211']
FLOW3_Reflection_CompiletimeData:
  backend: TYPO3\FLOW3\Cache\Backend\MemcachedBackend
  backendOptions:
    defaultLifetime: 0
    servers: ['localhost:11211']

Is that right too? 
Last question : Do you recommend to use APC instead of MemCache?

regards,

Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55



More information about the FLOW3-general mailing list