Tentacled caching

If you have no interest in the technical side of Second Life, feel free to skip this article.

I run Squid to cache textures, mesh, and other assets that the Second Life servers asks the viewer to fetch to render regions and avatars.  You can read all about using Squid with Second Life via Firestorm’s website.  It’s quite a lot of technical work to set up, and I wouldn’t recommend the casual SL user attempt it.  However, if you have the spare computer resources and know what you’re doing, it can speed up rendering of frequently visited regions tremendously, and save on bandwidth too.

As I’m a software geek, I have an engineering mindset, and let me tell you, we engineers love to measure things.  So once Squid is set up, you can use something like Calamaris to measure the performance of the external cache.  Here’s a screen shot of my performance statistics for just over a week.

I’ve highlighted the interesting numbers in yellow.  I did 567764 requests (asking SL to send me a texture or a mesh, etc) and of those, I found 373864 assets already in my cache, giving me a “Request hit rate” of 373864 * 100 / 567764 ~= 65%, which is pretty good!

Even better are my bandwidth savings.  Without Squid doing its thing, I would have loaded nearly 14.5 gigabytes of assets.  As it was, I loaded less than 2 gigabytes, saving me over 12.5 gigabytes of download.  I saved 87% of my bandwidth requirements!  And Squid estimated my “browsing” performance improvements were a 671% speedup.  That’s pretty cool!

I said “even better” at the start of the last paragraph, but saving bandwidth is exactly what I’m tuning for.

There are a lot of knobs and switches in the Squid configuration file.  Depending on which cache replacement policy you choose, you’ll get either more cache hits or more bandwidth savings.  I’d rather have large assets like mesh instantly load and then perhaps take a little longer to texture.  You can achieve this by tweaking the cache settings after seeing what the cache performance does on average.  That’s why I said at the start that you have to know what you’re doing 🙂


Maysa

This is a group gift for members of the teleporthub.com group.  The group is a tiny L$10 to join.

The top and dress are all one piece.  Included are sizes for Lara, Lara Petite, Legacy, Legacy Perky, Kupra, and Reborn.  There are a few places where you’ll need to employ your body’s alpha to prevent clips, but all in all this is a very nice combination, and the neutral colors suit me.  I’m sure this will get a few wears!


Ava

Here’s a FREE group gift from Belle Epoque for members of the teleporthub.com group.

The outfit is all one piece, and it’s sized to fit Lara, Lara Petite, Legacy, and Legacy Perky.  No actual leopards were harmed making this dress 🙂


Hella

This is a FREE gift for members of the teleporthub.com group. teleporthub.com is L$10 to join, and gives you access to gifts from creators all over the grid.

Sometimes, simple is just perfect.  The simple subtle stripe on the fabric combined with the ombré looks great!  There are sizes for Lara, Lara Petite, Legacy, Legacy Perky, Hourglass, and Kupra.  There is even an alpha included.


Persistent storage!?!?

No interest in scripting?  You might like to skip this article 🙂

For those of you who have done any advanced programming in LSL, you’ll know that one of the big things missing from the language is that there is no persistent storage mechanism.  For example, you can read a notecard, but you cannot write one from script, so there is no way to store information that will survive a script reset unless you resort to using an external database via http (or other depreciated) functions.

All that might be about to change, as Rider Linden has just created a wiki page called LSL Linkset Data, in which he describes a set of LSL functions for writing, reading, and deleting up to 64K of key/values pairs associated with a linkset.  The memory to support this is not associated with any script memory, so it will survive script resets.  It will also survive object copy and the transfer of the object to a new owner!

This is very exciting news!  Using http to talk to a script on a webserver is slow, and programming it is cumbersome and difficult to debug.  This new functionality is something we scripters have been dreaming of for years.  Let’s hope it’s not just a proposal but the real deal!

 


Nomi

I found this harness top today as a group gift at Asteria Boutique.  Their group is currently L$100 to join, but they’ve had free group join weekends in the past, so keep your eyes open!

The top is sized to fit Lara, Lara Petite, Legacy, Legacy Perky, Freya, Isis, Venus, Hourglass, and Kupra.  The harness and fringe only comes in this one color, but it does have a HUD to let you select from eight colors for the bra.

  • Top: “Nomi” by Asteria
  • Pants: Free Dove Hunt – #5 by WellMade (these were a hunt item and are no longer available)
  • Body: Lara by Maitreya
  • Face: Jennifer by GA.EG
  • Hands: Slink
  • Hair: Ruda2 by Monso

 


Siri

This is a FREE group gift from MAAI.  MAAI’s group is FREE to join.  Now, having been too busy recently to chase group gifts and such, I’m not sure if this gift is from September or October, and if it’s from September, it might vanish at any time, so run and get it!

Sizes include Lara, Lara Petite, Legacy, Legacy Perky, Kupra, and Reborn.  As you can see, this is very materials enabled, and reflects just like shiny latex should 🙂

  • Dress: Siri Latex Dress by MAAI
  • Body: Lara and Lara Petite add-on by Maitreya
  • Face: Jennifer by GA.EG
  • Hands: Slink
  • Hair: Ruda2 by Monso

Odelia

This is a FREE group gift dress for members of the teleporthub,com group.  The teleporthub.com group has a one-off join fee of L$10, and it gives you access to gifts from creators all over the grid.

Included are sizes for Lara, Legacy, Freya, Isis, Venus, Hourglass, and Physique.  The dress also comes in the five standard mesh sizes for classic avatars.

The HUD allows you to fully customize the dress, from selecting from twenty colors and patterns, to hiding or changing the transparency of parts of the dress.  And the pattern is super cute too!


Gloria

This bikini is a FREE group gift from Pure Poison.  Their group is FREE to join.

The top and bottoms are separates and are sized for Lara, Legacy, and Kupra, with additional top sizes for Lara Petite, Legacy Perky, Kupra Low, and Kupra Bimbo.  There’s a HUD included that lets you set the main fabric colors and patterns (twenty three options) as well as the trims (nine options).

As well as all this, the bikini is strip-able with appropriate permission controls so you can control who may strip you.