Deploying distributed applications
Developing a strategy for application deployment is always hard. Every environment has its own characteristics. It's far easier to see the problem with popular applications that are installed by the end user. Custom applications are sometimes installed by an expert; sometimes the developer himself is available to do it. This helps to make the difficulty of this task to be greatly underestimated. The result is something that seasoned programmers will readily recognize: an installation that “should be a snap” takes many hours, or even days, to finish - and sometimes the developer just gives up as it discovers that the application, after all, was not ready for deployment. It's not enough to have the application working on the development environment.
Distributed applications bring this problem to a new level. The developer has now a lot of variables to predict; the interaction between the parts can have surprising results. It's not always obvious what is to best way to start up all the pieces, because they may exhibit circular dependencies. Bootstrapping a distributed application is much harder than installing a simple one.
I'm now writing code to 'bootstrap' one such application. It's a complex application that has several independent server processes communicating with XMLRPC. It's interesting to note how many issues pop up while doing it. For example: simple applications usually have a single test sequence. But distributed applications have to test combinations of components; they must fail gracefully when a server is not online. Some tests may require different combinations of servers, with different configurations. It's something that goes way beyond the features provided by the unittest module.
Starting the server in production mode is also a chore. It requires starting all individual servers, often in separate machines, all sharing some common configuration. This is an error prone task, specially if done manually. On the other hand, it's something difficult to automate because there are many things that can go wrong. At this point, I can only hope to get it right.
On a related note, I've found today a small gem: a Python library that encapsulates the Standard Windows Management Instrumentation framework. If you need it, check Tim Golden's wmi module. In my case, I had to download some updates from Microsoft to have WMI running on Win98. I'll post my experiences later when I finish testing it.
Distributed applications bring this problem to a new level. The developer has now a lot of variables to predict; the interaction between the parts can have surprising results. It's not always obvious what is to best way to start up all the pieces, because they may exhibit circular dependencies. Bootstrapping a distributed application is much harder than installing a simple one.
I'm now writing code to 'bootstrap' one such application. It's a complex application that has several independent server processes communicating with XMLRPC. It's interesting to note how many issues pop up while doing it. For example: simple applications usually have a single test sequence. But distributed applications have to test combinations of components; they must fail gracefully when a server is not online. Some tests may require different combinations of servers, with different configurations. It's something that goes way beyond the features provided by the unittest module.
Starting the server in production mode is also a chore. It requires starting all individual servers, often in separate machines, all sharing some common configuration. This is an error prone task, specially if done manually. On the other hand, it's something difficult to automate because there are many things that can go wrong. At this point, I can only hope to get it right.
On a related note, I've found today a small gem: a Python library that encapsulates the Standard Windows Management Instrumentation framework. If you need it, check Tim Golden's wmi module. In my case, I had to download some updates from Microsoft to have WMI running on Win98. I'll post my experiences later when I finish testing it.
48 Comments:
At May 3, 2005 at 4:14 AM,
Michael Van Wesenbeeck said…
Nice article,
I'm interested in seeing the rest of it. ;-)
At October 2, 2005 at 8:51 AM,
Steve Austin said…
Interesting blog. I have a weather xml blog.
At February 15, 2006 at 9:08 AM,
Best Home Based Business said…
Wondrous blog. Your site was very pleasing and I
will go back again! I like surfing the net for blogs
as good as yours.
Look into my based business business business home home home idea opportunity work blog.
At December 9, 2006 at 9:33 PM,
Scott A. Edwards said…
Are You an Advanced Marketer? Click here to learn how to broadcast thousands of messages directly to people's desktops with just a click from your mouse, Spam Free. Learn more about it here: making money on the internet site. It pretty much covers making money on the internet related stuff and it is FREE to join.
At December 10, 2006 at 10:13 AM,
Scott A. Edwards said…
This is COOL...!!! Dear friends, Now you can help yourself take advantage of the huge frenzy of FREE advertising in your spare time, while in the comfort of your own home. Hook up NOW with this exiting program. Click here: FREE INFORMATION
At December 10, 2006 at 12:05 PM,
Scott A. Edwards said…
Dear friends, Now you can help yourself take advantage of the huge surpluses of FREE advertising in your spare time, in the comfort of your own home. Hook up NOW with this exiting program. Click here: FREE INFORMATION
At December 10, 2006 at 4:37 PM,
Scott A. Edwards said…
WATCH CAREFULLY...Here it is... FREE advertising, FREE download. No cost to you! Get your FREE download NOW! Make money and get FREE advertising! This is a great program for you to take advantage of... Check this out now for FREE!
To find out more visit: mlm site. It successfully exposes FREE information covering traffic and mlm related stuff. Don't forget, FREE, FREE, FREE!!!
At December 10, 2006 at 6:31 PM,
Scott A. Edwards said…
Are You an Advanced Marketer? Click here to learn how to broadcast thousands of messages directly to people's desktops with just a click from your mouse, Spam Free. Learn more about it here: multi-level marketing site. It pretty much covers multi-level marketing related stuff and it is FREE to join.
At December 10, 2006 at 8:10 PM,
Scott A. Edwards said…
Attention Blog Owners...!!! WARNING: A new immensely powerful viral marketing system has been released, which allows marketers to broadcast messages directly to people's desktops. Learn more about it here: home based business opportunity internet home business site. It pretty much covers home based business opportunity internet home business related stuff and it is FREE to join.
At December 22, 2006 at 12:39 PM,
Scott Arthur Edwards said…
Check this out for FREE...
This opportunity says:
"Your Ad" Will Be Instantly Displayed on Thousands of Websites and Read By Over 10 Million People Per Week For FREE, and It Only Takes 60 Seconds To Get Started!
To find out more visit: marketing global online site. It successfully exposes FREE information covering Traffic and marketing global online related stuff.
At December 22, 2006 at 12:42 PM,
Anonymous said…
This is COOL...!!! Dear friends, Now you can help yourself take advantage of the huge frenzy of FREE advertising in your spare time, while in the comfort of your own home. Hook up NOW with this exiting program. Click here: FREE INFORMATION
At February 2, 2007 at 10:41 AM,
Anonymous said…
Good morning,
I don't know if for you is the same but I love the world where we live in, especially for the new technology and at the present time it sounds hard to me to stay without.
The appliabces that I love the most are those things that I can keep in my pourse. As you are already presuming my mobile phone has an important role in my daily life.
I can't resist to a new motorola ringtone. I change several of them a month so I feel the need to get a new one. The good part is I'm a student so my parents pay for them and further to buy a subscription is not difficult.
Time to go back to study.
Goodbye everyone
Francine.
At February 2, 2007 at 3:18 PM,
Anonymous said…
Only *Suckers* Buy Leads! Stop Wasting Time
And Money On Leads And Cold Calling. See How.
http://theparkers.magneticsponsoringonline.com/
At February 5, 2007 at 4:49 AM,
Anonymous said…
Hey, you have a great blog here! I'm definitely going to bookmark you!
I have a mugs site. It pretty much covers mugs related stuff.
Come and check it out if you get time :-)
At February 5, 2007 at 9:37 AM,
Anonymous said…
Dear friends, Now you can help yourself take advantage of the huge surpluses of FREE advertising in your spare time, in the comfort of your own home. Hook up NOW with this exiting program. Click here: FREE INFORMATION
At February 5, 2007 at 9:59 AM,
Anonymous said…
Dear friends, Now you can Fulfill your destiny! LordoftheHits is the lord of all exchanges. One exchange to rule them all!!! Hook up NOW with this exiting program. Click here: FREE INFORMATION
At February 5, 2007 at 10:14 AM,
Anonymous said…
Dear friend, Here is an opportunity for you that is taking over the internet. The compensation plan is second to none. The spill over will blow your mind and the educational products are of the highest quality. Knowledge is power and nobody can ever take that away from you. Join me in this business and see for yourself what you will be getting. Click here: FREE Information
At February 5, 2007 at 6:26 PM,
Anonymous said…
Dear friends, Now you can help yourself take advantage of the huge surpluses of FREE advertising in your spare time, in the comfort of your own home. Hook up NOW with this exiting program. Click here: FREE INFORMATION
At February 10, 2007 at 8:37 AM,
Anonymous said…
I enjoyed your blog on best home business idea we provide free home business blogs best home business idea
At February 10, 2007 at 9:13 AM,
Anonymous said…
First To The Market work from home internet business
Enjoy the opportunity, change your life -work from home internet business. Don't Miss work from home internet business - Visit Today...
At February 14, 2007 at 5:18 AM,
Anonymous said…
http://www.moneymakersecrets.com/firstmoneysecrets/ First Time To The Market work at home income
Enjoy the opportunity, change your life -work at home income. Don't Miss work at home income - Visit Today...http://www.moneymakersecrets.com/firstmoneysecrets/
At February 15, 2007 at 12:59 PM,
Anonymous said…
ads free pet us
At February 16, 2007 at 10:34 AM,
Anonymous said…
Hey I am definataly bookmarking this blog. Hey If you get the chance and you need advertising really cheap but highly effective check out this site http://sitesubmit.ecrater.com
At February 19, 2007 at 11:24 AM,
Anonymous said…
Nice blog!! I'm into engine search site traffic web and to drive traffic to my website I signed up free for this superb traffic gereating tool - I now have loads of hits to my websites and blogs. This can see your affiliate commission shoot through the roof - meaning lots of extra money coming in for you and your family. Sign up now - it's free.. Best of luck, cheers for now, dave.
At February 20, 2007 at 5:52 AM,
Anonymous said…
Hey, you have a great blog here!
I just saw a very good website about turnkey site. It has a lot of information on turnkey related stuff.
Check it out if you get time :-)
At February 25, 2007 at 4:54 AM,
Anonymous said…
Hey, has anyone seen this new site about photostar deluxe. It's pretty good!
Come and check it out if you get time :-)
At February 27, 2007 at 12:41 AM,
Anonymous said…
free homes swap classifieds
At March 1, 2007 at 5:00 PM,
Anonymous said…
Great site about
legitimate home based business opportunity. I am bookmarking it.
Please also visit my site aboutlegitimate home based business opportunity
At March 3, 2007 at 10:14 AM,
Anonymous said…
Thanks for the tips and insights. I run site and blog for home based business work feel free to drop by and comment or swap links.
At March 5, 2007 at 9:29 PM,
Anonymous said…
http://www.adquity.com
Classifieds for our community. Buy, sell, trade, date, events... post anything. Adquity Classifieds.
http://www.adquity.com
At March 6, 2007 at 9:27 AM,
Anonymous said…
First To The Market work at home make money
Enjoy the opportunity, change your life -work at home make money. Don't Miss work at home make money - Visit Today...
At August 18, 2007 at 5:36 AM,
Buy Levitra said…
Great article! Thanks.
At August 18, 2007 at 11:19 AM,
Phentermine said…
Thanks for interesting article.
At September 10, 2007 at 1:18 AM,
Anonimous said…
Excellent website. Good work. Very useful. I will bookmark!
At July 12, 2009 at 11:21 PM,
reyt said…
Your Best Choice! wow power leveling and wow gold wow gold
At January 13, 2010 at 4:54 AM,
Anonymous said…
I wish not approve on it. I assume polite post. Especially the designation attracted me to read the sound story.
At January 17, 2010 at 2:20 AM,
Anonymous said…
Genial fill someone in on and this fill someone in on helped me alot in my college assignement. Thanks you as your information.
At March 3, 2010 at 6:56 PM,
Anonymous said…
Hello!
Quality assurance is implemented at the schematic design stage. Mansour Engineering’s quality assurance is an inclusive review of each discipline as well as an overall discipline coordination. Quality assurance procedures include analysis of the worst case scenario for verification of specific design parameters and for each discipline’s task. Project management overview integrates schedule and cost control into each and every aspect of design. Mansour Engineering project management objective is to develop a design that satisfies all requirements and is economically feasible to construct. To that end, cost estimating is within the preview and capabilities of each discipline project leader. Without sacrificing quality control or cost control, Mansour Engineering understands that scheduling is of the utmost importance. Mansour Engineering prepare a detailed timeline for each item on the project deliverable list and proceed on schedule by adjusting manpower activity to finish on time.
[url=http://www.mansour.ca] click here to go to Mansour Engineering[/url]
http://www.mansour.ca
At August 18, 2010 at 4:09 AM,
halleberry said…
Earning money online never been this easy and transparent. You would find great tips on how to make that dream amount every month. So go ahead and click here for more details and open floodgates to your online income. All the best.
At August 19, 2010 at 3:52 PM,
Anonymous said…
buy levitra online canada
buy
At August 25, 2010 at 10:21 PM,
kate said…
Earning money online never been this easy and transparent. You would find great tips on how to make that dream amount every month. So go ahead and click here for more details and open floodgates to your online income. All the best.
At March 4, 2016 at 8:32 PM,
ninest123 said…
ninest123 16.03
prada outlet, nike outlet, longchamp outlet, burberry outlet, gucci handbags, ralph lauren polo, cheap jordans, louis vuitton outlet, louis vuitton outlet online, oakley sunglasses, uggs on sale, louis vuitton outlet, tiffany jewelry, replica watches, ralph lauren outlet, michael kors outlet, longchamp outlet, cheap oakley sunglasses, ray ban sunglasses, michael kors handbags, replica watches, michael kors outlet online, oakley sunglasses, uggs on sale, louboutin shoes, christian louboutin, ray ban sunglasses, uggs outlet, nike free, christian louboutin, uggs outlet, tiffany jewelry, nike air max, oakley sunglasses, longchamp bags, uggs on sale, michael kors outlet online, michael kors outlet online, nike air max, louis vuitton handbags, oakley sunglasses, louis vuitton, ray ban sunglasses, louboutin uk, michael kors, tory burch outlet, burberry factory outlet, prada handbags
At March 4, 2016 at 8:34 PM,
ninest123 said…
lunette oakley pas cher, nike roshe run pas cher, lululemon outlet, hollister uk, jordan pas cher, coach purses, lunette ray ban pas cher, nike tn pas cher, hogan sito ufficiale, abercrombie and fitch, new balance, longchamp soldes, nike blazer pas cher, true religion outlet, true religion outlet, michael kors, replica handbags, michael kors, sac guess pas cher, ray ban uk, nike air max, mulberry uk, vans pas cher, abercrombie and fitch UK, louboutin pas cher, nike air max pas cher, coach outlet store online, nike free pas cher, true religion jeans, polo lacoste pas cher, true religion outlet, nike air max uk, ralph lauren pas cher, kate spade outlet, longchamp pas cher, nike air force, polo ralph lauren uk, hermes pas cher, michael kors uk, north face uk, timberland pas cher, vanessa bruno pas cher, nike free, michael kors outlet online, coach outlet, nike air max uk, burberry pas cher, north face pas cher, converse
At March 4, 2016 at 8:36 PM,
ninest123 said…
celine handbags, nike trainers uk, iphone 6 plus cases, soccer jerseys, iphone 6s plus cases, polo ralph lauren, softball bats, hollister clothing, instyler ionic styler, nfl jerseys, salvatore ferragamo, reebok outlet, nike air max, oakley, mont blanc, mac cosmetics, nike air huarache, s6 cases, beats by dre, iphone 6 cases, lululemon outlet, wedding dresses, abercrombie, abercrombie and fitch, babyliss pro, iphone 5s cases, valentino shoes, longchamp uk, new balance shoes, giuseppe zanotti, hermes handbags, soccer shoes, iphone cases, mcm handbags, louboutin, timberland boots, herve leger, north face outlet, asics running shoes, jimmy choo outlet, chi flat iron, ghd hair, nike roshe run, hollister, p90x workout, iphone 6s cases, ipad cases, vans outlet, bottega veneta, north face outlet, insanity workout
At March 4, 2016 at 8:38 PM,
ninest123 said…
swarovski jewelry, coach outlet, links of london uk, canada goose, canada goose pas cher, moncler, barbour, ugg pas cher, louis vuitton, supra shoes, converse, wedding dresses uk, pandora charms, canada goose uk, karen millen uk, ugg,uggs,uggs canada, canada goose outlet, louis vuitton uk, pandora uk, replica watches, moncler, moncler pas cher, ugg,ugg australia,ugg italia, moncler, swarovski uk, canada goose outlet, canada goose jackets, moncler, converse shoes outlet, bottes ugg pas cher, barbour jackets uk, canada goose jackets, hollister, marc jacobs, thomas sabo uk, ugg uk, toms shoes, moncler uk, sac louis vuitton, sac louis vuitton, gucci, pandora jewelry, moncler jackets, juicy couture outlet, pandora jewelry, montre pas cher, juicy couture outlet, canada goose, louis vuitton, moncler outlet, ray ban, lancel
ninest123 16.03
At May 20, 2016 at 12:36 AM,
柯云 said…
2016-05-20keyun
timberlands
michael kors bags
adidas superstar
retro 11
nike free uk
michael kors outlet
michael kors outlet
michael kors outlet
tory burch outlet
ghd hair straighteners
hollister clothing
abercrombie and fitch
michael kors outlet clearance
adidas factory outlet
nike free 5.0
kobe 10
louis vuitton bags
nike sb dunks
oakley sunglasses wholesale
adidas yeezy
polo ralph lauren
toms wedges
burberry handbags
ray bans
beats by dre outlet
true religion outlet
coach factory outlet
louis vuitton outlet stores
michael kors outlet
ralph lauren
gucci outlet
burberry sale
coach outlet
louis vuitton outlet stores
michael kors bags
coach factory outlet online
michael kors uk
red bottom shoes
At July 20, 2016 at 6:45 PM,
chenlina said…
chenlina20160721
cartier watches
polo ralph lauren
asics outlet
cheap jordan shoes
lebron 11
nike roshe run
coach factory outlet
kate spade handbags
louis vuitton handbags
polo ralph lauren outlet
true religion
beats by dr dre
tiffany outlet
tory burch outlet
coach outlet store online clearances
nike air jordan
michael kors purses
ralph lauren uk
ray bans
oakley outlet
jordans for sale
michael kors handbags
cheap oakley sunglasses
supra sneakers
nike trainers uk
true religion outlet
coach outlet store online clearances
christian louboutin outlet
air jordan 13
gucci handbags
hermes handbags
jordan 11 concord
abercrombie and fitch new york
north face outlet
longchamp bags
coach factory outlet
oakley sunglasses
jordan 3 white cenment
toms shoes
ray ban sunglasses
as
At December 14, 2016 at 9:42 PM,
chenlina said…
chenlina20161215
coach outlet
ugg outlet
ray ban sunglasses
abercrombie and fitch
ugg boots
pittsburgh steelers jerseys
the north face
coach outlet
cheap ugg boots
louboutin shoes
Post a Comment
<< Home