博客很卡,有没有考虑加个cdn
又拍云cdn,送67元的劵。基本相当于是免费cdn
Hi,
Diaspora uses event machine, which is a library for ruby based on the reactor pattern. As a result, you need to use thin/or Rainbows! with the Event Machine backend as your app server, and nginx as your server. The websocket libs and the message queue won't work without them. Thanks for your comment, I will update the readme accordingly.
So in order to get this working on Apache or NGinx web server, we have to run another ruby based webserver (ie app server) on the same machine. LAME. DOA.
maxwell: Do you mean I should proxy from Nginx to the app running via thin/Rainbows! ?
Will try that out, thanks!
Qn: Should I be proxying requests from nginx to thin running on another port, or should I be connecting nginx to thin using unix domain sockets?
(basically which of the options here is preferred: http://code.macournoyer.com/thin/usage/ )
Hi, we use unix domain sockets, as in our thin.yml and nginx.conf in the production branch. I'm closing this issue, since it's more of a installation instruction than a bug.