Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[PIO-31] Move from spray to akka-http #474
Ported following servers to Akka HTTP from Spray.
First, I also tried to replace json4s with spray-json which is a default supported JSON library in Akka HTTP, but json4s is used deeply in PredictionIO. So I abandoned to do it. The current combination is Akka HTTP and json4s.
I used to think that way as well, but I humbly disagree now. After I learned about defense in depth (https://reinout.vanrees.org/weblog/2017/05/02/https-behind-proxy.html is a good read) and security audit, it is in fact a desirable feature. I can take on that as a separate PR.