Category Archives: Technology

Pretty simple, it’s about technology

Scripting the Zeus/Stingray API

So you are digging the Joyent API, you have your provisioning working with your Chef or Puppet Scripts. Here is a shell script you can use to add that new box to your Stingray load balancer. #!/bin/bash zxtm=localhost /opt/zeus/zxtm/bin/zcli << EOF Pool.addPool [“JoyentDemo”],[[“help.joyent.com:80″,”joyent.com:80″,”wiki.joyent.com:80″]] Pool.setLoadBalancingAlgorithm [“JoyentDemo”], roundrobin Pool.setPassiveMonitoring [“JoyentDemo”], 0 Pool.setMonitors [“JoyentDemo”], “Full HTTP” Pool.setKeepalive [“JoyentDemo”], […]

Posted in Foundations, Technology | Tagged as: , , , | Leave a comment

GDC in SF

Down to San Francisco this week for Game Developers Conference, see you at the Joyent booth

Posted in Technology | Tagged as: , , , , , | Leave a comment

Load Balance by domain name

Wrote this little bit of TrafficScript for some clients today and published to the Joyent wiki. I think it’s pretty readable. $hostHeader = http.getHostHeader(); if( $hostHeader == “domain.com” || $hostHeader == “www.domain.com”){ pool.select( “domain.com-pool” ); } else if( $hostHeader == “another-domain.com” ){ pool.select( “another-domain.com-pool” ); Enjoy

Posted in Foundations, Technology | Tagged as: , , | Leave a comment

Scaling WordPress in the Joyent Cloud Part 3

You have hit the big time with your WordPress blog, GigaOM and Nikki Finke think you are the most influential blogger on the planet. Congratulations, your mysql database is about ready to crash or worse, it already has. In this post I discuss what you need to do with your database to keep this beast […]

Posted in Foundations, Technology | Leave a comment

Too cool Nokia 4D projection system w/deadmau5

This is something special to watch

Posted in Foundations, Multimedia, Technology | Tagged as: , , | Leave a comment