Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 23 21:29
    Aaronontheweb commented #3863
  • Oct 23 21:28
    Aaronontheweb synchronize #3863
  • Oct 23 21:18
    Aaronontheweb synchronize #4000
  • Oct 23 21:17
    Aaronontheweb commented #3964
  • Oct 23 21:17
    Aaronontheweb commented #3964
  • Oct 23 21:16
    Aaronontheweb synchronize #3964
  • Oct 23 21:12
    Aaronontheweb commented #3964
  • Oct 23 21:08
    Aaronontheweb synchronize #71
  • Oct 23 21:04
    Aaronontheweb synchronize #3973
  • Oct 23 21:00
    Aaronontheweb commented #71
  • Oct 23 20:58

    Aaronontheweb on dev

    Akka.Persistence.TCK fix - chec… (compare)

  • Oct 23 20:58
    Aaronontheweb closed #4002
  • Oct 23 20:51
    Aaronontheweb synchronize #4002
  • Oct 23 20:45
    Aaronontheweb commented #3811
  • Oct 23 20:45
    Aaronontheweb commented #3811
  • Oct 23 20:44
    Aaronontheweb labeled #4002
  • Oct 23 20:43
    Aaronontheweb milestoned #4002
  • Oct 23 20:43
    Aaronontheweb opened #4002
  • Oct 23 20:37
    Aaronontheweb synchronize #71
  • Oct 23 20:20
    Aaronontheweb synchronize #71
Aaron Stannard
@Aaronontheweb
@rogeralsing @Horusiath btw, this is supposed to be getting merged today Azure/DotNetty#40
has all of the stuff needed to replace Helios AFAIK
Roger Johansson
@rogeralsing
nice!
Aaron Stannard
@Aaronontheweb
only thing missing is the multi-threaded event loop
which helps throughput across multiple connections
makes no difference over a 1:1 connection
Arjen Smits
@Danthar
Commit message Motivation: Let me guess. commit messages are mandatory ? ^^
Aaron Stannard
@Aaronontheweb
lol what's that from?
Arjen Smits
@Danthar
o wait. its followed by a newline :D
Azure/DotNetty@0722ade
Aaron Stannard
@Aaronontheweb
haha
Max has a very precise communication style
Arjen Smits
@Danthar
System.Diagnostics.Contract stuff is great. Been using it more and more in my own code as well
l3igmike
@l3igmike
is it possible to kill an actor, recreate it somewhere else and include its former mailbox messages?
Aaron Stannard
@Aaronontheweb
@l3igmike Akka.Persistence can do this
backs up its state, but not its messages, to a durable store
Yin Zhang
@melcloud
Morning guys. Is there a way to filter out death watch and heartbeat log message under debug? I want to see all sent/receive messages between two remote nodes, but those heartbeat message are rally annoying! :smile:
Aaron Stannard
@Aaronontheweb
if you're debugging Akka.Remote
or Cluster
one thing I recommend doing is just setting the heartbeat interval way the hell long
so you can stay at a breakpoint for a few minutes without a bunch of failure detectors going off
I have a snippet for that...
akka {          
           log-config-on-start = on
                        actor {
                            provider = "Akka.Cluster.ClusterActorRefProvider, Akka.Cluster"
                        }

                        remote {
                            log-remote-lifecycle-events = DEBUG

                            helios.tcp {
                                transport-class = "Akka.Remote.Transport.Helios.HeliosTcpTransport, Akka.Remote"
                                applied-adapters = []
                                transport-protocol = tcp
                                #will be populated with a dynamic host-name at runtime if left uncommented
                                #public-hostname = "POPULATE STATIC IP HERE"
                                hostname = "127.0.0.1"
                                port = 800
                            }
             transport-failure-detector {
               implementation-class = "Akka.Remote.DeadlineFailureDetector,Akka.Remote"
               heartbeat-interval = 400 s
               acceptable-heartbeat-pause = 300000 s
               monitored-by-nr-of-members = 5
               expected-response-after = 5000 s
             }
                        }            

                        loggers = ["Akka.Logger.Serilog.SerilogLogger, Akka.Logger.Serilog"]

                        cluster {
                            #will inject this node as a self-seed node at run-time
                            seed-nodes = []
                            roles = [lighthouse]
             failure-detector {
               implementation-class = "Akka.Remote.DeadlineFailureDetector,Akka.Remote"
               heartbeat-interval = 400 s
               acceptable-heartbeat-pause = 300000 s
               monitored-by-nr-of-members = 5
               expected-response-after = 5000 s
             }
                        }
                    }
pardon the weird tabbing
Yin Zhang
@melcloud
@Aaronontheweb nice... you kill two birds with one stone... :+1:
Aaron Stannard
@Aaronontheweb
but that lets me debug a cluster for effectively forever
that setting would be terrible to run in production
obviously
Yin Zhang
@melcloud
yeah, for sure. I just need it for development testing
Aaron Stannard
@Aaronontheweb
we have an issue where we're considering automatically doing that if the debugger is attached
but that probably wouldn't fix it if the service you're debugged is connected to a bunch of other ones that aren't
better just to modify the config
let me know if that works
Yin Zhang
@melcloud
By the way, we really need intellisence for akka config!
Aaron Stannard
@Aaronontheweb
yeah, that's a popularly requested one
Yin Zhang
@melcloud
@Aaronontheweb Yeah, that config works well. thanks
Aaron Stannard
@Aaronontheweb
:thumbsup: glad to hear it
Yin Zhang
@melcloud
hi guys, can I use Become in AtLeastOnceDelivery? Is it a bad idea?
Bartosz Sypytkowski
@Horusiath
@melcloud there's nothing bad in that, as long as you handle message confirmations in the new behavior
Yin Zhang
@melcloud
@Horusiath Thanks for that. Can you show me an example how to do Become in AtLeastonceDelivery? It doesn't seem to accept private void method. Cheers
Bartosz Sypytkowski
@Horusiath
@melcloud probably it works on canonical Receive signature which is bool Receive(object msg)
where returned flag should be true if message was considered handled.
Yin Zhang
@melcloud
Ah, of course. Silly me. Thanks... been a long day...
Bartosz Sypytkowski
@Horusiath
np ;)
Pawel Kasperek
@silentnull
Hi, as F# developer I used Mailbox Actor system. Last time I'm looking to Akka. Maybe my question is stuppid, but I can used all Akka.NET features in F# ?
Bartosz Sypytkowski
@Horusiath
@silentnull yes, but in general F# API is more specific - closer to FP, and not all plugins are adjusted to this paradigm.
sometimes some wrapper over OO might be needed
Pawel Kasperek
@silentnull
@Horusiath Thank you for answer, that I'm starting learning Akka in F# :) . Maybe I will convert some plugins to F#, because sometimes is difficault use OO in FP.
Zetanova
@Zetanova
Yes, debugging is a horror in akka.net
Arjen Smits
@Danthar
Hallmark of async applications