• lime!@feddit.nu
    link
    fedilink
    English
    arrow-up
    40
    ·
    2 days ago

    it’s called the strangler pattern, where the new version is layered on top of the old and gradually replaces it.

    it usually doesn’t work.

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      23 hours ago

      Man I’ve never seen it not work. It’s pretty much the only pattern I use because it’s so successful. Meanwhile the other teams in my company have numerous failed migrations because they try to rewrite the entire thing at once instead of using the strangler fig pattern.

      • lime!@feddit.nu
        link
        fedilink
        English
        arrow-up
        1
        ·
        20 hours ago

        only time i’ve ever tried it was in a duolith consisting of over half a million lines of python, all of them critical.