Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:57
    nagytech commented #4235
  • 22:57
    nagytech opened #4235
  • 21:46
    Aaronontheweb edited #4212
  • 21:46
    Aaronontheweb edited #4212
  • 21:46
    Aaronontheweb edited #4212
  • 21:46
    Aaronontheweb synchronize #4212
  • 21:46
    Aaronontheweb edited #4212
  • 20:57
    Aaronontheweb edited #4212
  • 20:57
    Aaronontheweb edited #4212
  • 20:57
    Aaronontheweb synchronize #4212
  • 20:23
    Aaronontheweb edited #4212
  • 20:23
    Aaronontheweb synchronize #4212
  • 20:18
    Aaronontheweb edited #4212
  • 20:18
    Aaronontheweb edited #4212
  • 20:14
    Aaronontheweb synchronize #4212
  • 19:50
    Aaronontheweb synchronize #4212
  • 18:42
    Aaronontheweb edited #4212
  • 18:42
    Aaronontheweb synchronize #4212
  • 17:37
    Aaronontheweb commented #4082
  • 17:37
    Aaronontheweb commented #4082
Roger Johansson
@rogeralsing
hocon is json :P
@cpx its on GH.. https://github.com/rogeralsing/Wire very experimental atm.. working on the version tolerance. still 10x faster than our json.net setup in akka.net with faulttolerance enabled...
Bartosz Sypytkowski
@Horusiath
nope, HOCON is closer to javascript itself. My few favorite things people forgot about json:
  • it doesn't support date/time data types
  • it doesn't support comments (ofc VS2015 is hacking this around, which means that you'll get screen full of errors anytime you'll try to open project.json file in some other editor, and VS won't warn you about unparsable json file, that is going to be passed to i.e. browser)
