These are chat archives for akkadotnet/akka.net

23rd
Jun 2015
Aaron Stannard
@Aaronontheweb
Jun 23 2015 00:18
going to send in a PR in a moment here that turns on multi-node tests for all builds
should be a good time ;)
Weston
@ronnyek
Jun 23 2015 00:27
So being versioning is not in line... Does akka have pretty good persistence support and does distribution work reliably?
I think the distribution I speak of is what the java project called clustering
Aaron Stannard
@Aaronontheweb
Jun 23 2015 00:31
@ronnyek ah, we're still working on porting over Clustering - we have several Akka.Persistence implementations too but those are still a bit early
here's the roadmap, if you're interested: https://petabridge.com/blog/akkadotnet-2015-roadmap/
Akka.Cluster, the core component of clustering, is the goal of the next release -we
we have people using it in production already and it's been out in some way, shape, or form since August of last year - but there's a lot of subtle stuff that has to be tuned with it
Akka.Cluster.Sharding, Akka.Cluster.Tools, and Akka.Cluster.Metrics are all in the works also
jweimann
@jweimann
Jun 23 2015 01:06
Hey aaron, isn't the talk you're doing sat the Aamer as the last codecamp?
same
..
Aaron Stannard
@Aaronontheweb
Jun 23 2015 01:06
yessir - more or less the same.
Roger Johansson
@rogeralsing
Jun 23 2015 03:34
@Aaronontheweb : the "@Aaronontheweb
@rogeralsing an all-systems address confused the RemoteActorRefProvider and it tried to resolve a local address for an akka:// actor path
which is by definition, local" problem is most likely solved in my PR #1068 , as the actorref serialization is brought in line with jvm there
Roger Johansson
@rogeralsing
Jun 23 2015 03:52
@Aaronontheweb see #1072
Oleg Gavrilov
@OlegGavrilov
Jun 23 2015 05:02
Hi guys!
Anybody had any encoding problems with messages?
Bartosz Sypytkowski
@Horusiath
Jun 23 2015 05:23
@ronnyek Akka.Persistence is based on Event Sourcing concept, and it's pretty reliable (I mean it will save actor in consistent state even in case of infrastructure failures). You can watch more explanations about clustering concept here . When combining those two, there are few important must-knows, which should be dealt by the developer, but Akka.Cluster.Tools and Akka.Cluster.Sharding aim to handle these cases.
Also guys - JSON.NET 7 is out, it should solve some problems described in #999
Roger Johansson
@rogeralsing
Jun 23 2015 05:32
Great! Lets upgrade asap
Andrew Skotzko
@skotzko
Jun 23 2015 05:37
https://twitter.com/askotzko/status/613218025349644288 @/all anyone want to come to Progressive.NET in London next week?? email me if so
got an extra ticket
Andrew Skotzko
@skotzko
Jun 23 2015 06:29
aaaand ticket claimed. that was quick.
Roger Johansson
@rogeralsing
Jun 23 2015 06:40
nice :)
Thomas Lazar
@thomaslazar
Jun 23 2015 08:25
@Danthar you there?
your PR is not actually using the new syntax for DI
Arjen Smits
@Danthar
Jun 23 2015 08:31
wut?
how so
Thomas Lazar
@thomaslazar
Jun 23 2015 08:31
i commented on the PR
Arjen Smits
@Danthar
Jun 23 2015 08:31
ok going to look
aaah ok
so the docs are even further behind then i thought then ^^
Thomas Lazar
@thomaslazar
Jun 23 2015 08:32
yeah… i think i changed the relevant portions in the source code readme.md files.
but not in the actual front facing documentation
you don't need to get the extension anymore to create props.
Arjen Smits
@Danthar
Jun 23 2015 08:34
So i see
o lol. roger already merged it
ill do a new PR too fix it
Thomas Lazar
@thomaslazar
Jun 23 2015 08:35
yeah
Arjen Smits
@Danthar
Jun 23 2015 08:35
@rogeralsing that dude is fast :P
Thomas Lazar
@thomaslazar
Jun 23 2015 08:35
he is :)
Arjen Smits
@Danthar
Jun 23 2015 08:35
but this means all the code snippets for DI could use an overhaul
Roger Johansson
@rogeralsing
Jun 23 2015 08:36
haha, well I thought it was the old section that was incorrect.
so yes, I guess we need to update all examples
Arjen Smits
@Danthar
Jun 23 2015 08:37
should not be to much work. Ill work on the docs.
Thomas Lazar
@thomaslazar
Jun 23 2015 08:38
thanks for that
Dependency injection.md and DI Core.md should be the only ones need changing
Arjen Smits
@Danthar
Jun 23 2015 08:42
yup
Thomas Lazar
@thomaslazar
Jun 23 2015 08:46
while youre at it… the dependency injection.md could use an additional section explaining better how to use DI from the system and Context level. thats kinda hidden in the DI Core.md which is not really that interesting for the user :P
Roger Johansson
@rogeralsing
Jun 23 2015 08:51
markdown ftw!
Bartosz Sypytkowski
@Horusiath
Jun 23 2015 08:53
@thomaslazar stop using "`" instead of ' ;)
Thomas Lazar
@thomaslazar
Jun 23 2015 08:54
yeah sorry… i have an annoying setup here at work. work laptop and private mac are connected via software called synergy… and when i try to type ' it turns into `
Arjen Smits
@Danthar
Jun 23 2015 09:00
PR is made
it was even less work then i thought. :P
Thomas Lazar
@thomaslazar
Jun 23 2015 09:03
nice! thanks
Arjen Smits
@Danthar
Jun 23 2015 09:05
np. I didn't notice the changes before. Because i had not updated my akka package references. Been up to my eyeballs in work.
and if its works -- 'dont touch it'
Thomas Lazar
@thomaslazar
Jun 23 2015 09:05
who isn't? ;)
Arjen Smits
@Danthar
Jun 23 2015 09:05
^^
Weston
@ronnyek
Jun 23 2015 14:24
are there any small reference implementations of akka.net thats not the bootcamp stuff
I'm more curious now about integration
Weston
@ronnyek
Jun 23 2015 14:35
eg, so I've got a few actor definitions
does creating a IOC service that manages that integration point make sense
queue new work, and it'll create actors
and hand off the work
John Haigh
@haighis
Jun 23 2015 14:37
@rogeralsing I saw your comment on stack overflow regarding a db communicator actor. (https://stackoverflow.com/questions/28387589/how-to-handle-exceptions-within-the-actor-in-akka-net#), do you have example source code for this?
Aaron Stannard
@Aaronontheweb
Jun 23 2015 17:27
@rogeralsing @stefansedich looks like I need to upgrade the size of our build machines to support the muli-node tests
according to
senor @rkuhn gave me the specs for their CI hardware today, and they're running on much bigger machines than we are
the TestConductor for the multi-node tests appears to deadlock on the small 2-core machines we run on now (i.e. the testing infrastructure itself deadlocks,) but Roland also indicated that the multi-node tests take up a lot of memory too and need to be run on sufficiently large machines
I suspect that there are issues that need to be fixed in the code itself, but I'm going to experiment with running the multi-node tests on larger machines today
will also work on setting up some CI for the Akka.Persistence implementations we support
Chris Martin
@trbngr
Jun 23 2015 18:13
Where can I hook into to catch ActorInitializationException
Aaron Stannard
@Aaronontheweb
Jun 23 2015 18:14
the parent actor's supervision strategy is a good place to catch it for child actors
that exception gets thrown when you try to new up an actor outside the context of the actor system typically
can also get thrown if there's an exception inside the actor's constructor
@ronnyek here's a project that has some bigger samples in it: https://github.com/petabridge/akkadotnet-code-samples
Aaron Stannard
@Aaronontheweb
Jun 23 2015 18:22
Windows Azure is driving me insane today
trying to modify our build server images, and on three separate occasions I've not been able to successfully launch an agent
Azure outright forgot one of the deployments I created - just vanished without giving me any notifications.
Chris Martin
@trbngr
Jun 23 2015 18:23
our build server has been super slow lately too
Aaron Stannard
@Aaronontheweb
Jun 23 2015 18:24
I decided to just have teamcity launch larger build images
I need to throw some more cores at the multi-node testkit
I have more faith in TeamCity's Azure SDK than I do the two different Azure web portals lol
Chris Martin
@trbngr
Jun 23 2015 18:29
;)
Aaron Stannard
@Aaronontheweb
Jun 23 2015 19:41
setting up Mono CI support while we're at it
why not
Chris Martin
@trbngr
Jun 23 2015 20:13

