News for hackers. Stuff that matters.
Re:Web Framework Benchmarks Round 7 by TylerE on Thursday October 31, 2013 @07:05PM (#6650693)
When ever I feel like that, a few hours with either the Java or Scala persistance frameworks rapidly cures me of it.
Re:Web Framework Benchmarks Round 7 by terhechte on Friday November 01, 2013 @03:47AM (#6652395)
This. In my last project I tried to use scalatra with slick, and while I really liked scalatra, slick made me go nuts. I had to jump over so many hoops that it was just a pain.

I'm currently working on a new project (still research phase) where I was pondering going with Spray and a lightweight Postgresql wrapper because I primarily need to read data from a database, do some transformations on it, and write it out as JSON as fast as possible. I had it working in Spray, but I had issues with server crashes and the speed wasn't as I'd have expected. I fiddled with it for one day, and then, out of frustration, decided to give openresty a try. I've never written much Lua in my life, but after only a couple of hours, I had it working, and it was far, far faster than the Spray implementation. I did some research there, and it seems that the database stuff took a whole lot longer in Scala/Spray than in Lua. Now, of course, I loose type safety, so there may be hidden issues in there, but since I'm really just doing simple data transformations, I think I'm fine with lua / openresty.

As a first verdict, I really, really like what I've seen of Openresty so far.

Re:Web Framework Benchmarks Round 7 by EtienneK on Friday November 01, 2013 @02:44AM (#6652195)
Honestly, JPA is not that bad.
Re:Web Framework Benchmarks Round 7 by flavor8 on Friday November 01, 2013 @06:22AM (#6652822)
mybatis.