These are chat archives for akkadotnet/akka.net

8th
Aug 2016
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 08:01
@joshuadeanhall I think @Danthar has responded your question on github
Arsene Tochemey GANDOTE
@Tochemey
Aug 08 2016 09:04
Hello how do I disable system logging and only view my logs
Kris Schepers
@schepersk
Aug 08 2016 09:52
@Horusiath > I've fixed that (I hope <fingers crossed>)
I can confirm, it is fixed :-)
Ralf
@Ralf1108
Aug 08 2016 10:52

Hi,
I am currently investigating "Akka.Cluster.Sharding" via the example "ClusterSharding.Node".
In this example a MessageExtractor is used which requires to know the max count of shards for hashing.

During testing and debug the code I discovered that the "PersistenceId" of the "Customer" actor depends directly on this "max count of shards".
This implies that if this max count ever changes all event stored data has to be migrated?
What to do if the number of shards changes during runtime? Maybe because of load balancing or starting more machines?

Or did I missunderstand that?

Joshua Hall
@joshuadeanhall
Aug 08 2016 11:34
@Horusiath Yes @Danthar did. I followed what he said and still have the issue. I added the modified global.asax and also added the non persistent actor which works fine.
To the issue #2243
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:11
@Ralf1108 number of shards specified in config should never be changed - rule of thumb says, that it could be 10x maximum number of nodes, you expect to use for your system
Ralf
@Ralf1108
Aug 08 2016 12:12
so what if the number of nodes increases in future? e.g. a messaging server which has to handle millions of messags instead of thousands....
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:13
I've written maximum number of nodes for reason ;)
so if you're using 10 nodes, but expect that in the future you may need 100 of them, then set that value to 10*100=1000
Ralf
@Ralf1108
Aug 08 2016 12:14
than you start using 100 nodes and increase later to 1000 nodes?
but what if there is the case that if the system grew over and over ... and also over initial plans? :-)
just in case of.... what to do. migrate event store?
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:15
set up different sharding strategy ;)
Ralf
@Ralf1108
Aug 08 2016 12:15
for me it s only important to know that this "max number of shards" is stored with each event store entry
:D
so you mean another message extractor?
Kris Schepers
@schepersk
Aug 08 2016 12:16
@Ralf1108 When you are able to shut your whole system down, you can easily clear everything in your sharding store(s)..
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:18
yes, you don't need to follow hash-modulo rule, you can use i.e. some natural boundaries from your application domain - things like region/office identifiers etc.
Ralf
@Ralf1108
Aug 08 2016 12:18
ok, for a global messaging system e.g. the country id
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:18
yes, for example
Ralf
@Ralf1108
Aug 08 2016 12:18
ok thx :-)
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:20
just remember that countries/regions are not equal in size, so you may need to further divide them into smaller parts like US/1, US/2, CAD (2 shards for USA, 1 for Canada, based on user pool)
Ralf
@Ralf1108
Aug 08 2016 12:21
yes makes sense ! thx for pointing out
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:22
@joshuadeanhall my guess is that something blows up on the journal level - do you have any logs?
Alex Valuyskiy
@alexvaluyskiy
Aug 08 2016 12:55
@Horusiath scala version has ShardIdExtractor, EntityIdExtractor and message extractor, but .net version has only MessageExtractor with three methods. Do you have some strong reasons to join them?
Bartosz Sypytkowski
@Horusiath
Aug 08 2016 12:57
@alexvaluyskiy scala had both - MessageExtractor was used mostly by Java
Aaron Stannard
@Aaronontheweb
Aug 08 2016 22:12
sigh, I always run into the weirdest edge case shit with Azure
had an old sub migrated to a new sub
didn't migrate my AD settings with me
but since AD can only be managed through old portal
old portal, for some reason, can't see new sub's AD
so I actually can't effect any changes at all through it right now
current thing blocking me from getting CI up and running
Corneliu
@corneliutusnea
Aug 08 2016 23:36
@Aaronontheweb how was Australia? :)
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:36
rainy :rainbow:
lots of fun overall
attended some interesting talks and met lots of people who I'd known for years on twitter / github but never met in person
Corneliu
@corneliutusnea
Aug 08 2016 23:37
:)
I'll try to make it to the conference next time ... lots of friends were presenting ... this time was bad timing :)
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:38
got some good suggestions from Akka.NET users who attended the conference, including some who presented about using it
these folks want better DevOps tools / documentation / videos / etc - that and stuff like Akka.Cluster.Tools / Sharding to come out of beta
they've already announced they're going to do it again
since this was their first time in Sydney
Corneliu
@corneliutusnea
Aug 08 2016 23:40
:)
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:41
I did a karaoke duet with Aaron Powell at the Pluralsight party
Corneliu
@corneliutusnea
Aug 08 2016 23:41
hahahaha .. nice .. Aaron is nice. Was Adam (Cogan) there? He loves karaoke :)
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:41
and we kept ending up at Baxter's Inn for Scotch
Corneliu
@corneliutusnea
Aug 08 2016 23:41
:)
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:41
I think he was
I don't recall exactly
recognize the name though
Corneliu
@corneliutusnea
Aug 08 2016 23:42
hahaha .. very very loud guy, Microsoft RD, from SSW (they had a big stand there)
you can't miss him
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:43
the Readify guys were there in force
couldn't throw a rock in that building without hitting two or three of them
Corneliu
@corneliutusnea
Aug 08 2016 23:44
hahahaha .. yeah, I know, they (we) are always there (I'm ex Readify) ;)
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:44
seems like a rite of passage to be a .NET developer in Australia :p
gotta have that on the CV
Corneliu
@corneliutusnea
Aug 08 2016 23:44
hahahaha ... these days yeah .. it is .. when I joined Readify there were only 12 of us :D those days ...
I left when there were 100 :D
Aaron Stannard
@Aaronontheweb
Aug 08 2016 23:46
my favorite bit was definitely James Mickens talk: https://twitter.com/Aaronontheweb/status/761136446971404289
I've had some back-and-forth with a few Readify folks via email over the past year or so
didn't realize it was so huge
Corneliu
@corneliutusnea
Aug 08 2016 23:52
:)