should I be using spray or play for highly scalable and efficient rest json processing?
Asked Answered
T

1

7

Should I be using play or spray for a highly efficient high throughput REST json server? I would go with play because it would then allow me also to have a single framework both for REST and for web development. However if spray is much much more efficient than this i would go with spray.

I would go immediately with play but i saw here that spray is high in the list and play is more to the bottom.

what do you think?

Terpsichore answered 10/10, 2013 at 13:12 Comment(0)
D
12

In my opinion, the complexity of managing two frameworks is going to far outweigh the slight performance improvement you might get from using spray.

It also depends on what features you need. Play is a full stack framework, which is why in simple scenarios, it's slower. If you implement some of the features built into Play on top of spray, you will probably end up worse off (performance, security, and capability wise) than if you just used Play.

Filter that benchmark list down to only full stack frameworks and you'll see that play is actually quite high on the list. Comparing full stack frameworks with micro frameworks is really quite misleading.

Dwt answered 27/10, 2013 at 15:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.