Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 21 19:37
    Arkatufus synchronize #4228
  • Feb 21 19:37
    Arkatufus ready_for_review #4228
  • Feb 21 15:42
    Aaronontheweb assigned #4241
  • Feb 21 15:42
    Aaronontheweb milestoned #4241
  • Feb 21 15:42
    Aaronontheweb labeled #4241
  • Feb 21 15:42
    Aaronontheweb labeled #4241
  • Feb 21 15:42
    Aaronontheweb labeled #4241
  • Feb 21 15:42
    Aaronontheweb opened #4241
  • Feb 21 01:47
    Arkatufus opened #4240
  • Feb 21 00:10
    Aaronontheweb synchronize #4212
  • Feb 20 23:50
    Aaronontheweb synchronize #4238
  • Feb 20 23:48
    Aaronontheweb commented #4234
  • Feb 20 23:47
    Aaronontheweb synchronize #4212
  • Feb 20 23:46

    Aaronontheweb on dev

    close #4234 - added CachingConf… (compare)

  • Feb 20 23:46
    Aaronontheweb closed #4239
  • Feb 20 23:46
    Aaronontheweb closed #4234
  • Feb 20 23:25
    Aaronontheweb synchronize #4239
  • Feb 20 23:24
    Aaronontheweb opened #4239
  • Feb 20 23:14
    Aaronontheweb commented #4234
  • Feb 20 22:52
    Aaronontheweb commented #4234
Aaron Stannard
@Aaronontheweb
my previous company, MarkedUp, ran Akka.NET + Remoting along with big HTTP, Cassandra, Hadoop, and Solr workloads
the marketing automation piece, which was what we built with Akka.NET had, worked within < 1.5s real time constraints for elastic workloads
so I've had positive experiences there, and that was over 3 years ago
err, 2 years ago
ARM supposedly has better benchmarks on a lot of that stuff over AWS, but I've never measured it
usually we outperformed our 1.5s real time constraint by a long shot.... most of the latency there was pushing a notification over the network to the client
the Akka.NET part was executing all of that stuff in 20-30ms
Chris Ochs
@gamemachine
ya I have a project for large scale mmo type games on java akka, with restraints on latency of around 5ms at around 400k messages second per node. Biggest challenge is really GC once you start working on low latency stuff
throw in an average cloud vm with performance that's anything but deterministic, and things can go south really fast
Aaron Stannard
@Aaronontheweb
noisy neighbor problem on cloud VMs is my favorite
colleague of mine built a real-time customer support service that had to work across cellular networks, ran everything on Amazon originally
noticed that none of their VMs were hitting the numbers they were supposed to given their size
started measuring this metric amazon tracked called "clock steal"
Chris Ochs
@gamemachine
ya last large game I worked on we planned to use vm's, then two weeks before launch after our testing showed how noisy the neighborhood really was, went with bare metal
Aaron Stannard
@Aaronontheweb
TL;DR; turns out they were running on the same physical hardware as FourSquare at the height of its popularity, and the CPUs they were using were actually still being mostly utilized by them
Chris Ochs
@gamemachine
although azure actually does have some of the best high end vm's from what I can tell
Aaron Stannard
@Aaronontheweb
ended up moving to Joyent eventually
Chris Ochs
@gamemachine
ya when it's my own choice I have a small list of lesser known but still large enough not to fail providers that give me a lot more for the money then big name cloud providers do
it's really the big guys that oversell the worst
because it just takes one no nothing manager in the right position that won't touch anything but a brand name
and they know that
Aaron Stannard
@Aaronontheweb
yeah
the tooling ecosystems around some of those vendors is a big part too
Azure's invested a lot of money into getting integrated into things like HashiCorp tools, partnering with companies like DataStax, etc
Tamir Dresher
@tamirdresher
Hi, I have a weird situation where an asp.net application uses Ask() to reach an actor over remoting. the first call works fine but the second one causes an exception on the remote actor system. [ERROR][17/12/2016 09:12:56][Thread 0014][Akka.Remote.Transport.Helios.TcpServerHandler] Error caught channel [[::ffff:127.0.0.1]:8092->[::ffff:127.0.0.1]:65321](Id=ChannelId(714342544)) Cause: System.Net.Sockets.SocketException (0x80004005): The I/O operation has been aborted because of either a thread exit or an application request at Helios.Channels.Sockets.SocketChannelAsyncOperation.Validate() at Helios.Channels.Sockets.AbstractSocketByteChannel.SocketByteChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)
i can't figure out why. i tried using Tell() instead of Ask() but it still fails
Martin Helmer
@helmerm

Hi. I have problems with the synchronized-dispatcher. I want to create UI actors dynamically from a background thread. However the TaskSchedulerExecutor uses the TaskScheduler.FromCurrentSynchronizationContext() which is not available in the background thread and causes a "The current SynchronizationContext may not be used as a TaskScheduler." exception.

I tried to create my own Dispatcher implementation, so that I can just safe the TaskScheduler at startup. However, it seems like the necessary stuff is internal and I can not do what I want.

Any suggestions, how I can set the TaskScheduler at startup?

dandago
@dandago
Aaron wrote: "all of our Win32 messaging clients work via HTTP polling since there’s a number of tricky permissions issues related to keeping an open socket in the background on each version of Windows (a subject for a separate blog-post.)" -- in this blog post: http://www.aaronstannard.com/markedup-akkadotnet/
any idea what he's talking about?
Arjen Smits
@Danthar
@dandago you would have to ask @Aaronontheweb about that
@helmerm Why are you creating your actors on a background thread ?
why not create one coordinator actor on the synchronized-dispatcher, send your messages there, and let the coordinator create your UI actors where needed ?
or create your UI actors on system startup if they are basically top level actors that are meant to always be there ?
Aaron Stannard
@Aaronontheweb
@dandago that was literally a messaging system I developed for Win32
based on what MarkedUp's business did
Tamir Dresher
@tamirdresher
Hi @Aaronontheweb do you have any clue what could be causing the problem i described here: https://gitter.im/akkadotnet/akka.net?at=5855028b7a3f79ef5d68c890
?
Aaron Stannard
@Aaronontheweb
@tamirdresher weird, no idea why - probably has nothing to do with Ask
keep an eye on whether or not IIS is restarting the process - had issues at application startup when I'm using SignalR + ASP.NET + IIS where the process restarts within the first ~20 seconds of application startup
and this is an IIS issue
the reason you're seeing that error is because the transport thread is being aborted
Tamir Dresher
@tamirdresher
Thanks. I'll check
Aaron Stannard
@Aaronontheweb
can only happen if the thread is killed as part of a process restart or the Actor system is shutting down
Tamir Dresher
@tamirdresher
The ActorSystem is running or a dedicated process
Sorry, meant to say: on a dedicated process
to11mtm
@to11mtm
@tamirdresher What about the call itself from the ASP net app to said actorsystem? how is that being done?
I know I've sen that at some point, trying to remember the how/why
Tamir Dresher
@tamirdresher
@to11mtm the ActorSystem is created when the application boots, and then upon the user action, it sends a message by using ActorSystem.ActorSelection(...)
to11mtm
@to11mtm
so typical Static actorsystem instantiated on application_start or similar?
Tamir Dresher
@tamirdresher
all the other messages that are sent are handled without a problem, but somehow, for some reason, this specific message causes the system to fault.