I've created POC with three nodes in the cluster and have the following
scenario:
I have modified Counter scala example from Cluster Sharding docs. and have
two shards one of odd number and second for even number and persistent
shard Actor Counter which sums messages it receives and persists
Hi all. Jumping on the akka-streams/akka-http bandwagon and very excited!
However, I've got a couple of puzzlers that stopped me short at the door.
Quick context:
* I'm making the server for a location-sharing app for activists
Hi
I recommend just keeping cookies out of the equation, that makes CSRF
issues go away which gives you a simpler implementation. Some answers
below, hope you don't mind the long answers :)
Where possible I tried to base the impl on what's in Play, as I trust them
to do the right thing
You have something similar in concept to what Play Framework uses for
sessions today. Nothing wrong with that per say, but writing secure
protocols (session serialization and shared trust) is hard for non trivial
implementations.
That's exactly my intention, that is to extract the
actually I realised that some work has been done:
like
https://github.com/sourcedelica/akka/blob/wip-3842-message-sequence-pattern-ericp/akka-contrib/src/main/scala/akka/contrib/pattern/MessageSequence.scala
but as I get deeper into akka I think the best way is not to slice messages
(since the
I recommend just keeping cookies out of the equation, that makes CSRF
issues go away which gives you a simpler implementation.
I had the impression that cookies are still the way things are done, and
to be honest didn't really consider not using them at all. But it seems I
should revise
Hi again
I had the impression that cookies are still the way things are done, and
to be honest didn't really consider not using them at all. But it seems I
should revise that :)
I agree it is still very common and if you wish you can combine different
methods. But the newer
Based on the code found in the akka tutorial' i've create an updated 2.3.11
version code, so you can download it and give it a try.
https://github.com/Shaulian/Actors-Pi-Calc-using-2.3.11-akka-java-version
Shauli
On Monday, January 26, 2015 at 3:57:28 AM UTC+2, Atom Cong wrote:
Hi, guys,
Hi all,
I often find myself wanting to read the scaladocs for Akka using the
built-in ENSIME documentation browser (e.g. show me docs of the symbol at
point). But the doc artefact that comes with Akka, via the standard sbt
`updateClassifiers` call, seems to be the Javadocs, not the Scaladocs.
Hello,
I too had this problem, and I solved it by switching to objects with an
apply method that takes an implicit parameter. My Main object extends App
and Service:
trait Service {
implicit val system: ActorSystem
implicit def executor: ExecutionContextExecutor
implicit val
Hi Sam,
Yes, interesting catch - we do not publish scaladocs as a jar.
I guess we did not bump into this previously since many Scala devs (including
us) use IDEs which understand Java = understand JavaDoc (or they use source
jars, I think IntelliJ does).
I don't know the initial reasoning about
11 matches
Mail list logo