[akka-user] how to get the number of actors from actor system?

2017-03-21 Thread Leo Wolf
Hi there, I have constructed the shard region in actor system, but I wonder if there's any way to know the number of entity actors in the system, or get the number of all actors in whole actor system? If I count it with a counter, then if the actor system crashed and restarted, I will lose

[akka-user] Re: How to get the number of source actors with akka stream?

2017-03-08 Thread Leo Wolf
h time it receives a dedicated > ReturnCount message it responds with current value of the counter. > > Cheers, > Rafał > > W dniu czwartek, 2 marca 2017 12:00:00 UTC+1 użytkownik Leo Wolf napisał: >> >> Hi, >> >> I have a question about how to measure the

[akka-user] Does akka-http-spray-json result in tostring() function during scala case class to json transition?

2017-01-17 Thread Leo Wolf
Hi there, I use akka-http-spray-json for json marshalling/unmarshalling. Then I see a interesting result when I recording server performance as following picture:

[akka-user] Re: akka directive for uploading multiple files

2016-09-01 Thread Leo Wolf
Hi Cyril, Not yet now. I just use two solutions to fit the requirement, one is calling the api multiple times, and another is taring the whole file into a pkg and untaring it on server. Maybe this can help you. -- >> Read the docs: http://akka.io/docs/ >> Check the

Re: [akka-user] Error about download akka proj from github and open it as a proj in intellij

2016-07-24 Thread Leo Wolf
the project > anew to make IntelliJ re-parse the sbt build, maybe this helps. > > -- > Johan > > On Thursday, July 21, 2016 at 12:48:57 PM UTC+2, Leo Wolf wrote: >> >> By the way, the error shows this message: >> >> >> <https://lh3.googleusercontent

Re: [akka-user] Error about download akka proj from github and open it as a proj in intellij

2016-07-21 Thread Leo Wolf
thanks for the help! Leo Wolf於 2016年7月21日星期四 UTC+8下午6時46分13秒寫道: > > Hi Konrad, > > Thank you for getting back to me. > I have create a scala test file under Akka-http-sprayjson and the path is > "/akka/akka-http-marshallers-scala/akka-http-spray-json/src/main/scala/akka/http/s

Re: [akka-user] Error about download akka proj from github and open it as a proj in intellij

2016-07-21 Thread Leo Wolf
Hi Konrad, Thank you for getting back to me. I have create a scala test file under Akka-http-sprayjson and the path is "/akka/akka-http-marshallers-scala/akka-http-spray-json/src/main/scala/akka/http/scaladsl/marshallers/sprayjson/UploadHandler.scala", and package it as package

[akka-user] Error about download akka proj from github and open it as a proj in intellij

2016-07-21 Thread Leo Wolf
Hi, I'm new to akka-proj. I encounter some problems about modify the akka-proj, and found you have made some pull request on it so I decide to ask you about it. I have forked the akka-proj, download it, and open it as a project in intellij. But I found out there are lots of errors in build.sbt

Re: [akka-user] About akka websocket support

2016-06-07 Thread Leo Wolf
Hi Johan, Thanks for the reply. In the user register scheme, I will create user account according different email address, and user who want to connect to the websocket server should use these created account. Another to say, every user has their own account to connect server. After a user

[akka-user] akka directive for uploading multiple files

2016-06-02 Thread Leo Wolf
Hi, I'm using akka http for file uploading as bellow: formFields('json.as[String]) { json => uploadedFile("file") { ... } And it works fine if I upload one file at a time. But I want to upload multiple different files in a http request, and how can I get it with the uploadedFile("file")

[akka-user] About akka websocket support

2016-05-26 Thread Leo Wolf
Hi, I have encountered a akka websocket situation with akka stream, and need some advices. I built a websocket server via handleWebSocketMessages with user register scheme, and it's correctly worked. After that I changed the websocket client IP when it's connected with the websocket server,