Tech IndustryJan 15, 2020
Amazonmhfcvujk

Dropwizard vs Spring

Why do some places use Dropwizard over Spring?

Add a comment
Oracle BlaBlind Jan 15, 2020

DW is lightweight. It’s just Jetty, Jersey and some other libraries, packaged for convenience. However, in my experience, it isn’t really scalable. It’s good for control plane traffic but will struggle for data plane traffic (think hundreds of MB/s). I’ve never used Spring but in my mind it’s the typical blotted Java framework, with 1234 features that I don’t need.

Amazon mhfcvujk OP Jan 15, 2020

what do you use for data plane?

Oracle BlaBlind Jan 15, 2020

Netty or Netty based frameworks like VertX.

Amazon fjr37a Jan 15, 2020

Why use either? Spring sucks.

Amazon mhfcvujk OP Jan 15, 2020

what do you use?

Amazon fjr37a Jan 15, 2020

Spring and I hate it. Dependency injection isn’t really necessary if you write good object oriented code. The problem is that few people do.

Expedia Group lackey Jan 15, 2020

Spring boot is pretty good and scales well. The old spring is a bit cumbersome but for that period of time it was still one of the best options