0
我一直在使用Sphinx技术来实现网站,并在php和Node.js中实现。使用PHP和狮身人面像,迄今为止我没有得到任何问题。但随着Node.js和受狮身人面像,我有以下问题迅速,服务器上的Node.js和Sphinx并发连接问题
1. Error: Error: Connection is opening in OnConnect
at Socket.<anonymous> (/usr/local/lib/node_modules/limestone/limestone.js:217:26)
at Socket.emit (events.js:64:17)
at Object.afterConnect [as oncomplete] (net.js:614:10)
2. node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: write EPIPE
at errnoException (net.js:640:11)
at Object.afterWrite [as oncomplete] (net.js:478:18)
我一直在使用石灰石Node.js的模块的Node.js和狮身人面像服务器之间的中间件。我的假设是,由于并发连接请求Sphinx发生上述错误。如果是这样,那么如何避免并发狮身人面像请求。
请对此建议。