HI, David and Andrew 
I tried uwsgi according to ur advice, and it works.  thx u so much.

在 2014年9月11日星期四UTC+8上午5时23分55秒,Andrew Hills写道:
>
>  In my experience, nginx+uwsgi gives a significant performance improvement 
> over Apache+mod_wsgi, but I didn’t investigate to find out how much of that 
> comes from better static file service. 
>
>  On Sep 10, 2014, at 4:12 PM, David Trowbridge <trow...@gmail.com 
> <javascript:>> wrote:
>
>  The deployment we've tested most is using apache + mod_wsgi (and 
> sometimes also using nginx for the static media serving). I personally 
> haven't tested it, but nginx+uWSGI should be a fairy big step up over 
> fastcgi. 
>
>  -David
>  
> On Wed, Sep 10, 2014 at 7:18 AM, Magic Chen <magic...@gmail.com 
> <javascript:>> wrote:
>
>> Hi, David, 
>>
>>  Sorry for my poor knowledge for python... I'm a java programmer indeed.
>> I'm wondering if Nginx +uWSGI will work to provide the better 
>> performance? or any other candidate? 
>>
>>  
>>  在 2014年9月10日星期三UTC+8上午5时40分20秒,David Trowbridge写道: 
>>>
>>>  I think a lot of the performance issues you're seeing are probably due 
>>> to using fastcgi. Can you switch to a wsgi-based deployment? 
>>>
>>>  -David
>>>   
>>> On Mon, Sep 8, 2014 at 6:55 PM, Magic Chen <magic...@gmail.com> wrote:
>>>
>>>>
>>>> Hi, David, 
>>>>
>>>>  the nginx conf file was attached. 
>>>> we start the reviewboard using the command below:
>>>> rb-site manage  /opt/reviewboard runfcgi port=3033 host=127.0.0.1 
>>>> protocol=fcgi daemonize=true pidfile=/opt/reviewboard/rb.pid 
>>>> maxspare=20 
>>>>  anything else? 
>>>>
>>>>  thx a lot for ur kindly help.
>>>>
>>>> 在 2014年9月6日星期六UTC+8上午7时51分05秒,David Trowbridge写道: 
>>>>>
>>>>>  Can you give us some information about your web server 
>>>>> configuration? 
>>>>>
>>>>>  -David
>>>>>  
>>>>>
>>>>> On Thu, Sep 4, 2014 at 2:28 AM, Magic Chen <magic...@gmail.com> wrote:
>>>>>  
>>>>>>  Dear all, 
>>>>>>
>>>>>>  I've install the latest 2.0.6 version in a CentOS (4G, 4Core), and 
>>>>>> the functions is working correctly, 
>>>>>> but we noticed that the response time of RB is too slow to be 
>>>>>> accepted, the response time for default dashboard page will cost almost 
>>>>>> 3s...
>>>>>> We use the Postgre and nginx. python version is Python 2.6.6 
>>>>>> (r266:84292, Jan 22 2014, 09:42:36)  [GCC 4.4.7 20120313 (Red Hat 
>>>>>> 4.4.7-4)] 
>>>>>> on linux2
>>>>>> any advice on how to tuning the performance? thx a lot.
>>>>>>
>>>>>>   172.31.125.51 - - [04/Sep/2014:17:16:18 +0800] "GET 
>>>>>> /reviewboard/dashboard/ HTTP/1.1" 200 3161 "http://172.31.159.45/
>>>>>> reviewboard/dashboard/" "Mozilla/5.0 (Windows NT 6.3; WOW64) 
>>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 
>>>>>> Safari/537.36"
>>>>>>   172.31.125.51 - - [04/Sep/2014:17:16:22 +0800] "GET 
>>>>>> /reviewboard/jsi18n/ HTTP/1.1" 200 773 "http://172.31.159.45/reviewbo
>>>>>> ard/dashboard/" "Mozilla/5.0 (Windows NT 6.3; WOW64) 
>>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 
>>>>>> Safari/537.36"
>>>>>>  172.31.125.51 - - [04/Sep/2014:17:21:25 +0800] "GET 
>>>>>> /reviewboard/dashboard/ HTTP/1.1" 200 3161 "http://172.31.159.45/
>>>>>> reviewboard/dashboard/" "Mozilla/5.0 (Windows NT 6.3; WOW64) 
>>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 
>>>>>> Safari/537.36"
>>>>>>  
>>>>>>
>>>>>>   
>>>>>>  -- 
>>>>>> Get the Review Board Power Pack at http://www.reviewboard.org/pow
>>>>>> erpack/
>>>>>> ---
>>>>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>>>>> ---
>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>> --- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "reviewboard" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to reviewboard...@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>  
>>>>>    
>>>>  -- 
>>>> Get the Review Board Power Pack at http://www.reviewboard.org/
>>>> powerpack/
>>>> ---
>>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>>> ---
>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to reviewboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>  
>>>  
>>>     
>>  -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>  
>  
>  
>  -- 
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>  
> 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to