Synchronous and asynchronous integration

Exclusive forum for iZenBirdge PMI-ACP® clients
Posts: 32
Joined: Tue Dec 27, 2016 10:18 pm

Synchronous and asynchronous integration

Postby taifii Tue Feb 14, 2017 8:43 am

would you please explain with some example, what is the difference between synchronous and asynchronous integration
Posts: 95
Joined: Thu Oct 29, 2015 8:46 am

Re: Synchronous and asynchronous integration

Postby sanjaykumar Thu Feb 16, 2017 5:31 am

Please share details... what is the context?
Sanjay Kumar
Agile Trainer & Coach
User avatar
Site Admin
Site Admin
Posts: 3113
Joined: Sat Dec 07, 2013 10:37 pm

Re: Synchronous and asynchronous integration

Postby saket Thu Feb 16, 2017 5:58 am

As much i understand you are exploring Continuous Integration. Its an XP practice and was well elaborated in earler reference book of PMI-ACP "The Art of Agile Development"

Synchronous and Asynchronous integration

Synchronous Integration : we do code , test and integrate, and we wait to integrate to finish before we do the next code.

Asynchronous integration : you code , test and fire the integration script, but you move to next step of coding and do not wait for integration to finish.

In general we prefer to use synchronous integration— which mean you’re confirming that the build and tests succeed before moving on to your next task. If the build is too slow,synchronous integration becomes untenable. In this case, you can use asynchronous integration instead. Rather than waiting for the build to complete, start your next task immediately after starting the build, without waiting for the build and tests to succeed.

The biggest problem with asynchronous integration is that it tends to result in broken builds. If you check in code that doesn’t work, you have to interrupt what you’re doing when the build breaks half an hour or an hour later. If anyone else checked out that code in the meantime, their build won’t work either.

If you have a very slow build, asynchronous integration may be your only option. If you must use this, a continuous integration server is the best way to do so. It will keep track of what to build and will automatically notify you when the build has finished.

Over time, continue to improve your build script and tests . Once the build time gets down to a reasonable number (15 or 20minutes), switch to synchronous integration.
Explore our online PMP Program , it makes PMP Easy :-)

Image Image Image Image

Return to “PMI-ACP® Queries and Tips”

Who is online

Users browsing this forum: No registered users and 4 guests