[Xon] Redis Cache v2.15.0

Xen-AddOn [Xon] Redis Cache v2.15.0 2.15.0

دسترسی دریافت را ندارید
[Xon] Redis Cache v2.15.0

این افزونه از Credis با یک ارائه دهنده کش سفارشی برای Redis استفاده می کند . برای بهترین عملکرد، پسوند php را نصب کنید: phpredis

شما باید یک نمونه Redis را نصب کرده باشید، این به احتمال زیاد با میزبانی مشترک امکان پذیر نیست

در حالی که XenForo 2 دارای یک اتصال redis است، به phpredis نیاز دارد . این افزونه ندارد.

نمای کلی ویژگی
  • یک کانکتور redis خالص php
  • پشتیبانی در دسترس بالا
  • شیء cache redis را برای استفاده توسط افزونه های دیگر در معرض دید قرار می دهد
  • برخی از کش های جزئی تعداد رشته های انجمن را اجرا می کند
  • ذخیره سازی قالب css اختصاصی XenForo برای ضربه زدن به redis تغییر مسیر دهید زیرا در غیر این صورت باعث نوشتن و بن بست غیرمنتظره در xf_css_cacheجدول می شود.
نصب

ویرایش src/config.phpو اضافه کردن:
محتوای بلوک کدها فقط برای اعضا قابل نمایش میباشد , اکنون ثبت نام کنید یا وارد سیستم شوید.
برای جزئیات بیشتر به کتابچه راهنمای XenForo مراجعه کنید: https://xenforo.com/docs/xf2/cache/

@@eva2000 همچنین توضیح عمیقی در مورد راه اندازی redis و این افزونه نوشته است:
به "Addon Cache Redis Xon برای Xenforo 2 مراجعه کنید. .x" از:
https://community.centminmod.com/th...pgrade-on-centmin-mod-123-09beta01-lemp-stack. 16060/
عیب یابی

لطفاً توجه داشته باشید که Redis به تأخیر در یک محیط مجازی بسیار حساس است. اگر مکرر خرابی های اتصال یا خطاهای پروتکل تجربه شد، گزینه های Redis Persistence را غیرفعال کنید . گزینه‌ها به‌طور پیش‌فرض، تعداد رشته‌های انجمن ذخیره می‌شوند. به طور کلی، این امر هنگام جابجایی تعداد زیادی از موضوعات از یک انجمن به انجمن دیگر قابل مشاهده است و تعداد کل صفحات اشتباه است.







داشبورد Admincp Statistics Redis با آمار اولیه redis گسترش یافته است:



آمار دیباگر شامل
زمان‌بندی‌های redis در هنگام استفاده از نمای_debug=1 صفحه است . این همه گزینه های 'config' را می گیرد (به جز replicaconfig) برای نمونه های پیکربندی به پرسش های متداول مراجعه کنید. در دسترس بودن بالا مؤلفه Zend از تنظیمات اولیه/مثنی با پشتیبانی Redis Sentinel پشتیبانی می کند. از خوشه بندی چند کارشناسی ارشد Redis پشتیبانی نمی کند.



$config['cache']['config']['load_from_replica']






  • علاوه بر این، این افزونه ذخیره سازی تعداد موضوعات را در یک انجمن اجرا می کند.
  • پشتیبانی از Redis Sentinel برای دسترسی بالا (برای جزئیات به پرسش‌های متداول مراجعه کنید).
اجزای صدور

مجوز تحت مجوز BSD جدید
  • Credis
اجزای دارای مجوز تحت مجوز MIT
  • کد افزونه XenForo
کمک به ویژگی ها یا رفع اشکال
لطفاً یک درخواست GitHub Pull از طریق پیوند "اطلاعات بیشتر" ایجاد کنید.

مشارکت‌ها

اگر از این افزونه قدردانی می‌کنید، لطفاً از طریق PayPal مشارکت کنید. جزئیات از طریق گفتگوی خصوصی ارائه خواهد شد.

لطفاً در صورت تمایل برای ترتیبات مختلف مجوز با من تماس بگیرید.


This add-on uses Credis with a custom cache provider for Redis. For best performance, install the php extension: phpredis

You must have a Redis instance installed, this is likely not possible with shared hosting

While XenForo 2 has a redis connector, it requires phpredis. This add-on does not.

Feature overview
A pure php redis connector
High availability support
Exposes redis cache object for use for use by other add-ons
Implements some minor caching of forum thread counts
Redirect's XenForo's individual css template caching to hit redis as otherwise it causes unexpected write & deadlocking on the xf_css_cache table
Installation



Edit src/config.php and add:​
محتوای بلوک کدها فقط برای اعضا قابل نمایش میباشد , اکنون ثبت نام کنید یا وارد سیستم شوید.


For details see the XenForo Manual: https://xenforo.com/docs/xf2/cache/

@eva2000 has also written an in-depth walkthrough around setting up redis and this add-on:
See "Xon's Redis Cache Addon For Xenforo 2.x" from:

Troubleshooting

Please be aware that Redis is very sensitive to latency in a virtual environment. If repeated connection failures or protocol errors are experienced disable any Redis Persistence options.

Options
By default, forum thread counts are cached. In general, this is observable when moving large number of threads from one forum to another, and the total page counts are wrong.
redis-options.png


Redis Statistics
Admincp dash board is extended with basic redis statistics:

redis-stats.png

Debugger Statistics
Include redis timings when using the _debug=1 view for a page

Read Scaling

With the $config['cache']['config']['load_from_replica'] option, reads can be deferred to a singular replica instance. This takes all the options of 'config' (except the replicaconfig)

See the FAQ for configuration samples.

High availability

The Zend component support primary/replica setups with Redis Sentinel support. It does not support Redis multi-master clustering.
Additionally, this add-on implement caching of thread counts in a forum.
Redis Sentinel support for high-availability (see FAQ for details).
Licencing

Components licenced under; New BSD
Credis
Components licenced under; MIT Licence
XenForo Add-on code
Contributing features or bug fixes
Please create a GitHub Pull request via the "More Information" link.

Contributions

If you appreciate this add-on, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.




نویسنده
practicalsoft
دریافت‌ها
0
بازدیدها
158
اولین انتشار
آخرین بروزرسانی

رتبه‌بندی‌ها

0.00 ستاره 0 رتبه‌بندی

فایل‌های بیشتری از practicalsoft

فایلهای مشابه

Redis Cache By Xon 2.14.0 practicalsoft
دریافت‌ها
0
به‌روزرسانی شده
[Xon] Content Title Edit History v2.3.3 practicalsoft
ویرایش های عنوان را وارد سیستم تاریخچه ویرایش XenForo می کند.
دریافت‌ها
0
به‌روزرسانی شده
[Xon] Standard Library 1.15.2 practicalsoft
تعدادی از ابزارهای کمکی که برای سهولت توسعه افزونه ها
دریافت‌ها
0
به‌روزرسانی شده
[Xon] Word Count Search v2.8.2 practicalsoft
دریافت‌ها
0
به‌روزرسانی شده
Attachment Improvements By Xon 2.6.5 practicalsoft
مجموعه ای از پیشرفت های سیستم پیوست XF.
دریافت‌ها
0
به‌روزرسانی شده
عقب
بالا