<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>鲸云论坛 - 架构扩展</title>
    <link>http://43.154.28.57/forum-39-1.html</link>
    <description>Latest 20 threads of 架构扩展</description>
    <copyright>Copyright(C) 鲸云论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 13 Jun 2026 23:15:16 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://43.154.28.57/static/image/common/logo_88_31.gif</url>
      <title>鲸云论坛</title>
      <link>http://43.154.28.57/</link>
    </image>
    <item>
      <title>MySQL 优化</title>
      <link>http://43.154.28.57/thread-186-1-1.html</link>
      <description><![CDATA[在整个 Discuz! X2.5 产品中，为了提供效率,需要对 SQL 做相应的优化。有时候不能忽略一些细小的优化，当出现过多未优化的细节时，也能带来致命的负载问题。
延迟更新机制例如：首页的在线人数等，在实际产品中，有些数据不一定需要实时更新的，因为对于这类型的数据来 ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:26:44 +0000</pubDate>
    </item>
    <item>
      <title>PHP 优化</title>
      <link>http://43.154.28.57/thread-185-1-1.html</link>
      <description><![CDATA[PHP的优点之一是高速，但不能因为他的执行效率高而不对PHP的代码进行优化处理。在没有经过优化处理过的逻辑将会拖慢整个程序的执行效率。下面分析几个常见的问题:
文件绝对路径在includes和requires中使用绝对路径，这样在分析路径花的时间更少。
循环与函数在循环里别 ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:26:00 +0000</pubDate>
    </item>
    <item>
      <title>功能优化</title>
      <link>http://43.154.28.57/thread-184-1-1.html</link>
      <description><![CDATA[为了提高产品的性能和效率，除了在MySQL和PHP方面做了优化处理外，Discuz! X2.5更重要的是在功能上进行了大量的调整。
member表优化
当一个数据表的数据量越来越大时，关于这个表的查询和更新操作就会变量越来越慢，为了提高数据库表的响应速度，应该时刻保持表数据的精 ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:24:34 +0000</pubDate>
    </item>
    <item>
      <title>内存级缓存优化</title>
      <link>http://43.154.28.57/thread-183-1-1.html</link>
      <description><![CDATA[缓存层的引入是为了解决MYSQL自身对高并发处理的性能瓶颈，目前产品缓存层采用主流的Key-Value对形式，内存级的缓存产品很多，支持的内存优化接口有 Memcache、eAccelerator、Alternative PHP Cache(APC)、Xcache、Redis 五种，优化系统将会依据当前服务器环境依次选用 ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:20:13 +0000</pubDate>
    </item>
    <item>
      <title>缓存类型</title>
      <link>http://43.154.28.57/thread-182-1-1.html</link>
      <description><![CDATA[缓存机制简单的说就是将一些重复操作的结果集保存下来，在收到同样的操作时直接从缓存的结果集中取出相应的数据直接使用，这样做的好处是降低重复性的解析或者SQL查询之类的动作，从而有效的缓解服务器的压力。在 Discuz! X2.5 中用到了模板缓存、文件缓存、数据缓存的 ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:19:13 +0000</pubDate>
    </item>
    <item>
      <title>缓存原理</title>
      <link>http://43.154.28.57/thread-181-1-1.html</link>
      <description><![CDATA[缓存更新原理如下：以下是缓存的工作原理，在开发过程中当你调用到缓存时，只需要确认你要使用的缓存名称，然后调用loadcache($cachenames, $force)就可以获取到你原先保存的缓存内容。]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:18:22 +0000</pubDate>
    </item>
    <item>
      <title>缓存调用</title>
      <link>http://43.154.28.57/thread-180-1-1.html</link>
      <description><![CDATA[loadcache 函数
缓存调用方式可以直接传给loadcache($cachenames, $force = false)一个缓存名称后就可以获取到缓存数据。例如：

执行上面的调用后就可以在$_G[\'cache\'][\'plugin\']中获取到相应的缓存数据updatecache 函数
缓存更新，在你对相应的缓存数据操作完后只需要 ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:18:00 +0000</pubDate>
    </item>
    <item>
      <title>config配置</title>
      <link>http://43.154.28.57/thread-179-1-1.html</link>
      <description><![CDATA[在config配置中可以打开相应的安全开关
站点 authkey
站点authkey，是站点中一个非常重要的Key,用来加密与加密的加密串，当怀疑站点发生authkey泄漏可以通过这里变更一个Key。

XSS 防御设置


CC 攻击防御当你的站点发现被CC攻击时，你也可以在config中打开CC攻击防御, ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:16:37 +0000</pubDate>
    </item>
    <item>
      <title>访问配置</title>
      <link>http://43.154.28.57/thread-178-1-1.html</link>
      <description><![CDATA[限制后台访问的 IP
为了保证后台管理安全，在实际运营过程中，你可以限定该问后台的IP列表，当你配置IP后，在列表以外的地址将无法正常访问到你的后台


管理后台入口程序更名
对admin.php进行更名操作也是一种防御手段，可以改成任意以.php结尾的文件名
 ...]]></description>
      <category>架构扩展</category>
      <author>鲸云网络</author>
      <pubDate>Sun, 05 Jan 2020 02:14:42 +0000</pubDate>
    </item>
  </channel>
</rss>