Hello Viktor,
Thanks a lot for your answer. I've tried your solution and passed from
version 0.3 to 0.5 of akka-stream modules. But problem is still there. I've
extracted part of the code into a
Gist. https://gist.github.com/xbucchiotty/3fab493607588dec0ac8
Streaming a file of 10.MB with a chunkSize of 3.MB fails. Some chunks
didn't arrived to the receiver once the flow on the receiver side is
completed. The greater the chunkSize is, the more the delta is important.
3.MB is huge for a chunkSize production. It was detected with Scalacheck
tests.
To launch the test, I use sbt + consoleQuick. The very first time I launch
the test, it fails. But in the same Scala REPL session, if I try again, it
passes !!!!
Another point that may be important (can't see why yet). Senders and
receivers are actors in our code. On the flow of connection, we make some
stuff as:
foreach{conn => self ! conn}
Problems come with even smaller files within this contexts of actors.
Any clue ?
--
>>>>>>>>>> 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 [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/d/optout.