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
Natan Vivo
@nvivo
@rogeralsing please correct if I'm wrong. Most of the JVM akka docs say that hocon configuration overrides code config. But some tests I did here shows the opposite. For example, if you specify WithRouter(...) in code, it overrides any hocon config. Is it correct that Akka.net gives preference to code over config or I missed something?
Arjen Smits
@Danthar
@rogeralsing I'll do a write-up about this for the http://getakka.net/docs/Dependency%20injection page. Ill run it by you guys when im done.
Arjen Smits
@Danthar
General question to whomever can answer this :P. My ActorSystem behaves in such a way, that it can be in an 'idle' state. Which effectively means that the mailboxes for a few key Actors in my system are empty. Does Akka currently has a way for a user of the framework to monitor this kind of state for an actor ?
So something along these lines:
    actor1.Ask<bool>("areyoubusy")
where the "areyoubusy" is a system(?) message which tells me if there are messages in the actor1's mailbox
Alexander Prooks
@aprooks
I'd beter save info when last message is processed, and on 'areyoubusy' report if any message is processed for the last second/minute whatever you need
Natan Vivo
@nvivo
@Danthar It's a good idea to leave a note on akkadotnet/getakka.net#7 to help coordinate the efforts
depending on the size of your changes
@Danthar by chance I'm looking at the resizer implementation. It seems that if you create a custom router, you can use ActorRefRoutee to lookup this information: https://github.com/akkadotnet/akka.net/blob/dev/src/core/Akka/Routing/Resizer.cs#L245
Natan Vivo
@nvivo
I guess the way to do it then would be create a parent to intercept "are you busy" messages and the actor would ask the custom router directly
Arjen Smits
@Danthar
@aprooks a busy message based on actor idle time/last message processed would work. But I am not sure it fits my scenario. Would have to think about it some more.
Natan Vivo
@nvivo
fwiw, i did the same with actors directly and a simple "entry" record for each child
Arjen Smits
@Danthar
@nvivo a group-router-like actor could definitely be used to wrap the idle-monitoring behaviour.
Natan Vivo
@nvivo
basically created a class Entry { ActorRef Actor; bool Busy; }
and set the flags on request response. this of course depended on all answers going back to the actor I had
this model is so flexible there are many ways to do the same thing
Arjen Smits
@Danthar
Yup
Thats why I was asking if there is anything in Akka right now, that can be used to achieve the same thing. Without me having to manually implement it.
Brandon Wilhite
@JediMindtrick
Is there a way to allow an akka.net actor to interact with a remote akka (jvm) actor? Akka-jvm has a wire protocol, would this allow it?
Natan Vivo
@nvivo
not currently
Brandon Wilhite
@JediMindtrick
ok, so not currently. If we wanted to build such a thing, does anyone know if the wire protocol might be the enabling tech for it? OR is there really not any enabling tech (other than design off of http/tcp/whatever from the ground up)?
Arjen Smits
@Danthar
When you start talking about communicating between the CLR and JVM It suffers from the same problems as any remoting tech. The wire protocol is the least of your problems.
Brandon Wilhite
@JediMindtrick
Sure, there would be a lot of obstacles.
There's a lot of complexity there that would have to be handled. My thought was that possibly the Akka wire protocol was defined to help handle some of it....not really just worried about the transport here.
Arjen Smits
@Danthar
@Aaronontheweb would know alot more about this topic.
Brandon Wilhite
@JediMindtrick
k, thanks
Arjen Smits
@Danthar
He's the one who worked on Helios/Lighthouse and alot of the remoting stuff (afaik). So he is probably much better equipped to tell you what kind of cesspool your walking into ;)
Brandon Wilhite
@JediMindtrick
lol, y I'm sure...I'm not really contemplating this for any actual work project, more as a persistent itch I've had the last few years...just to see if it can be done
Natan Vivo
@nvivo
anything is possible, few things are worth the trouble
I believe if you want to communicate between 2 different systems, it's easier to build some http layer through json nowadays outside of akka and just use that
Brandon Wilhite
@JediMindtrick
and also...just because it can be done doesn't mean you should do it :)
Natan Vivo
@nvivo
yeah.. think about it, yo usually won't couple 2 applications made with different versions of .NET
even more with 2 applications made for different languages at that level
Brandon Wilhite
@JediMindtrick
don't get me wrong....I'm not advocating people should do what I'm asking about...I'm more just curious about this since the idea of rpc is kind of built into akka from the get-go
after all...if I'm sending a message to a remote actor, what should it matter what kind of runtime is running over there? But my experience with akka is limited and this is just something I've wondered about for awhile now.
i'd think supervision, deathwatch and probably other things would get pretty hairy
Natan Vivo
@nvivo
sure
from what I read here, one of the big problems would be endianess, as the protocol is binary and java and .net use different ways to encode these stuff
it would be possible if the two systems used exactly the same serializer, then you'd go into the next issues with message formats...
Brandon Wilhite
@JediMindtrick
so what kind of problems would you hit if you bumped up another level and tried to do something like akka-jvm proxy -> json over (pick your transport) <- akka.net proxy
obviously, you'd have to track liveliness somehow
Natan Vivo
@nvivo
this is the kind of question for @Aaronontheweb.
Brandon Wilhite
@JediMindtrick
k, thanks again, useful exchange
Natan Vivo
@nvivo
sure
Arjen Smits
@Danthar
@JediMindtrick if your going that route. Why use a raw HTTP endpoint with json? why not explicitly model that communication with message types. And use a messagebus like RabbitMq for that?
Joshua Benjamin
@annymsMthd
@Aaronontheweb looks like i have a few run away builds
Joshua Benjamin
@annymsMthd
@rogeralsing If you have access to the teamcity site can you cancel those runaway builds i caused?
Andrew Skotzko
@skotzko
@annymsMthd stopped them for you
Joshua Benjamin
@annymsMthd
thanks