Is there anything wrong with creating an empty actor for the sole reason of creating child actors? ie
` public class ServicesActor : UntypedActor
{
protected override void OnReceive(object message)
{}

    protected override void PreStart()
    {
        var resolver = Context.DI();
        Context.ActorOf(resolver.Props<Index>(), ActorPaths.Index.Name);
        Context.ActorOf(resolver.Props<Pusher>(), ActorPaths.Pusher.Name);
    }
}

`

Aaron Stannard
@Aaronontheweb
Jun 23 2015 20:15
nope
Chris Martin
@trbngr
Jun 23 2015 20:16
killer. It's alot easier to maintain
and my paths are perfect
Aaron Stannard
@Aaronontheweb
Jun 23 2015 20:31
@rogeralsing working on setting up some build images for the Akka.Persistence implementations
going to start working on migrating those to their own projects this week too
going to see if @stefansedich can help with the tail end of the Mono CI stuff too
Roger Johansson
@rogeralsing
Jun 23 2015 20:47
Ok, Ill help moving the repos over, servicefabric is already moved.
Marc Piechura
@marcpiechura
Jun 23 2015 21:36
@Aaronontheweb could you also create a repo for a mongodb persistence implementation? I have one ready in my fork ;)
Aaron Stannard
@Aaronontheweb
Jun 23 2015 21:49
sure thing