logoalt Hacker News

faangguyindiatoday at 1:44 PM1 replyview on HN

I recently inherited java code base.

Just rewrote it in Go. Now we are using a server which consumes 30% of ram what the existing one used to and the latency and throughput have all improved.

Don't use these stupid java backend like sprinboot.


Replies

ludovicianultoday at 2:07 PM

I wouldn’t reduce it to don't use Java/Spring Boot. Rewrites often (not always) look great because they remove years of accumulated complexity, not because the original stack was inherently bad.

Just rewrite it in X doesn't "just work" for complex systems. It ignores risk, and the fact that design usually matters more than language.

show 2 replies