SpringAll icon indicating copy to clipboard operation
SpringAll copied to clipboard

博客很卡,有没有考虑加个cdn

Open youthlql opened this issue 4 years ago • 0 comments

又拍云cdn,送67元的劵。基本相当于是免费cdn

youthlql avatar Jul 03 '21 02:07 youthlql

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.

maxwell avatar Sep 16 '10 06:09 maxwell

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.

ghost avatar Sep 16 '10 08:09 ghost

maxwell: Do you mean I should proxy from Nginx to the app running via thin/Rainbows! ?

Will try that out, thanks!

shajith avatar Sep 16 '10 14:09 shajith

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/ )

shajith avatar Sep 16 '10 15:09 shajith

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.

rsofaer avatar Sep 20 '10 23:09 rsofaer