随笔分类 -  分布式

摘要:Examples: Multi-Query In this example we know that we need to fetch several result sets from a database. Traditionally you would make the requests one 阅读全文
posted @ 2016-05-31 15:31 maxomnis 阅读(436) 评论(0) 推荐(0)
摘要:doNormal方法是阻塞的,需要等到worker处理完之后才返回,否则一直阻塞住; doBackground 方法是非阻塞的,只要将数据发送到gearmand之后,就立马返回,不等待worker的处理,可以先启动client,不启动worker,分别使用doNormal,doBackground看 阅读全文
posted @ 2016-05-31 14:38 maxomnis 阅读(507) 评论(0) 推荐(0)
摘要:What is Gearman? Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the wor 阅读全文
posted @ 2016-05-31 11:53 maxomnis 阅读(387) 评论(0) 推荐(0)
摘要:解决configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. yum install re2c 阅读全文
posted @ 2016-05-30 18:06 maxomnis 阅读(133) 评论(0) 推荐(0)