开发者

accessing third-party websites repeatedly efficiently

开发者 https://www.devze.com 2023-03-23 04:13 出处:网络
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 t

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

精彩评论

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