On Tue, Jan 21, 2014 at 3:40 PM, charlie robert <[email protected]> wrote:

> For now we are using JDBC and the Oracle driver, so sync.  Any discussion
> about async I would like to see.
>
>
As Ivan said, for JDBC, it's blocking by definition so if you don't want to
block your non-blocking actor system, you need to "isolate" those blocking
tasks in a custom execution context (like a thread pool dedicated to JDBC).
For actors, you can use a special dispatcher based on a thread pool and for
pure async tasks based on futures for example, you can use a custom
Execution Context...


> These management and monitoring tools are key, so I would like to read
> about them, as well.  Typesafe Console on the list…what would be a few of
> the top tools for Akka?
>
> Just to give you a little background, in 6 months of dev, we have
> introduced kafka, Hadoop and did some of the dev in scala.  This replaces
> some Web Methods servers (grabs the nitroglycerin pills!).  All consumers
> are in java, as is the metatype repo, but our internal management is in
> scala.  We just went to PROD over the weekend, so now we have a moment and
> obviously I am enticed by scala, Akka, Spray and so on.  We are doing
> events, but I am pushing to start request/response, and that answer is
> exposing our little management layer in that fashion.  Lots to read.
>
> thanks,
> charlie
>
> On Jan 21, 2014, at 7:22 AM, Pascal Voitot Dev <
> [email protected]> wrote:
>
>
> On Tue, Jan 21, 2014 at 3:15 PM, charlie robert <[email protected]>wrote:
>
>> 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?
>>
>>
> Async DB Driver or Sync DB driver like JDBC?
>
> Pascal
>
>
>
> On Jan 21, 2014, at 7:27 AM, Pascal Voitot Dev <
> [email protected]> wrote:
>
> I'm not an expert in Spray in prod (more Play experience) but there are a
> few articles you can find on Google on how to monitor an Akka app...
> You've got Typesafe Console naturally which is specifically dedicated to
> this and a few tools to add on top of Akka!
>
> Other people might have far better advices than mine on this point!
>
> Pascal
>
>
>
>
>
>
>
>  --
> >>>>>>>>>> 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.
>

-- 
>>>>>>>>>>      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