Re: Review Board 2.0.6 performance issue
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 javascript: 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/ 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: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/ 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Review Board 2.0.6 performance issue
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 magic4w...@gmail.com 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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Review Board 2.0.6 performance issue
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 trowb...@gmail.commailto:trowb...@gmail.com 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 magic4w...@gmail.commailto:magic4w...@gmail.com 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/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: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/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. 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.commailto:reviewboard+unsubscr...@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+unsubscr...@googlegroups.commailto:reviewboard+unsubscr...@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/ ---
Re: Review Board 2.0.6 performance issue
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 magic4w...@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/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: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/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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Review Board 2.0.6 performance issue
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 javascript: 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/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: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/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. user redmine; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pidlogs/nginx.pid; events { worker_connections 1024; } http { passenger_root /usr/local/rvm/gems/ruby-2.1.2@rails32/gems/passenger-4.0.46; passenger_ruby /usr/local/rvm/gems/ruby-2.1.2@rails32/wrappers/ruby; client_max_body_size 5000M; include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user $time_local] $request $http_host ' '$status $body_bytes_sent $http_referer ' '$http_user_agent $http_x_forwarded_for $request_time ' '$upstream_addr $upstream_status $upstream_response_time'; #access_log logs/access.log main; sendfileon; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; server { listen 80; server_name ecommerce.ios; root /opt/nginx/html; indexindex.html; location /index.html { root /opt/nginx/html; } location ~ ^/redmine(/.*|$) { alias /opt/redmine-2.5/public$1; passenger_base_uri /redmine; passenger_app_root /opt/redmine-2.5; passenger_document_root /opt/redmine-2.5/public; passenger_enabled on; } location /jenkins { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://localhost:28080/jenkins; } location /artifactory { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://localhost:28080/artifactory; } location /art { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For
Re: Review Board 2.0.6 performance issue
No idea if settings.py, and settings_local.py will help. :) 在 2014年9月9日星期二UTC+8上午9时55分10秒,Magic Chen写道: 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/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: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/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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. # Django settings for reviewboard project. from __future__ import unicode_literals import os import re import sys import djblets from django.core.urlresolvers import reverse # Can't import django.utils.translation yet _ = lambda s: s DEBUG = True ADMINS = ( ('Example Joe', 'ad...@example.com') ) MANAGERS = ADMINS # Time zone support. If enabled, Django stores date and time information as # UTC in the database, uses time zone-aware datetime objects, and translates # them to the user's time zone in templates and forms. USE_TZ = True # Local time zone for this installation. All choices can be found here: # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE # When USE_TZ is enabled, this is used as the default time zone for datetime # objects TIME_ZONE = 'UTC' # Language code for this installation. All choices can be found here: # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes # http://blogs.law.harvard.edu/tech/stories/storyReader$15 LANGUAGE_CODE = 'en-us' # This should match the ID of the Site object in the database. This is used to # figure out URLs to stick in e-mails and related pages. SITE_ID = 1 # The prefix for e-mail subjects sent to administrators. EMAIL_SUBJECT_PREFIX = [Review Board] # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = False # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( ('djblets.template.loaders.conditional_cached.Loader', ( 'django.template.loaders.filesystem.Loader', 'djblets.template.loaders.namespaced_app_dirs.Loader', 'djblets.extensions.loaders.load_template_source', )), ) MIDDLEWARE_CLASSES = [ # Keep these first, in order 'django.middleware.gzip.GZipMiddleware', 'reviewboard.admin.middleware.InitReviewBoardMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.doc.XViewMiddleware',
Re: Review Board 2.0.6 performance issue
Can you give us some information about your web server configuration? -David On Thu, Sep 4, 2014 at 2:28 AM, Magic Chen magic4w...@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/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: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/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. -- 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.