[wp-hackers] Plugin Update

Brian Krausz brian at nerdlife.net
Mon Jan 26 08:46:32 GMT 2009

As a compromise couldn't you allow plugin writers to register their plugins
on WP.org for the sole purpose of checking updates.  Your server could do
pings to these sites once a day, and then relay the pings to plugin

Also, I don't think a single ping every 24 hours (a reasonable timeframe for
pushing update notification), spread out randomly throughout the day, would
kill a server.  In order to hit more than an expected 1rqs, a trivial load,
you would need 86k installs (realistically with time distributions this
would be more like 40k, but if you have 40k plugin installs, can setup an
update notification file properly, and you can't handle 1rqs on your own
server, there's something wrong.

Personally I like the first option for a much better user experience.  Plus
the WP codebase doesn't need to be touched...only the server code.


On Mon, Jan 26, 2009 at 1:14 AM, DD32 <wordpress at dd32.id.au> wrote:

> Auto update and integrating with WP is easy if you know where to look/hook
> :)
> The reason i've decided to do it this way rather than letting authors
> specify a URL in the plugin is mainly due to load, Some authors are
> simply not going to want to deal with a potential large number of
> requests, And if many plugins take it on, Then thats umpteen requests
> being made from each plugin/theme.. and potentially not all going to
> return within a decent time frame..
> My approach means there'd be 1 chokepoint.. my server.. which could
> end up being a real bad thing.. but assuming things work cleanly and
> fast.. there shouldnt be too much of a problem, But it reduces the
> load on authors servers too (I know a lot of authors have hosts with
> slim available resources). But it also means 1 extra HTTP request per
> update check, even if a dozen plugins use the system.. which should be
> much faster for end-users of the plugins.
> 2009/1/26 Stephen Rider <wp-hackers at striderweb.com>:
> > I'm actually working on something similar.  It allows a plugin to check a
> > URL for the latest version, and integrated the update notice into the
> > standard WP system if one is available.
> >
> > No auto update, but auto version check.
> >
> > Stephen
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list