Hi pascal,

This sounds promising.  However, our kafka consumers need to do some DB calls, 
but in a high volume sort of way.  Could you say a few words about database 
interactions in Spray?

thanks,
charlie

On Jan 21, 2014, at 1:03 AM, Pascal Voitot Dev <[email protected]> 
wrote:

> Yes clearly you can get rid of servlet stuff and go to frameworks like Play 
> or Spray!
> Spray is more low-level and is better if you want pure REST (more is possible 
> too but it's more "manual" than Play). It's also 100% actor based with akka.io
> Play is full-stack and can help if you want more than just REST (it provides 
> everything to build web apps)... It uses Netty for now as network layer 
> (spray will be integrated later) and doesn't rely on actors for network part 
> (you can use actors in your application)
> 
> Both are performant.
> In terms of connection pooling, you won't manage it anymore as with servlets 
> as you'll enter the world of stateless/non-blocking/async where you have a 
> very few threads switching very quickly instead of a big pool like servlets.
> So you have to stop thinking about sticky sessions, stateful sessions and 
> blocking code etc...
> But it brings real benefits, you'll see ;)
> 
> pascal
> 
> 
> On Tue, Jan 21, 2014 at 3:28 AM, Robert Withers <[email protected]> wrote:
> Which Akka-based REST servers include support for connection pooling, without 
> a Servlet 3.0 container?  It may be fun to ditch Tomcat.  We had an issue 
> where multiple jars were stomping on each other and the WAR was exiting with 
> no information.   2 weeks of team investigation finally identified the 
> setting that needed to change…turn off string-encodings in wily.  If Play or 
> Spray can match performance, connection pooling and log configuration, it 
> would be an option for a proof-of-concept.  Any recommendations?  
> 
> Thanks,
> - charlie
> 








-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to