Hi pishen,

I don't see why it would be a problem to use both together. I would suggest
using a single WSClient and passing that around. That way you'll only have
one Netty thread pool.

Greg

On Wed, Jun 15, 2016 at 1:04 PM, pishen tsai <pishe...@gmail.com> wrote:

> Hello,
>
> Have anyone here ever tried using akka-http with the play-ws library?
> I know that akka-http have a built-in client support
>
> http://doc.akka.io/docs/akka/2.4.7/scala/http/client-side/request-level.html
> But it lacks some functions like sending the request through a http proxy
> server.
> I have tried to include play-ws library and new an `AhcWSClient` by myself
> and passed an `ActorMaterializer` to it.
> It seems to work, but I'm wondering if it create another Netty server
> underneath? Or if I create many `AhcWSClient` in my system, would it be a
> performance inpact?
>
> Thanks,
> pishen
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Greg Methvin*
*Senior Software Engineer*
Lightbend, Inc. <https://www.lightbend.com/>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to