Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:14
    IgorFedchenko commented #4032
  • 13:19
    ismaelhamed synchronize #4042
  • 13:17
    ismaelhamed commented #3863
  • 11:47
    IgorFedchenko synchronize #4032
  • 11:47
    IgorFedchenko commented #4032
  • 11:21
    ismaelhamed synchronize #3863
  • 11:17
    ismaelhamed edited #3863
  • 11:17
    ismaelhamed synchronize #4042
  • 09:58
    IgorFedchenko synchronize #4032
  • 09:49
    IgorFedchenko synchronize #4032
  • 09:45
    IgorFedchenko commented #4032
  • 09:17
    ismaelhamed opened #4043
  • 09:03
    ismaelhamed opened #4042
  • 09:03
    IgorFedchenko commented #4032
  • 08:59
    IgorFedchenko synchronize #4032
  • 08:57
    IgorFedchenko synchronize #4032
  • Nov 15 22:35
    Aaronontheweb commented #4032
  • Nov 15 20:26
    IgorFedchenko synchronize #4032
  • Nov 15 20:24
    IgorFedchenko commented #4032
  • Nov 15 20:06
    IgorFedchenko synchronize #4032
Aaron Stannard
@Aaronontheweb
since the only way to realistically guarantee processing of a message is using an acknowledgement protocol
which means both sender and receiver need to be aware of it
Vagif Abilov
@object
@corneliutusnea thanks for publishing your Visualizer on GitHub.
Stanley Goldman
@StanleyGoldman
@object can you send a screenshot
i haven't seen any yet
and i haven't set it up for myself yet
Aaron Stannard
@Aaronontheweb
I'd be curious to see it also
Jordan S. Jones
@jordansjones
:+1:
Vagif Abilov
@object
I am far from my work pc right now. But will make a screenshot when I am back to work from my short vacation. It's an alpha state but looks promising.
Aaron Stannard
@Aaronontheweb
in today's public service announcement
Tail Recursion and C#: natural enemies
testing various parts of the actor dispatching system
for performance issues
came up with a test where I can pre-fill an actor's mailbox with 500000 messages
and none of them will be processed until I send that actor a Tell
instant stack overflow exception
Aaron Stannard
@Aaronontheweb
interesting - looks like it takes about 3x as long to put a message in an actor's mailbox vs. how long it takes the dispatcher to dequeue that message and push it into the actor's cell
feng3245
@feng3245
Does anyone know a reliable way of distinguishing if an actor is available from an actorSelection. IE no actor is at that address
Aaron Stannard
@Aaronontheweb
ActorSelection.ResolveOne
is one way - you'll get an exception if the actor can't be resolved
if you want to do it without an exception, do this
ActorSelection.Ask<ActorIdentity>(new Identify(null))
ActorIdentity.Subject will be null
feng3245
@feng3245
The interesting part is that I've used ResolveOne and it never returned control back to the current thread. Not even with an exception
Aaron Stannard
@Aaronontheweb
did you specify a timeout on it?
feng3245
@feng3245
I specified a 3 second timeout
Aaron Stannard
@Aaronontheweb
should work - our source is open; give it a look
might also be an issue, if you're doing this over Akka.Remote, that we've fixed in 1.1
made a lot of changes related to that
feng3245
@feng3245
The current release for akka.net is at 1.08 from nuget. Is it out yet?
Aaron Stannard
@Aaronontheweb
1.1 is due out in a week
timeline is on the readme
feng3245
@feng3245
Ok good to know
Aaron Stannard
@Aaronontheweb
although we were originally supposed to ship on June 14
taking longer than expected to wrap up some of the clustering and low-level bits
feng3245
@feng3245
Happens every cycle where I work. We don't even know what are deadlines anymore lol
Chris Martin
@trbngr
hey @Aaronontheweb. Is there newer Cassandra plugin? I just upgraded to newest nightlies and it's broken.
Aaron Stannard
@Aaronontheweb
I believe @cconstantin is working on a new one
Chris Martin
@trbngr
Well. If 1.1 is coming, maybe it's time for my vacation ;)
Chris Constantin
@cconstantin
@trbngr new version is pending. waiting to release akka-streams & persistence-query first
Ivan R. Perez
@irperez

@Aaronontheweb

it's a common problem - so coming up with a canonical solution would be a good idea. I think it's going to be something inherent in the actor on either end of the pub/sub relationship though, rather than a modification of the DistributedPubSub system itself

The problem with this is that the publisher doesn't know who all the subscribers are. So my thinking was that the mediator would ensure the message got through. Also, in my scenario, all subscribers require the message to come through, not just a single subscriber. Can't the acknowledgement protocol be used between the mediator and the subscriber?

feng3245
@feng3245
Did something happen to the source? I downloaded it and am getting a lot of syntax error regarding $ being used infront of " etc
Bart de Boer
@boekabart
Try VS2015
$ in front of " is a C#6 feature:
var someValue = DateTimeOffset.Now;
var asString = $"It is now {someValue:HH} o'clock";
Until recently, I never discoverd C# 6 code in akka.net though... is it intentional, @Aaronontheweb ?
Marc Piechura
@marcpiechura
@boekabart yep, check out the recent streams code, C# 6 everywhere ;)
to11mtm
@to11mtm
Yeah, I run into that a LOT, kinda sucks cause we are stuck on 2013 =(
HenryTonnison
@HenryTonnison
Does anyone know how to deserialise type arrays in Akka.net HOCON. I think in Java there is a getConfigList(string path)
some {
    namespace {
        users = [
            {
                name = "firstUser"
                age = 25
            }
            {
                name = "secondUser"
                age = 35
            }
        ]
    }
}
HenryTonnison
@HenryTonnison
//Something like this
 foreach (Config user in config.GetConfigList("some.namespace.users"))
 {
       var name = user.GetString("name");
       var age = user.GetInt("age");
}
Aaron Stannard
@Aaronontheweb
@HenryTonnison not offhand, @rogeralsing might know