1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Zend Redis Cache 1.2.1

XenForo + Redis

  1. Xon

    Xon Well-Known Member

    Xon submitted a new resource:

    Zend Redis Cache - XenForo + Redis

    Read more about this resource...
     
    Puntocom likes this.
  2. Xon

    Xon Well-Known Member

    Xon updated Zend Redis Cache with a new update entry:

    Implement pipelining for getMulti

    Read the rest of this update entry...
     
  3. Xon

    Xon Well-Known Member

  4. silence

    silence Well-Known Member

    Looks interesting :)

    Code:
    An exception occurred: Undefined offset: 0 in /home/test/public_html/xenforo/library/SV/RedisCache/RedisDataRegistry.php on line 157
    
        XenForo_Application::handlePhpError() in SV/RedisCache/RedisDataRegistry.php at line 157
        XenForo_Model_DataRegistry->getMulti() in WidgetFramework/Model/Cache.php at line 101
        WidgetFramework_Model_Cache->_getMulti() in WidgetFramework/Model/Cache.php at line 39
        WidgetFramework_Model_Cache->getCachedWidgets() in WidgetFramework/Core.php at line 540
        WidgetFramework_Core->_loadCachedWidget() in WidgetFramework/Core.php at line 615
        WidgetFramework_Core::loadCachedWidget() in WidgetFramework/WidgetRenderer.php at line 634
        WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 397
        WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 316
        WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 126
        WidgetFramework_Listener::template_post_render()
        call_user_func_array() in XenForo/CodeEvent.php at line 58
        XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 195
        XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
        XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 123
        XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 618
        XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
        XenForo_FrontController->run() in /home/test/public_html/xenforo/index.php at line 13
    
     
  5. Xon

    Xon Well-Known Member

    @silence Has that occurred once or continuously? Any particular widget, or just having the framework installed enough?

    I'll have a look at what the Widget Framework is doing sometime within the next few days.
     
    Last edited: Jan 28, 2015
  6. silence

    silence Well-Known Member

    Alright thanks :)
    It occured only on the /forums/ page.
     
  7. Xon

    Xon Well-Known Member

  8. Xon

    Xon Well-Known Member

    Xon updated Zend Redis Cache with a new update entry:

    Automatically prune css cache

    Read the rest of this update entry...
     
  9. Xon

    Xon Well-Known Member

    @silence have you had a chance to test this since the 1.0.2 update?
     
  10. silence

    silence Well-Known Member

    I just installed phppecl on my box and am putting it on my site now.
     
  11. silence

    silence Well-Known Member

    Still getting errors:

    Code:
    An exception occurred: array_keys() expects parameter 1 to be array, string given in /home/fdsafdsafdsa/public_html/xenforo/library/WidgetFramework/Model/Cache.php on line 50
    
        XenForo_Application::handlePhpError()
        array_keys() in WidgetFramework/Model/Cache.php at line 50
        WidgetFramework_Model_Cache->getCachedWidgets() in WidgetFramework/Core.php at line 540
        WidgetFramework_Core->_loadCachedWidget() in WidgetFramework/Core.php at line 615
        WidgetFramework_Core::loadCachedWidget() in WidgetFramework/WidgetRenderer.php at line 634
        WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 397
        WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 316
        WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 126
        WidgetFramework_Listener::template_post_render()
        call_user_func_array() in XenForo/CodeEvent.php at line 58
        XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 195
        XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
        XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 123
        XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 618
        XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
        XenForo_FrontController->run() in /home/fdsafdsafdsa/public_html/xenforo/index.php at line 13
    
    It's also making my web pages much slower :(
     
  12. Xon

    Xon Well-Known Member

    Well a different error, progress of a sorts.

    What sort of widgets are you using? I didn't hit that error the provided sidebar.

    :(
     
  13. silence

    silence Well-Known Member

    Yeah maybe it's caused by the errors :(

    Uhhhhh I disabled every widget for the template forum_list and the error still appears :(
     
  14. Xon

    Xon Well-Known Member

    Can you PM me the list of widgets you are using? I haven't been able to reproduce this myself, as I need to find a widget which actually stores cached data.
     
    Last edited: Feb 12, 2015
  15. Xon

    Xon Well-Known Member

    Xon updated Zend Redis Cache with a new update entry:

    Support "automatic_serialization" attribute for FrontEndCache

    Read the rest of this update entry...
     
    silence likes this.
  16. Xon

    Xon Well-Known Member

    @silence the error with Widget Framework appears to have been a caching config issue which was difficult to attribute correctly.
     
    silence likes this.
  17. |Jordan|

    |Jordan| Active Member

    Are there any significant query optimizations when using this addon and Redis? Or is it only really viable when there's more than 1 server running Redis?
     
  18. Xon

    Xon Well-Known Member

    Even for a single server, I'ld recommend some sort of caching. Either Memcache or Redis as they can reliably hold session info, over an in process cache.

    This addon implements pipelining, means that the initial loading occurs in one request rather than as half a dozen or so. Over time I will add support for other things to be cached, with a framework to preload data when the request loads to leverage pipelining.
     
    otto likes this.
  19. |Jordan|

    |Jordan| Active Member

    For anyone else using OVH for hosting:

    Installing redis from source won't work because OVH uses its own linux kernel (in Ubuntu/Debian) with a bunch of other things installed. Instead install from apt-get with:

    apt-get install -y python-software-properties
    add-apt-repository -y ppa:rwky/redis
    apt-get update
    apt-get install -y redis-server

    ---
    @Xon, does your addon already include Cm_Cache_Backend_Redis and Credis? If not, where do i install those?
     
    Last edited: Feb 25, 2015
    Jarod and Xon like this.
  20. Xon

    Xon Well-Known Member

    They are installed as part of this addon.

    The original purpose of this addon for me to be able to easily deploy those libraries via using an XF addon installer.
     

Share This Page