如题所述
ããworkermanæ¯ä¸ä¸ªé«æ§è½çPHP socket æå¡å¨æ¡æ¶ï¼workermanåºäºPHPå¤è¿ç¨ä»¥ålibeventäºä»¶è½®è¯¢åºï¼PHPå¼åè
åªè¦å®ç°ä¸ä¸¤ä¸ªæ¥å£ï¼ä¾¿å¯ä»¥å¼ååºèªå·±çç½ç»åºç¨ï¼ä¾å¦Rpcæå¡ãè天室æå¡å¨ãææºæ¸¸ææå¡å¨çã
ããworkermançç®æ æ¯è®©PHPå¼åè æ´å®¹æçå¼ååºåºäºsocketçé«æ§è½çåºç¨æå¡ï¼èä¸ç¨å»äºè§£PHP socket以åPHPå¤è¿ç¨ç»èã workermanæ¬èº«æ¯ä¸ä¸ªPHPå¤è¿ç¨æå¡å¨æ¡æ¶ï¼å ·æPHPè¿ç¨ç®¡ç以åsocketéä¿¡ç模åï¼æ以ä¸ä¾èµphp-fpmãnginxæè apacheçè¿äºå®¹å¨ä¾¿å¯ä»¥ç¬ç«è¿è¡ã
ããworkermançç®æ æ¯è®©PHPå¼åè æ´å®¹æçå¼ååºåºäºsocketçé«æ§è½çåºç¨æå¡ï¼èä¸ç¨å»äºè§£PHP socket以åPHPå¤è¿ç¨ç»èã workermanæ¬èº«æ¯ä¸ä¸ªPHPå¤è¿ç¨æå¡å¨æ¡æ¶ï¼å ·æPHPè¿ç¨ç®¡ç以åsocketéä¿¡ç模åï¼æ以ä¸ä¾èµphp-fpmãnginxæè apacheçè¿äºå®¹å¨ä¾¿å¯ä»¥ç¬ç«è¿è¡ã
温馨提示:答案为网友推荐,仅供参考