[wp-meta] [Making WordPress.org] #5310: Improve WordPress.org Server Performance - globally

Making WordPress.org noreply at wordpress.org
Thu Jul 9 04:42:10 UTC 2020


#5310: Improve WordPress.org Server Performance - globally
--------------------------------+---------------------
 Reporter:  thegulshankumar     |       Owner:  (none)
     Type:  defect              |      Status:  new
 Priority:  normal              |   Milestone:
Component:  WordPress.org Site  |  Resolution:
 Keywords:  reporter-feedback   |
--------------------------------+---------------------
Changes (by dd32):

 * keywords:   => reporter-feedback


Comment:

 Hi @thegulshankumar can you provide any further details here?

 While I agree it's not great that the response time from some parts of the
 world are not amazingly fast, the provided error message suggests that the
 connection averaged 512KB/s over 30seconds which is much slower than I
 would anticipate for most servers.

 If this is on a residential connection (or a speed-limited server), which
 512KB/s suggests, then the WordPress.org servers aren't the limitation
 here, it's simply that the ZIP files are much larger than the connection
 can handle.

 WordPress internally increases the timeout for the ZIP downloads from 5s
 to 30s to account for slower connections, but that's obviously not high
 enough in this case.

 I would suggest that in this specific situation, you should consider
 increasing all HTTP timeouts, which can be done through a plugin such as
 the following:
 {{{
 /*
  * Plugin Name: Increase HTTP Timeouts to a minimum of 60s.
  */
 add_filter( 'http_request_timeout', function( $timeout ) {
    return max( 60, $timeout ); // Minimum of 60s timeouts.
 } );
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5310#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list