开发者

accessing third-party websites repeatedly efficiently

I have to collec开发者_开发百科t the twitter statuses of 100,000+ users daily. Like access twitter for each user. I was wondering what the most efficient way of doing using PHP and mysql (I'm using the Yii PHP framework)? Thanks!


Have a look at the Yii cache functions: http://www.yiiframework.com/doc/guide/1.1/en/caching.data there are many approaches, disk, mysql, redis, etc., the best one for you depends on your set-up, but certainly some kind of cache strategy is advised when fetching 3rd-party data.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