Better HN
topnewbestaskshowjobs
Log inSign up

amartinsn

91 karma · joined Feb 3, 2016 (10y ago) · 6 submissions

Submissions

comment 10y ago · link · parent

Our scenario looked a bit similar to yours mate!

comment 10y ago · link · parent

That was exactly our approach, for the old HTTP API, we kept the same contracts (URIs, response body, etc.) For the EJB one, as only one remaining client was using it, we deprioritized that, but we were going to pick the features they were using, and make the Java client point to the new API implementation, also keeping the same contract.

comment 10y ago · link · parent

It's an incremental rewrite. Rewrite one feature, switch everyone to use it, then destroy the old implementation. Do the same for all other features.

comment 10y ago · link · parent

Hey, thanks for your reply. Your line of thought is very similar to what we had. We considered refactoring the existing Java implementation. It used a really old Jersey version, with too many overengineered customizations tightened to that version. We tried to upgrade it and get rid of some of those customizations, but the system was so fragile that other parts of the system stopped working, which made that a really difficult road to drive. We wanted to simplify the design. We chose Scala and Finagle for the new stack.

5.

Lessons Learned from Software Rewrites(alexmartins.me ↗)

196 points · by amartinsn · 10y ago · 84 comments