摘要: 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 阅读(423) 评论(0) 推荐(0) 编辑
摘要: doNormal方法是阻塞的,需要等到worker处理完之后才返回,否则一直阻塞住; doBackground 方法是非阻塞的,只要将数据发送到gearmand之后,就立马返回,不等待worker的处理,可以先启动client,不启动worker,分别使用doNormal,doBackground看 阅读全文
posted @ 2016-05-31 14:38 maxomnis 阅读(483) 评论(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 阅读(364) 评论(0) 推荐(0) 编辑