4 ms·
When would you do a rewrite instead of a strangler?
by selestify 8y ago
When would you do a rewrite instead of a strangler?
- projektfu 8y agoI personally have worked on successful rewrites when the existing system was actually broken. Maybe it worked enough to get most work done but there are manual steps to keep it from falling apart completely. Development has gone off the rails. The rewrite can be a winner that constantly delivers useful functionality.
- segmondy 8y agoSame creators realized immediately after building that they can build better and are given the opportunity to rewrite.
- deleted 8y ago[deleted]
- taneq 8y agoI'd guess the risk of the strangler pattern is that the new code ends up being largely the same 'shape' as the original?
- vendiddy 8y agoIf there is high level of coupling within a system it will be difficult to contain the rewrite to a single subsystem. In this case, it may make sense to rewrite. Alternatively, you can gradually remove unnecessary coupling before applying the strangler pattern, but this can be a longer path. The related principle here is to ensure you have good boundaries in your application with minimal dependencies between each system so it's easy to rewrite portions of your app. Here is a talk on this: https://vimeo.com/108441214 https://vimeo.com/108441214