Re: Cached Results to Reduce Server Load--Is it Acceptable?
[email protected] Sun, 27 Sep 2009 08:18:04 +0000 (UTC)
| Newsgroups | gmane.network.gnutella.devel |
|---|---|
| Organization | Home, Grenoble, France |
| Message-ID | <[email protected]> |
Quoting majortommib <[email protected]> from ml.gnutella.dev-forum: :I'm receiving a million+ requests/day while testing the Beacon php GWC code. To :reduce the load on the server I've created two static result pages updated every :minute resulting in a significant reduction in cpu usage. : :Two questions, first given the concept behind the GWC, are results as old as one :minute acceptable and second are the changes I made working properly. I cannot comment on whether your setup is doing what you want (i.e. that the files are indeed updated once every minute only) but I can comment on whether this is acceptable. The answer is yes. Instead of setting up GWCs, you should however provide UHCs and make their hostname:port available to Gnutella vendors for bootstrapping reasons. Some Gnutella vendors like gtk-gnutella chose (with very valid reasons) to no longer support GWCs anyway, so they are neither queried nor updated. Only UHCs are used for bootstrapping, and only when the local hostcache, filled by previous runs, is not enabling reconnection to the network. Raphael