Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 13 14:40
    cptjazz synchronize #3974
  • Oct 13 14:07
    cptjazz opened #3974
  • Oct 13 08:30
    ismaelhamed commented #3937
  • Oct 12 15:50
    IrvinDominin opened #127
  • Oct 11 18:21
    Aaronontheweb commented #3973
  • Oct 11 18:20
    Aaronontheweb commented #3937
  • Oct 11 18:16
    Zetanova commented #3937
  • Oct 11 18:11
    Zetanova commented #3937
  • Oct 11 15:09
    Aaronontheweb commented #3937
  • Oct 11 15:08
    Aaronontheweb commented #3937
  • Oct 11 14:36
    Aaronontheweb commented #3973
  • Oct 11 01:00
    Horusiath commented #3057
  • Oct 10 20:02
    IgorFedchenko synchronize #3973
  • Oct 10 19:59
    IgorFedchenko synchronize #3973
  • Oct 10 19:58
    IgorFedchenko commented #3973
  • Oct 10 19:53
    IgorFedchenko opened #3973
  • Oct 10 14:04
    stijnherreman commented #3057
  • Oct 10 13:54
    Aaronontheweb commented #3970
  • Oct 10 13:54
    Aaronontheweb synchronize #3970
  • Oct 10 10:10
    Zetanova commented #3937
Aaron Stannard
@Aaronontheweb
like that
you can declare it anywhere technically
but yeah, since this isn't an "akka" setting you typically make it in a user-defined root element
that's the correct convention IMHO
Natan Vivo
@nvivo
Right. So, there is no way to set that in the actor code? Something like an attribute or interface?
Aaron Stannard
@Aaronontheweb
the mailbox?
Natan Vivo
@nvivo
Yes
Aaron Stannard
@Aaronontheweb
no, that has to be declared as part of Props
the message queue the mailbox uses is determined by your actor code - the interfaces
99% of the time that's a detail that comes up when you use stashing (this happens under the hood, unknown to the user)
Natan Vivo
@nvivo
I mean the type. Is there a way to say something like context.ActorOf<Foo>().WithMailbox<MyMailbox>()?
Aaron Stannard
@Aaronontheweb
ah, no
it has to be registered with the systems
errr, ActorSystem
because it maintains a list of all registered mailbox types
Natan Vivo
@nvivo
Ok. I think I got it
Aaron Stannard
@Aaronontheweb
and there are other configuration options that have to be passed in - some of that might be legacy stuff as a result of the coupling between dispatchers and mailboxes on the JVM
@HCanber and @rogeralsing could tell you - I've not worked with it much myself
Natan Vivo
@nvivo
So, there is no mailbox registered in the default config currently, as there is only one mailbox and the priority one must be implemented by the user
Aaron Stannard
@Aaronontheweb
there's a default mailbox implementation - unbounded concurrent queue
Natan Vivo
@nvivo
There is nothing to document about these names then
Aaron Stannard
@Aaronontheweb
but yeah, no other ones to speak of
there's a bunch of stuff in JVM akka for shared mailboxes
I don't think we'll ever implement those
routers are the correct tool for that job
Natan Vivo
@nvivo
Yep
Too much baggage
Aaron Stannard
@Aaronontheweb
agree
don't port stuff that's deprecated, right? ;)
Natan Vivo
@nvivo
:-) Ok, let's see what I can do here. Maybe tomorrow I'll have more questions
Aaron Stannard
@Aaronontheweb
sounds good bud
keep up the good work
Natan Vivo
@nvivo
Thanks for the explanations
Aaron Stannard
@Aaronontheweb
you're welcome - I hope they helped :p
Joshua Benjamin
@annymsMthd
@Aaronontheweb any idea how to make a fake task that takes a parameter? for instance "./build.cmd MultiNodeSpec ClusterDeathWatchSpec"
Aaron Stannard
@Aaronontheweb
F# is dark and evil magic
so no
Joshua Benjamin
@annymsMthd
rgr
I'll find it
Natan Vivo
@nvivo
question about the priority queue...
Aaron Stannard
@Aaronontheweb
shoot
Natan Vivo
@nvivo
in some cases the envelope is being sent instead of the message
is this a bug?
Aaron Stannard
@Aaronontheweb
could you post your snippet?
because yeah, that should not be happening
I mean the envelope should be passed to the ActorCell
but it shouldn't get passed into the OnReceive method - the actorcell should unpack it
I'll open an issue for that then, ok ?
Aaron Stannard
@Aaronontheweb
do you have a .NET Fiddle that can reproduce this too?