Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:57
    valdisz synchronize #3904
  • 12:27
    valdisz synchronize #3904
  • 11:43
    cptjazz commented #3925
  • 11:40
    cptjazz synchronize #3925
  • 11:02
    valdisz edited #3904
  • 10:55
    Aaronontheweb synchronize #3926
  • 10:45
    Aaronontheweb opened #3927
  • 10:01
    valdisz synchronize #3904
  • 06:22
    cptjazz commented #3925
  • Sep 21 19:33
    Aaronontheweb opened #3926
  • Sep 21 16:19
    valdisz synchronize #3904
  • Sep 21 14:58
    Aaronontheweb synchronize #3924
  • Sep 21 14:58
    Aaronontheweb commented #3922
  • Sep 21 14:45
    valdisz synchronize #3904
  • Sep 21 14:43
    valdisz synchronize #3904
  • Sep 21 14:35
    Aaronontheweb commented #3925
  • Sep 21 09:51
    cptjazz opened #3925
  • Sep 21 09:11
    cptjazz opened #3924
  • Sep 20 23:30

    Aaronontheweb on dev

    added ability to support custom… (compare)

  • Sep 20 23:30
    Aaronontheweb closed #3923
Roger Johansson
@rogeralsing
we should add all the mailboxes and messagequeues in JVM, but the interest for the other impls seems sparse
Aaron Stannard
@Aaronontheweb
we should create an issue for it and mark it as up for grabs
Natan Vivo
@nvivo
i don't know, it seems some of them are there maybe for historic reasons
Roger Johansson
@rogeralsing
stop :) the prioritymailbox is abstract as implementors should implement their own priority generator
the actual priority code is in UnboundedPriorityMessageQueue
Natan Vivo
@nvivo
hm, ok!
makes sense
we've had multiple PRs now where all tests pass
but XUnit still crashes at the end
Roger Johansson
@rogeralsing
@HCanber found the issue in xUnit and made a PR for their repo, but it was not accepted as 1.9 is obsoleted
they do weird shit with threads and hook up on standard io or something like that
btw @nvivo the behvior docs is great, love the dotnetfiddle examples
@nvivo but back to the prio
+
Natan Vivo
@nvivo
thanks
Roger Johansson
@rogeralsing
fuck baby pressed the keyboard :P
either way, users of priority mailbox create a subclass of it, and then register that type in the config so that you can assign it in the props
Natan Vivo
@nvivo
right. I'll create an example for it
Roger Johansson
@rogeralsing
so they can prioritize their own special messages in whatever way they want
I think @Aaronontheweb might have a complete sample of that from his old MarkedUp company code, you used it there Aaron, right?
Natan Vivo
@nvivo
good. if there is leave a link here and I'll take a look
need to leave, my wife is calling here =)
Arjen Smits
@Danthar
heh, there is a book planned. Neat.
Aaron Stannard
@Aaronontheweb
@rogeralsing @nvivo yeah, I used the PriorityMailbox inside our HTTP load testing tool that I wrote
let me pull it up
@nvivo just checked out your stashing / behavior switching docs... dude... you did AN AMAZING job
:thumbsup:
Aaron Stannard
@Aaronontheweb
internet died on me - here's the priority mailbox implementation we used
public class ReplayMailbox : UnboundedPriorityMailbox
    {
        protected override int PriorityGenerator(object message)
        {
            if (message is HttpResponseMessage) return 1;
            if (!(message is LoggedHttpRequest)) return 2;
            return 3;
        }
    }
this was for a special piece of load-testing software that we used to find a bug inside Cassandra's API
that kept crashing a new version of our software in production
we would deploy a new version of our app which would log HTTP requests over the network to a central server, all powered by Akka.NET
that server would batch those requests into files, with fully serialized HTTP requests
and then we would play back that production traffic on top of our development server. Our normal traffic simulation and load testing tools couldn't capture the variety of stuff that actually came up real life in order to recreate this bug, so we did we people who work on multiplayer video games have done for years - use "saved games" to expose bugs :p
this mailbox was used by the replay agent to prioritize responses from our development server ahead of the recorded messages we were playing back
because the HTTP request / response was received by the same actor (probably should have designed that differnetly)
but the PriorityMailbox made this a lot more responsive and easier to run
Natan Vivo
@nvivo
Thanks. Writing a lot helps sometimes... =)
anyone else feel this way? ;)
Bartosz Sypytkowski
@Horusiath
don't you guys think, that some kind of Trello would be good for us?
Aaron Stannard
@Aaronontheweb
@Horusiath we should probably make better use of the milestones system on Github more frequently
and publish our roadmap and highlight specific areas for contribution
(once we've cleared up what that looks like, but it sounds like we're close)
Raymen Scholten
@raymens
Would be great for us users to know when the next bugfix release is planned etc.
Aaron Stannard
@Aaronontheweb
you know what - we have one planned for this week. Screw it - going to make a milestone now.
good idea lol
Joshua Benjamin
@annymsMthd
\o/
Raymen Scholten
@raymens
lol, nice :)