Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 14:40
    cptjazz synchronize #3974
  • 14:07
    cptjazz opened #3974
  • 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
Onur Gumus
@OnurGumus
I am thinking calling Cluster.Leave
however not sure how graceful it would be
Vasily Kirichenko
@vasily-kirichenko
but why do you need to move it to another node?
Onur Gumus
@OnurGumus
The reason is I have two processes running. Ocassionally we want to upgrade the application. So we stop one, handover happens, upgrade the stopped, then start and stop the 2nd one.
So that we don't have downtime.
during the upgrade process.
I am not sure if this is the bestway though
Vasily Kirichenko
@vasily-kirichenko
so you want to switch fast? I dunno.
Onur Gumus
@OnurGumus
Yes. I think this should be combined with a coordinated shutdown
Vasily Kirichenko
@vasily-kirichenko
I played with it today and it took about a minute :(
Onur Gumus
@OnurGumus
No that's obviously wrong
Vasily Kirichenko
@vasily-kirichenko
The docs promise it should take "seconds"
Onur Gumus
@OnurGumus
it is almost instant for me but do you use splitbrain ?
How do you down the other ?
Vasily Kirichenko
@vasily-kirichenko
I suspect the Consul was the issue
Onur Gumus
@OnurGumus
Even if you close the application, you need to "down" it.
Vasily Kirichenko
@vasily-kirichenko
Ctrl+C :)
Onur Gumus
@OnurGumus
that's not sufficient for handover
you also have to down it.
Vasily Kirichenko
@vasily-kirichenko
so the other nodes log that it's unreachable for that minute
Onur Gumus
@OnurGumus
Either use auto down config or use split brain
Then it is normal
Vasily Kirichenko
@vasily-kirichenko
auto down is evil! evil!
:)
Onur Gumus
@OnurGumus
Use split brain then.
Vasily Kirichenko
@vasily-kirichenko
how?
resolver you mean?
Onur Gumus
@OnurGumus
It is very simple and documented
Yes
Vasily Kirichenko
@vasily-kirichenko
ah. will read about it.
Onur Gumus
@OnurGumus
to tackle with network partitioning
Vasily Kirichenko
@vasily-kirichenko
However, it's not very important in my case. The actor is just a batch worker, nobody even sends messages to it.
so a minute downtime is ok
Onur Gumus
@OnurGumus
no it is not okay
you have to down it by some means
if you don't down it then I don't know maybe then it is okay
Bartosz Sypytkowski
@Horusiath
@vasily-kirichenko kill switch invoked on PostStop seems fine.
@OnurGumus if you're able to tell cluster to leave gracefully i.e. via Cluster.LeaveAsync, it's always better - @vasily-kirichenko case regards non-graceful scenario, when the cluster must detect dead node instead of being explicitly informed about it leaving
Onur Gumus
@OnurGumus
I think it is not possible to use both loggers : ["Akka.TestKit.TestEventListener, Akka.TestKit","Akka.Logger.Serilog.SerilogLogger, Akka.Logger.Serilog"]
As first one treats curly braces as string format and the other one doesn't
Bartosz Sypytkowski
@Horusiath
I would really like to create some reference example on how to design .net apps with akka.net - the only problem is that I need some well defined domain, where such use makes sense. I don't want to invent something by myself from thin air
I can think about few domains, but they'd be using only small parts of akka. Not a comprehensive example.
Ondrej Pialek
@ondrejpialek
If you want to help me design a sharded ecommerce Akka-powered app let me know :)
Bartosz Sypytkowski
@Horusiath
@ondrejpialek the context, I was talking about need something that won't be NDA'ed ;) Something to show publicly.
but if you've stuck somewhere in your design, you can always share your doubts here
Ondrej Pialek
@ondrejpialek
I know ;) I won't have any problem with making some "framework" or "patterns / practices" to be opensourced and the domain changed slightly and released as an example too. Something along the https://github.com/pawelkaczor/akka-ddd say. We are not that possessive where I work at :)
One of the main problems I am having adopting Akka is lack of real world use cases - so definitely support your idea ;)
Most of the books I've read or videos I've seen were either too theoretical or too tactical.
Hyungho Ko
@hhko
@Aaronontheweb @vasily-kirichenko thank you for your consideration about Spark.
https://www.nuget.org/packages/Akka.Quartz.Actor/ depends on .NET Framework 4.5.2.