Building microservices with akka-http
labs.unacast.com
Building microservices with akka-http
1–10 of 11 posts
Re: Building microservices with akka-http
#2Re: Building microservices with akka-http
#3Re: Building microservices with akka-http
#4Very interesting, I'm about to start looking into akka.net, does anyone know of an equivalent quick introduction?
There is no akka-http in .net yet though.
Re: Building microservices with akka-http
#5If I were to suggest alternative web frameworks for Scala devs, I'd point to Play Framework (full) or Scalatra (lightweight). Personally I jumped languages and VMs to the Elixir community, where I am having a dandy time writing asynchronous web APIs using the Phoenix Framework.
[1] https://www.playframework.com/ [2] http://www.scalatra.org/ [3] http://www.phoenixframework.org/
Re: Building microservices with akka-http
#6One nerd's opinion: Akka-http (and Spray, from which it came) is a building block, not a web framework. It would be semi-reasonable to build a web framework using akka-http, but suicidal to use it to build web services directly. It would be like writing a web service directly on top of TCP -- there's value in abstracting all that crap away so that the developer can focus on the actual problem space, rather than the t…
Re: Building microservices with akka-http
#7One nerd's opinion: Akka-http (and Spray, from which it came) is a building block, not a web framework. It would be semi-reasonable to build a web framework using akka-http, but suicidal to use it to build web services directly. It would be like writing a web service directly on top of TCP -- there's value in abstracting all that crap away so that the developer can focus on the actual problem space, rather than the t…
Re: Building microservices with akka-http
#8This just gave me a stomach bug...
Rails scaffolds are ridiculous these days. A working object model + controller + routing resulting in a JSON API with CRUD ops on your new class is a one-liner now.
Re: Building microservices with akka-http
#9One nerd's opinion: Akka-http (and Spray, from which it came) is a building block, not a web framework. It would be semi-reasonable to build a web framework using akka-http, but suicidal to use it to build web services directly. It would be like writing a web service directly on top of TCP -- there's value in abstracting all that crap away so that the developer can focus on the actual problem space, rather than the t…
Do you find that you miss Scala's type system in Elixir? I'm a big fan of FP, but I also really enjoy type safety. I just wrote a functional pipeline in perl and most of the errors were dumb things I did that a type system would have caught.
Aside from strong typing, almost everything related to FP/concurrency/fault-tolerance that I liked about Scala is in Elixir -- first-class functions, immutable everything, shared nothing, everything is actors passing messages, supervision trees, etc. I can even whip out monads when I want them!
Re: Building microservices with akka-http
#10The question remains how well Scala 2.12 will help in migrating to JDK 8.
The Github activity of the scalac core contributors [1] [2] [3] shows no hurry on that.
[1] https://github.com/adriaanm [2] https://github.com/retronym [3] https://github.com/lrytz