by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 03 20:21
    Arkatufus edited #4500
  • Jul 03 20:20
    Arkatufus opened #4500
  • Jul 03 18:12
    ismaelhamed opened #4499
  • Jul 03 17:40
    ismaelhamed opened #4498
  • Jul 02 19:33
    Danthar commented #4487
  • Jul 02 19:27
    Danthar closed #4494
  • Jul 02 19:27
    Danthar commented #4494
  • Jul 02 16:12
    Arkatufus commented #4265
  • Jul 02 15:18
    ismaelhamed edited #4497
  • Jul 02 15:16
    ismaelhamed edited #4497
  • Jul 02 15:15
    ismaelhamed opened #4497
  • Jul 02 15:07
    ismaelhamed commented #4482
  • Jul 02 08:02
    glikoz commented #4495
  • Jul 02 08:02
    glikoz commented #4495
  • Jul 01 13:26
    Aaronontheweb closed #4495
  • Jul 01 13:26
    Aaronontheweb commented #4495
  • Jul 01 13:20
    Aaronontheweb commented #4496
  • Jul 01 13:20
    Aaronontheweb milestoned #4496
  • Jul 01 13:20
    Aaronontheweb labeled #4496
  • Jul 01 13:20
    Aaronontheweb labeled #4496
Aaron Stannard
@Aaronontheweb
ok, so it's the latest then
Chris Martin
@trbngr
Not a super huge deal. I'm just trying to avoid the constant polling of the persistence journal.
and use the ES subscirptions
Aaron Stannard
@Aaronontheweb
the PersistentView is getting replaced is it not cc @Horusiath
so how does EventAppeard get called?
Aaron Stannard
@Aaronontheweb
do you really care about the Sender in this case?
because that's what is throwing
you could try passing in ActorRefs.NoSender
for the sender on that tell
and that should work
Chris Martin
@trbngr
oh yeah. lemme try that
HO LEE FUK! It lives! :P
Thanks so much, dude
Aaron Stannard
@Aaronontheweb
anytime
Sender, Self, Parent all use Context
Chris Martin
@trbngr
Right on
Aaron Stannard
@Aaronontheweb
and Context is bound the to ExecutionContext of the actor
so you can't really access Context in an async call or Continuation
can only be called inside the Receive methods
Chris Martin
@trbngr
So I don't need to capture _self? I can just use Self. Noted
Aaron Stannard
@Aaronontheweb
no
you do need to capture Self
because that's part of the context too :p
Chris Martin
@trbngr
well crap. haha
Am I right to capture it in PreStart?
Aaron Stannard
@Aaronontheweb
yeah
the Context is active there
Chris Martin
@trbngr
nice. This is pretty bad ass
Aaron Stannard
@Aaronontheweb
basically anything inside the actor is safe
it's when you start trying to use the Context outside of the actor's running scope where things get weird
Chris Martin
@trbngr
cool
Chris Martin
@trbngr
Optimized Akka.Persistence.EventStore. It will now use only one IEventStoreConnection per the ES docs. I also add an implementation of PersistentView called EventStoreSubscriptionView that uses an EventStoreSubscription to stay up to date instead of an PersistentView.AutoUpdateInterval
Still no tests, however ;)
Chris Martin
@trbngr
Is there a way to grab a ILoggingAdapter from an ActorSystem? I need one pretty early
:blush: system.Log
Thomas Lazar
@thomaslazar
@Aaronontheweb: i know apache thrift employs or better recommends an extend-only design of their interfaces. to make it backwards compatible to an extend
they have numbered fields in their definitions that you're not supposed to change on edit. and just extend with new numbers
varghesep
@varghesep
I don't normally get any response for the questions that I post here. They get lost in this chat. So I posted some code on Stack Overflow at http://stackoverflow.com/questions/30956153/service-fabric-akka-net-and-persistent-actor-integration
Please share your comments, improvements needed so everyone can learn from it. The example has the integration of Service Fabric, AKKA.NET and Persistence.
Roger Johansson
@rogeralsing
@Horusiath under what conditons does akka.persistence need to serialize journal/snapshot with special transport information?
Weston
@ronnyek
So i've been lookng a bit into project orleans, and it seems like its much much more targetting the idea of basically short lifecycle fire up a grain, change state persist state dismiss
not so much having a distributed pool of workers
so I'm wondering if akka.net is more for that. Seems like its a good way to manage a distributed pool of workers, with managers at certain levels
Error handling etc
Roger Johansson
@rogeralsing
@ronnyek there is a great comparison of akka vs orleans here https://github.com/akka/akka-meta/blob/master/ComparisonWithOrleans.md
written by Roland Kuhn (jvm Akka lead) and proofread by the orelans team
Bartosz Sypytkowski
@Horusiath
@rogeralsing what do you mean?
Roger Johansson
@rogeralsing
In akka persistence, when a message is serialized, you set up a "Serialization.CurrentTransport=" there was some logic there to get the value to set
Thomas Tomanek
@thomastomanek
hey all. what's the best way of testing that an actor creates another actor when handling a certain message (like creating another actor to make a web request)? I've done it so far by injecting an Expression<Func<MySubActor>> into the parent actors ctor so I can assert that the func is called, but that seems a bit roundabout. Can't find anything in TestKit that could help though...