Yii Framework Forum: Getassetmanager不适用于负载均衡 - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Getassetmanager不适用于负载均衡

#1 User is offline   colee 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 30-September 12

Posted 13 October 2012 - 10:35 AM

如果在多台主机做负载均衡,以下方式
Yii::app()->getAssetManager()->publish()
发布的资源不会在每台主机上发布文件,这样YII提供的很多widget都无法使用,2.0中要不要考虑别的办法解决呢?

另外,现在及长远考虑,流行的云环境如sinaapp的SAE及aliyun\Amazon等均不支持程序的写入操作,像CGridView这样的widget都无法适从,我们是不是该考虑一些别的办法?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users