nodejs community has this problem all the time - there is already nice collection of hacks for this, but ofc MS solution is incompatible with nodejs formats
Christian Palmstierna
@cpx86
@rogeralsing nice stuff. that is pretty darn fast.
Roger Johansson
@rogeralsing
pretty fun to code, shaving nano seconds off here and there. going to add surrogate support to it too
Christian Palmstierna
@cpx86
benchmarked it quickly against binaryformatter. ~2.5x faster :)
not as fast as protobuf though, but it's probably pretty hard to beat protobuf :P
Emil Ingerslev
@emilingerslev
Is it possible to host multiple processes on the same machine each with an ActorSystem connected with remoting, without explicitly giving them each an unique port? That is, is it possible to autoselect ports using seed nodes or something alike?
Roger Johansson
@rogeralsing
You can turn off version tolerance that makes it a bit faster
Bartosz Sypytkowski
@Horusiath
@emilingerslev if you have cluster scenario, you can simply set port only for seed node (or use lighthouse as preconfigured seed), and the rest of the joining nodes will connect to the cluster
but if you want to have non-clustered remote nodes, you'll need some kind of well-known mediator, that could be used to share endpoint info between nodes
foo bar code
@lepinay
Quick question: is it safe to compare two IActorRef using == operator ?
Emil Ingerslev
@emilingerslev
@Horusiath A cluster with seed node or lighthouse seems like what we want. I was just a bit unsure if you needed to supply a port for other nodes to connect to.
Roger Johansson
@rogeralsing
@lepinay no, as IActorRef is an interface and == operator can not be overridden for interfaces. you should use .Equals(other) instead
foo bar code
@lepinay
@rogeralsing Ah!, I didn't think about that, thanks :)
Graeme Bradbury
@GraemeBradbury
Seems I don't have permissions to assign myself to issue #1245 anyone else able?
Roger Johansson
@rogeralsing
@GraemeBradbury I added you to the contributors list, so you should be able now once you accept the invite
Wally S
@wshirey
hello all, i wanted to help with a lighthouse issue. what's the process you guys have for assigning issues? petabridge/lighthouse#10
Graeme Bradbury
@GraemeBradbury
@rogeralsing I'm already part of the contributors list.
Ryan Davis
@rdavisau
@wshirey I had added command line options support (part 1) here: rdavisau/lighthouse@8788224, but also seem to have broken something in the process and haven't yet gotten around to working out what it was :worried:
Ryan Davis
@rdavisau
I am a bit short on time at the minute so feel free to tackle it yourself, taking any inspiration from what's there. If you're not familiar with TopShelf (as I wasn't), it's work noting that I found it to be very precious about handling command line arguments - it would error out if anything was specified on the command line that it was not informed of by calls like AddCommandLineDefinition.
Besides being generally frustrating, that also pretty much locks you in to handling commandline args via TopShelf, rather than any other lib
(edit: just saw you had posted some ideas on the issue, will mention bits there)
Wally S
@wshirey
i spent a few minutes yesterday but didn't get far enough to test and find that topshelf takes over the cmd line args processing
Ryan Davis
@rdavisau
yes, I believe it works straight from Environment.CommandLine, which makes it hard to interfere with
it wouldn't be a problem, except that it croaks when it encounters an argument it wasn't configured to handle
Alan Schrank
@alanschrank
Do all messages flow over the EventBus/(EventStream) or only those that are specifically published on it?
Aaron Stannard
@Aaronontheweb
@emilingerslev definitely recommend that you check out the video on clustering - it's a bit long but it'll give you the details you're looking for: https://www.youtube.com/watch?v=mUTKvGyxbOA
Emil Ingerslev
@emilingerslev
@Aaronontheweb thanks, I will definitely watch that!
Aaron Stannard
@Aaronontheweb
@wshirey looks like both you and @rdavisau were collaborating in the comments - I left my thoughts on there
let me know if you need any more support from me!
Aaron Stannard
@Aaronontheweb
A lot of you guys probably get Petabridge's emails, so you may have seen this already - but if not, I recommend that you read it: https://petabridge.com/blog/stateful-web-applications/ - if you heard us talk at the Virtual meetup last week about leveraging "stateful" application development with actors and why it's so powerful, give this a read
jweimann
@jweimann
reading through it now
nice, didn't realize there were 100 ppl in that meetup. pretty impressive
Aaron Stannard
@Aaronontheweb
yeah, at any given time we had 50 people concurrently, but it ended up being north of 100 total who had attended the meetup for at least some portion of time
Weston
@ronnyek
so the akkaio stuff for tcp, would that share listening port across actors
or does it require port per
Roger Johansson
@rogeralsing
@cpx you ran the serializer in debug mode, right?
because..:
fast.png
beating protobuf when no version tolerance :D
Christian Sparre
@christiansparre
Hi, I'm looking a bit on Akka.Cluster and see a lot of examples with routing. Is all communication with actors when using Akka.Cluster done through routing? I might have some actors that there should only be one of. How do I get a hold of that one? I've been looking around the WebCrawler sample and I see a lot of routers...
Ivan R. Perez
@irperez
@Aaronontheweb just a heads up, I put in a pull-request for a bug I found with the performance counters.
Aaron Stannard
@Aaronontheweb
thanks @irperez - I appreciate that. I'm glad you caught it.
Despite that bug though, Akka.Monitoring working out well for you?
Ivan R. Perez
@irperez
It is. The perf counters are great. Its the insight I needed.
Christian Palmstierna
@cpx86
@rogeralsing Now that you mention it, yeah I did. Those are awesome numbers!
Aaron Stannard
@Aaronontheweb
if you're participating in the Akka.Cluster contributor's meetings, we're starting now - if you had no idea this was going on and want to start contributing going forward, jump on in here https://plus.google.com/hangouts/_/ytl/sSPRzi9D_lWeJgtaM57TzySeAJ-lKVqFEZf-Iu_Nh8g=
Aaron Stannard
@Aaronontheweb
finished our Akka.Cluster contributor's meeting - we did a pretty job documenting and exploring how the multi-node test runner actually works. If you folks are interested in working on Akka.Remote, Akka.Cluster, Cluster.Sharding, etc... this is good stuff to know: https://www.youtube.com/watch?v=xwmHWnIUmTY
Ryan Davis
@rdavisau
@Aaronontheweb sounds great, will definitely check it out :+1: