Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 15 20:04
    IgorFedchenko synchronize #3973
  • Oct 15 20:03
    IgorFedchenko synchronize #3973
  • Oct 15 19:34
    IgorFedchenko synchronize #3973
  • Oct 15 17:53
    Aaronontheweb closed #3972
  • Oct 15 17:53
    Aaronontheweb commented #3972
  • Oct 15 17:53
    Aaronontheweb closed #3976
  • Oct 15 17:53
    Aaronontheweb commented #3976
  • Oct 15 17:40

    Aaronontheweb on dev

    cleaned up some samples to use … (compare)

  • Oct 15 17:40
    Aaronontheweb closed #3975
  • Oct 15 16:33
    IgorFedchenko synchronize #3973
  • Oct 15 16:31
    IgorFedchenko synchronize #3973
  • Oct 15 14:04
    wsvdyk opened #3976
  • Oct 14 21:02
    Aaronontheweb synchronize #3975
  • Oct 14 21:02
    Aaronontheweb opened #3975
  • Oct 14 20:11
    IgorFedchenko commented #3973
  • Oct 14 20:10
    IgorFedchenko synchronize #3973
  • Oct 14 20:06
    IgorFedchenko synchronize #3973
  • Oct 14 20:06
    IgorFedchenko synchronize #3973
  • Oct 14 19:42
    IgorFedchenko edited #3973
  • Oct 14 18:08
    Aaronontheweb commented #3937
Justin Merth
@jdmerth
@schepersk thanks for the quick reply. I set up some monitoring and discovered it is exactly as you say. When I passivate an entity the CurrentShardRegionState response reports the correct number of entities for that region. It would be helpful to know how many entities are present within the cluster, I thought that GetClusterShardingStats would provide that, but I don't get a response message of ClusterShardingStats when sending that to a shard region. Any insight would be appreciated!
Justin Merth
@jdmerth
@stevenharrap in terms of performance monitoring, I have found that Sumo Logic's collectors are useful. You'll need to install the collector on the server, but after doing so you'll have a great deal of control over what you log. I discovered this when experimenting with Azure Service Fabric's performance counters. I had trouble collecting anything useful from Operational Insights, but the Sumo Logic setup was a breeze. Let me know if you move that direction and I can give you a bit more guidance on how I set it up.
Steven Harrap
@stevenharrap
Thanks @jdmerth. Sumo looks like an experience similar to Azure. I gather that there is a component that is installed into server, configured in the .config/code and referenced in the Actor classes with the help of some documentation. Can you describe how Sumo works in the debugging experience? Is it possible to separate debug results from production results.
Justin Merth
@jdmerth
There are a few different approaches. Since I'm running on a virtual machine scale set that I can define, I prefer to install the sumo logic collector on to the VM directly. That way I get all of the benefits of their client, then I log everything to a known location (e.g. d:/logs/out.log) that is configured in the collector. I use NLog and SlowCheetah tranforms to have a different nlog.config for release and debug. You can do the same for ApplicationInsights.config. Another approach is to use the network target, which I sometimes use for local development. I'm just starting to work with the Akka-Monitoring solution which looks very promising for sending App. Insights events. Let me know if you'd like some samples and i'd be happy to provide.
Corneliu
@corneliutusnea
Are there alternatives to configuring Akka except HOCON? I find HOCON terribly hard to read and there are no good text editors for it like there are for JSON
Corneliu
@corneliutusnea
answering my own question: the ConfigurationFactory seems to be happy to load pure JSON
Toshko Andreev
@Ravenheart
good day
Toshko Andreev
@Ravenheart
i'm building my first akka project and wanted some design tips
suppose i have an actor that will accept Login and Logout messages
and should then hold a list of all those that have logged in
should i use a pool router
or just go with a normal actor
(i will keep a list of actor paths)
Marc Piechura
@marcpiechura
@Ravenheart use a normal actor with a list inside.
Toshko Andreev
@Ravenheart
alright thanks
hope you don't mind if i ask some other newbish questions later
Marc Piechura
@marcpiechura
nope, all good ;)
Kevin McFarlane
@kevinmcfarlane
I'm having difficulty getting a simple persistence example to work based on the first example in the Petabridge blog post. I'm using SqlServer. I don't get any errors but otoh nothing gets written to the journal and snapshot tables. This is using Akka 1.0.6 with Persistence 1.0.6.17 and Persistence SqlServer 1.0.6.3. I'm on Sql Server 2008 R2, so I don't know whether that's an issue? Can someone take a peek if I post it up to my GitHub, unless they can think of an obvious gotcha to check in the meantime?
Toshko Andreev
@Ravenheart
suppose i'm writing the client side actors
do i have to specify my actor path as if its gonna be remote
like akka.tcp://MySystem@127.0.0.1:1234/user/someActor
or can i specify it like a normal in-app path: akka://MySystem/user/someActor
Dave Sansum
@dave-sansum
I'm currently using a child per entity model and after getting this running locally I'm starting to look into the remoting/clustering elements. In seems the clustering is really geared towards actors that are functional rather than entity based and I'm struggling to any documentation on dynamic systems. What I'm looking to do is have location transparency so if an entity A lives on node A, if node A fails the entity can be brought up seamlessly on node B ? It seems cluster sharding is the right (only) thing for this but it doesn't seem that mature at the moment. Any advice would be much appreciated?
Marc Piechura
@marcpiechura
@Ravenheart you only need the Akka.tcp path if you want to communicate with a remote actor
Toshko Andreev
@Ravenheart
also i've noticed that in some of the tutorials when you override say PostStop() you call the base method
while in some others you don't
do i always call the base method or
Kevin McFarlane
@kevinmcfarlane
@Ravenheart I wondered that as well! But IIRC I think base PostStop() curently does nothing?
Toshko Andreev
@Ravenheart
hello kevin
might i ask how long you've been using akka.net?
Marc Piechura
@marcpiechura
@Ravenheart @kevinmcfarlane the comment of the methods give you information weather you could skip the base call. PreStart and PostStop do nothing, rest does something
Kevin McFarlane
@kevinmcfarlane
@Ravenheart so far I've just tried it as a learning exercise on a home utility application I wrote to do backups to cloud storage. I wrote it conventionally and then thought I'd redo it using Akka. I tweak it from time to time once I think of some ideas or oversights.
Aaron Stannard
@Aaronontheweb
akkadotnet/akka.net#1911 - sorry for the delay on this @Horusiath
but that's all staged and ready to go - going to let the build server do its little dance
Aaron Stannard
@Aaronontheweb
alright, Akka.NET v1.0.8 is on its way to NuGet now
very minor patch - mostly just changes the configuration for Akka.Persistence back to the way it was
to11mtm
@to11mtm

Stupid question.... Context.ActorOf() inside an actor will create a child
So if I have inside my actor code pathed at
/user/SomeActor
{
Context.ActorOf(Props.Create(new S3SingleBucketFileOperationActor(params),"child")));
}

That will create it under /user/SomeActor/child/ , right?

Arjen Smits
@Danthar
yes
Maxim Cherednik
@maxcherednik
Hi @Danthar I asked a question before, but no one answered. Could you please comment on this:
Hi guys got a q. I know I've already asked similar one, but I didn't quite get the answer.
Here are a few facts:
  1. Cluster is still in beta
  2. There are online courses from the Petabridge about akka.net including Clustering
    So having these 2, I would assume that the cluster module can be used already. Even though it's still in Beta, there could be a limited number of bugs for some edge cases, but it should work in the most cases.
    Is this correct? @Silv3rcircl3 @Danthar @Aaronontheweb
Aaron Stannard
@Aaronontheweb
yep
getting Akka.Cluster out of beta is my number one priority at the moment
suspended work on just about everything else to finish it
throwing the kitchen sink at this fucker
but overall, you should be able to start using it
we've had people running it in production for years already
Maxim Cherednik
@maxcherednik
yeah, ok then. Some time ago you were advising me to take the course. Which I am planing to do, but I wasn't sure about the status of the clustering and how soon I can use it in Prod
Aaron Stannard
@Aaronontheweb
just got off the phone and told someone end of May / early June
who asked me the same question, another Akka.NET user