The full rewrite is the most popular and most dangerous option. Four alternatives, what each costs, and how to tell which one your system needs.
Request a health check