In a dynamic cloud environment, distributing JAR files can become a bit of a pain. SSH key-swapping, scp, and rsync work okay, but wouldn't it often be better to load those class files dynamically? J. Brisbin's virtual private cloud utilities, Apache licensed and available on Github, have a new component for handling just such ticklish situations. It's a distributed ClassLoader that uses RabbitMQ to asynchronously load Java bytecode from a provider configured to expose certain class files to the cloud. This would also allow you to secure your bytecode by providing it to runtimes, which cache it in memory, but never having to write that bytecode to a disk, among many other possibilities. The blog post announcing it is on JBrisbin.com: Cloud-friendly Classloading with RabbitMQ
-
Cloud-friendly Classloading with RabbitMQ (3 messages)
- Posted by: J. Brisbin
- Posted on: July 01 2010 10:47 EDT
Threaded Messages (3)
- Interesting stuff! by Joseph Ottinger on July 01 2010 12:28 EDT
- Please stop cloud washing a few Java classes & ignoring ops by William Louth on July 01 2010 14:22 EDT
- Totally agree by Wojciech Kudla on July 05 2010 03:44 EDT
- Please stop cloud washing a few Java classes & ignoring ops by William Louth on July 01 2010 14:22 EDT
-
Interesting stuff![ Go to top ]
- Posted by: Joseph Ottinger
- Posted on: July 01 2010 12:28 EDT
- in response to J. Brisbin
Very cool - although a lot of cloud providers already support some of this. Definitely worth looking at, though.
-
Please stop cloud washing a few Java classes & ignoring ops[ Go to top ]
- Posted by: William Louth
- Posted on: July 01 2010 14:22 EDT
- in response to Joseph Ottinger
Joseph you forgot to add that most mature enterprise customers staffed with operations not hired directly from kindergarden school immediately disable such dynamic classloading over the wire (or messaging channel). They might use a similar offline push mechanism to install (on the file) & deploy new versions of libraries but rarely do they opt for this to be done magically and completely out of the control of those responsible for change/control management.
-
Totally agree[ Go to top ]
- Posted by: Wojciech Kudla
- Posted on: July 05 2010 03:44 EDT
- in response to William Louth
Not mentioning the fact that when you start using it you completely give away the control of class versioning and dependency wiring. This is were things start to get really messy.