Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 28 21:04

    Aaronontheweb on 1.4.1-rc1

    (compare)

  • Feb 28 21:02
    Aaronontheweb closed #4282
  • Feb 28 20:54
    Aaronontheweb opened #4282
  • Feb 28 20:54

    Aaronontheweb on dev

    added Akka.NET v1.4.1-rc1 relea… (compare)

  • Feb 28 20:54
    Aaronontheweb closed #4281
  • Feb 28 20:50
    Aaronontheweb opened #4281
  • Feb 28 20:21
    Aaronontheweb synchronize #4270
  • Feb 28 20:20

    Aaronontheweb on dev

    v1.4.0 migration guide (#4280) … (compare)

  • Feb 28 20:20
    Aaronontheweb closed #4280
  • Feb 28 20:20
    Aaronontheweb closed #4279
  • Feb 28 20:20
    Aaronontheweb closed #4277
  • Feb 28 20:14
    Aaronontheweb ready_for_review #4280
  • Feb 28 20:14
    Aaronontheweb edited #4280
  • Feb 28 20:14
    Aaronontheweb synchronize #4280
  • Feb 28 20:07
    Aaronontheweb synchronize #4280
  • Feb 28 19:35
    Aaronontheweb synchronize #4280
  • Feb 28 18:28
    Aaronontheweb edited #4280
  • Feb 28 18:27
    Aaronontheweb commented #4280
  • Feb 28 18:27
    Aaronontheweb synchronize #4280
  • Feb 28 18:27
    Aaronontheweb opened #4280
Aaron Stannard
@Aaronontheweb
@goodisontoffee petabridge/akka-monitoring#37 - going to let CI run that and then I'll deploy it later today
Joshua Garnett
@joshgarnett
Has anyone built any chaos monkey style systems on top of akka.net? Thinking about injecting some latency and message loss.
Aaron Stannard
@Aaronontheweb
@joshgarnett we have a tool for that built into Akka.Remote
Joshua Garnett
@joshgarnett
oh yeah?
Aaron Stannard
@Aaronontheweb
which we mostly use inside our multi-node tests
yeah... let me see if I can dig it up
Joshua Garnett
@joshgarnett
Sweet
Aaron Stannard
@Aaronontheweb
baby sitting a nuget release on the build server here
haven't done a push of this package in 18 months
byte rot
Joshua Garnett
@joshgarnett
nice :P
Aaron Stannard
@Aaronontheweb
yeah, damn, forgot NuGet has a new explicit requirement
to specify source
gotta deal with this before I can answer your question
Joshua Garnett
@joshgarnett
no rush
Aaron Stannard
@Aaronontheweb
you enable a "transport adapter"
it's a unit that sits in front of your Akka.Remote transport
and is able to intercept messages as they're written or read
we have two built-in transport adapters we use for testing
the Gremlin, also known as the "failure injector"
which simulates packet loss
and the throttler, which simulates latency
you'd be able to setup a chaos-monkey-esque scenario using the former
it's probabilistic, FYI
you set a packet loss percentage
or you can use a
blackhole setting
which essentially forces a disconnect
Joshua Garnett
@joshgarnett
Cool, any way to also do that for local akka messages?
Aaron Stannard
@Aaronontheweb
probably by writing a custom mailbox implementation
that would behave the same way
Joshua Garnett
@joshgarnett
Good idea
cool, we shall see how this goes
Trying to debug some non-deterministic behavior, it’s been fun
Aaron Stannard
@Aaronontheweb
have you heard of FsCheck?
Joshua Garnett
@joshgarnett
nope
Aaron Stannard
@Aaronontheweb
it's how I find a lot of heisenbugs in my code and we use it in a few places here in the Akka.NET test suite too
I need to finish the part 3 of that series one day
it uses property and model-based testing
found tons of weird edge cases in production Akka.NET code with it
Joshua Garnett
@joshgarnett
Nice
Aaron Stannard
@Aaronontheweb
like a scenario where restarting one actor three times in a row broke a big piece of functionality, a scenario I would have never thought to test
Andrew Young
@ayoung
@uatec was that directed to me?
still don't know why Proto.Actor exists. Can someone comment?
Bartosz Sypytkowski
@Horusiath
@ayoung you could ask this question on proto.actor channel. IMO it result of some of the Roger's thoughts on akka's actors, that couldn't be implemented in akka itself because of legacy reasons. Personally me (and probably many people in the core team) sympathize with at least some of those ideas - we talked about them even before birth of proto.actor.
Phil Sandler
@philsandler_twitter
Thanks @Aaronontheweb --makes sense.
chipdice
@chipdice
Is there something special I need to do in order to serialize an enum as part of a message? I'm using Hyperion and as soon as I add my enum to a message I send, I get an error. ERROR 2017-09-14 14:35:54,547 [25] TcpServerHandler - Error caught channel [::ffff:172.16.165.175]:9710->[::ffff:172.16.165.175]:64469
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at DotNetty.Transport.Channels.Sockets.SocketChannelAsyncOperation.Validate()
at DotNetty.Transport.Channels.Sockets.AbstractSocketByteChannel.SocketByteChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)
DEBUG 2017-09-14 14:35:54,551 [25] EndpointWriter - Disassociated [akka.tcp://PMTActorSystem@chipd-pc2:9710] <- akka.tcp://PMTActorSystem@chipd-pc2:9560
WARN 2017-09-14 14:35:54,552 [25] ReliableDeliverySupervisor - Association with remote system akka.tcp://PMTActorSystem@chipd-pc2:9560 has failed; address is now gated for 5000 ms. Reason is: [Akka.Remote.EndpointDisassociatedException: Disassociated
at Akka.Remote.EndpointWriter.PublishAndThrow(Exception reason, LogLevel level, Boolean needToThrow)
at Akka.Remote.EndpointWriter.Unhandled(Object message)
at Akka.Actor.ReceiveActor.ExecutePartialMessageHandler(Object message, PartialAction`1 partialAction)
at Akka.Actor.ReceiveActor.OnReceive(Object message)
Saepul Ramdani
@blackclavus
Is there anyway to check current actor's behavior?