ObSrv Performance Improvements

I’ve improved the load speed of the ObSrv home page. Sometimes it would take a long time to load.

I’ve also improved the speed of the image feeds. It still can be sluggish at times – that’s because it’s heavily used, but to counteract this, the Image Feed will ignore requests from the same computer if they come more frequently than about once every 3 or 4 seconds.

For most people this won’t be a problem, and the only time you really notice delays on the Image Feed is if you try and display it in your browser.

If site performance is still an issue for you, please let me know.

Around Pine Rivers

Here’s a brief description of each of the photos in the “Around Pine Rivers” theme for iGoogle.

If you’ve got any suggestions, corrections or improvements, please let me know.

Click on the images for a larger view.

[singlepic id=33 w=480] Bell’s Scrub is the only remaing parcel of virgin lowland vine rainforest in the Pine Rivers district.
See http://blog.neilennis.com/index.php/bells-scrub-lawnton/

[singlepic id=34 w=480] [singlepic id=35 w=480] [singlepic id=38 w=480] [singlepic id=40 w=480] Some of the stunning late afternoon views in my street.
see: http://blog.neilennis.com/index.php/everyday-beauty/

[singlepic id=36 w=480] Fleeting glimpses of childhood on the North Pine River.
See http://blog.neilennis.com/index.php/fleeting-glimpses-of-childhood/

[singlepic id=37 w=480] Christmas Beetle.
See: http://www.flickr.com/photos/magictyger/sets/72157603351606109/
Wikipedia Article: http://en.wikipedia.org/wiki/Anoplognathus_pallidicollis

[singlepic id=39 w=480] Lightning in the Gum Trees.
See: http://blog.neilennis.com/index.php/lightning-in-the-gum-trees/

[singlepic id=41 w=480] Ebert Family Vineyard.
See: http://blog.neilennis.com/index.php/echoes-in-the-vineyard/

[singlepic id=42 w=480] Stephen Lawn Park.
See: http://blog.neilennis.com/index.php/nuts-about-history/

[singlepic id=43 w=480] Lake Samsonvale.
See: http://blog.neilennis.com/index.php/lake-samsonvale-2/
Wikipedia article: http://en.wikipedia.org/wiki/Lake_Samsonvale

[singlepic id=44 w=480] South Pine River near the site of the old Normanby Rum Distillery.
See http://blog.neilennis.com/index.php/bikes-rivers-old-rum/

[singlepic id=45 w=480] Yebri Creek.
See http://blog.neilennis.com/index.php/exploring-on-sunday/

[singlepic id=46 w=480] Sunset on the North Pine River.
See: http://blog.neilennis.com/index.php/sunset-on-the-north-pine-river/

[singlepic id=47 w=480] Lake Kurwongbah.
See http://blog.neilennis.com/index.php/cycling-by-the-lake/
Here’s a wikipedia article: http://en.wikipedia.org/wiki/Lake_kurwongbah

Why only 21 images at a time?

Aaron asked a good question they other day.

Why does ObSrv only ever return 21 images at one time?

I thought it was a bug in my code, but it’s not. ObSrv pulls images from Google Image Search, and Google only ever returns 21 images in one go.

But this is not a problem. The images are embedded into a MediaRSS feed. That feed is cached for a maximum of one hour. After this time if you request the same feed, ObSrv will search again, but it will add in up to 21 extra images that weren’t shown last time.  So on subsequent calls you’ll get more than 21 images in the feed.  In the unlikely event that it runs out of images, it starts searching from the beginning again.

So although there’s nothing I can do about the 21 images at a time issue, it’s not a major problem because you will get more images after the feed refreshes – but remember, to save server resources (and to stop Google from banning me) it waits an hour between doing searches on the same terms.