There are parallels but there are major differences as well. Here's an engaging discussion of both by a reader of Alistair Horne's "A Savage War of Peace".
This article available online at:
http://www.theatlantic.com/daily-dish/archive/2007/01/iraq-and-algeria/231368/
