Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:04
    nagytech synchronize #4092
  • 11:53
    nagytech synchronize #4092
  • 11:49
    nagytech edited #4092
  • 11:40
    nagytech opened #4092
  • 11:32
    nagytech edited #4091
  • 11:32
    nagytech opened #4091
  • 10:13
    nagytech commented #3954
  • 05:29
    nagytech commented #4090
  • 05:29
    nagytech opened #4090
  • Dec 11 23:52
    scptre commented #4082
  • Dec 11 14:26
    nagytech commented #3954
  • Dec 11 11:18
    nagytech edited #4089
  • Dec 11 11:17
    nagytech opened #4089
  • Dec 11 11:00
    nagytech commented #4083
  • Dec 11 08:34
    jiyeongj commented #4083
  • Dec 11 08:33
    jiyeongj commented #4083
  • Dec 11 08:33
    jiyeongj commented #4083
  • Dec 11 07:57

    dependabot-preview[bot] on nuget

    (compare)

  • Dec 11 07:57

    dependabot-preview[bot] on dev

    Bump MongoDB.Driver from 2.9.1 … (compare)

  • Dec 11 07:57
    dependabot-preview[bot] closed #104
Natan Vivo
@nvivo
doc question: why would one use the TaskDispatcher currently? partial trust?
Aaron Stannard
@Aaronontheweb
yeah, that's my understanding
Natan Vivo
@nvivo
ok
Aaron Stannard
@Aaronontheweb
although we just patched the normal dispatcher to be able to run under partial trust now
that'll be going live in Akka.NET v1.0.1
(the release for that was supposed to happen today but we decided it'd be best to get the Akka.Persistence.SQLServer stuff pulled in and the ConfigureAwait stuff first)
so it'll probably end up going out Monday / Tuesday next week instead
Natan Vivo
@nvivo
right
Aaron Stannard
@Aaronontheweb
we need some documentation on using the Inbox
that'd probably fall under the miscellaneous bucket
Daniel Ferreira Monteiro Alves
@danfma
yo everyone! :)
Andrew Skotzko
@skotzko
@danfma yo!
Daniel Ferreira Monteiro Alves
@danfma
:smile:
Aaron Stannard
@Aaronontheweb
what's shakin
Daniel Ferreira Monteiro Alves
@danfma
hey guys, do you know if there is any problem with the routers and the config at the app.config?
Andrew Skotzko
@skotzko
@danfma can you be more specific? what’s happening?
Daniel Ferreira Monteiro Alves
@danfma
sorry, I am slow here! :D
I created an actor as a router (round-robin) in the config
then I tried to create that actor inside another one
 _executors = Context.ActorOf(
                Props.Create(() => new JobExecutor(_application))
                    .WithRouter(FromConfig.Instance),
                "Executors");
Aaron Stannard
@Aaronontheweb
what's the config look like?
Daniel Ferreira Monteiro Alves
@danfma
but I always got a strange error, something saying that the actor has already being configured
just the same as the example from the site
Aaron Stannard
@Aaronontheweb
which one?
Daniel Ferreira Monteiro Alves
@danfma
akka.actor.deployment {
  /Executors {
    router = round-robin-pool
    nr-of-instances = 5
  }
}
Aaron Stannard
@Aaronontheweb
ah, I see what your issue is - you want to re-use that router configuration in multiple places
right?
Daniel Ferreira Monteiro Alves
@danfma
no, I just wanted to define the router at config and not at code
the exception is
`

An exception of type 'Akka.Configuration.ConfigurationException' occurred in Akka.dll but was not handled in user code

Additional information: Configuration problem while creating [akka://BeedroneProcessor/user/Monitor/Executors] with router dispatcher [akka.actor.default-dispatcher] and mailbox and routee dispatcher [akka.actor.default-dispatcher] and mailbox [].

`
Andrew Skotzko
@skotzko
I think your actor path is wrong
your router is not a top level actor in this case
Daniel Ferreira Monteiro Alves
@danfma
user/Executors?
Andrew Skotzko
@skotzko
/Monitor/Executors in the config
Daniel Ferreira Monteiro Alves
@danfma
ops
let me check that
Andrew Skotzko
@skotzko
or /*/Executors to reuse it
under other top level actors
Daniel Ferreira Monteiro Alves
@danfma
You are right! I was dumb here! I forgot that actor is a child of another one!
:D
Andrew Skotzko
@skotzko
no worries :)
key thing is that your actor path needs to be right in the config, so double check that first
Daniel Ferreira Monteiro Alves
@danfma
ok
another question, let me say that I want to create some kind of processors on demand
I created a service with a queue of messages
the actors should pop some messages from time to time
Joshua Benjamin
@annymsMthd
Maybe a pooled router with a resizer?
Daniel Ferreira Monteiro Alves
@danfma
I was thinking in use the router to create that behaviour, while checking from time to time that queue
yes!