Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:04
    Zetanova opened #4653
  • Dec 03 21:15
    razvangoga synchronize #4652
  • Dec 03 21:15
    razvangoga closed #4644
  • Dec 03 20:57
    razvangoga commented #4215
  • Dec 03 20:56
    razvangoga synchronize #4652
  • Dec 03 20:41
    razvangoga commented #4215
  • Dec 03 20:29
    razvangoga commented #4215
  • Dec 03 20:25
    razvangoga commented #4215
  • Dec 03 19:58
    IgorFedchenko commented #4215
  • Dec 03 19:17
    razvangoga commented #4215
  • Dec 03 19:17
    razvangoga opened #4652
  • Dec 03 19:14
    razvangoga converted_to_draft #4644
  • Dec 03 19:11
    razvangoga commented #4215
  • Dec 03 18:20
    eaba synchronize #4651
  • Dec 03 17:37
    eaba synchronize #4651
  • Dec 03 17:11
    Aaronontheweb milestoned #3723
  • Dec 03 17:11
    Aaronontheweb commented #4648
  • Dec 03 17:10
    Aaronontheweb closed #3723
  • Dec 03 17:10

    Aaronontheweb on dev

    Fixes #3723 (#4648) * Fixes #3… (compare)

  • Dec 03 17:10
    Aaronontheweb closed #4648
Roger Johansson
@rogeralsing
No reply though
Timur Babyuk
@timba
in case they want money for domain ownership change we can organize crowdfunding campaign :)
cosmaioan
@cosmaioan
Hello. A quick check. Did somebody has experience with Azure webjobs and Akka. I want to run the my Akka System inside a WebJob that will be triggered by a queue item. I am not sure if Azure webjobs creates separate processes per job. dequeue Item. I don't want to have two Actor System running in parallel.
Roger Johansson
@rogeralsing
If that is the case, you can use akka.remote to communicate with a shared system.
Webjob1 -> shared remote system <- webjob2
cosmaioan
@cosmaioan
That is good to know. I found the answer. There is a single instance of WebJob per website Instance. You can even mark the webjob as singleton in case you have multiple instances.
I feel that i need to do some learning/reading/experimenting before going in akka.remote
Christian Sparre
@christiansparre
How do you guys get your IActorRefs from "outside" the "actor system". "Global" reference to the actor system?
Bartosz Sypytkowski
@Horusiath
what do you mean?
how to compose actor system with the rest of the application?
Christian Sparre
@christiansparre
I don't have a particular example, but lets say you need an actor from a MVC controller or some other part that is not directly part of the actual actor system
I'm just getting started and have a basic understanding of actor selection etc. but just want to know how others deal with, yeah composing the non actor part of the application to work with the actor system :)
Bartosz Sypytkowski
@Horusiath
one of the most popular ways is to create static class container for actor system, initialize it in your Global.asax or OWIN Startup class and close when Application ends
Christian Sparre
@christiansparre
Yeah I was leaning that way, thank you for confirming. I'll try that approach. Do you send IActorRefs around too or do you always go through the "root" using actor selection?
Bartosz Sypytkowski
@Horusiath
There is a good lecture about actor selections: https://petabridge.com/blog/when-should-I-use-actor-selection/
Christian Sparre
@christiansparre
Thanks, I think I already read that one, but I'll have another look :) thank you for your time.
Aaron Stannard
@Aaronontheweb
Quick poll of gitter chat: have any of you heard of "extend-only design" before?
I'm writing a section on message-versioning strategies for our clustering course and am having trouble finding any actual literature on it - it's a schema / message versioning technique I've used for like 5 years that really makes upgrades trivial to do
and rollbacks too, I might add
I just assumed that this was a commonplace thing
but judging by what I can find on Google, that assumption might be off
have any of you heard of this technique before?
Chris Martin
@trbngr
@Aaronontheweb Can you look this over for me and tell me how to proceed? https://gist.github.com/trbngr/46dea593e2e180d3bf8e#file-gistfile1-txt-L29
Aaron Stannard
@Aaronontheweb
@trbngr there's no IActorContext available there?
Chris Martin
@trbngr
nope
Aaron Stannard
@Aaronontheweb
which version of Akka.Persistence is this plugin using?
Chris Martin
@trbngr
103 I believe
1.0.3.0-beta
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