These are chat archives for akkadotnet/akka.net

7th
Nov 2017
Bart de Boer
@boekabart
Nov 07 2017 07:40
Just looking into Bedrock (Expensify's distributed version of SQLite) as a 'backend' for Akka.Net. Since it 'speaks' SQLite, should be trivial to integrate. Anyone did this? If not, I'll look into it and keep y'all posted.
Arjen Smits
@Danthar
Nov 07 2017 07:43
@boekabart not that we are aware off. So go ahead :)
and yes if it speaks SQL it should be very straightforward
the sqlite integration should be all you need
to base your integration on, that is
Bart de Boer
@boekabart
Nov 07 2017 07:45
Actually, it speaks MySQL
it's built on top of SQLite, but is a 'running process' unlike SQLite
has a 'native' socket binding, and a mysql-emulating binding
I was watching this https://www.youtube.com/watch?v=0pu6uZjFmQ4 intro of it by one of the devs
Arjen Smits
@Danthar
Nov 07 2017 07:50
ah bedrock. heard that name come up before
thx for the link. ill check it out later today
Bart de Boer
@boekabart
Nov 07 2017 07:54
While using the MySQL emulation plugin might be interesting as a day-1 integration, actually writing a native 'Akka' plugin (with specifics for snapshotting, journalling, replay etc built-in) might be able to tune performance even higher. Just thinking out loud
Arjen Smits
@Danthar
Nov 07 2017 08:39
What do you mean with the MySQL emulation plugin ?
anthonyhawes
@anthonyhawes
Nov 07 2017 12:43
@Horusiath When using Persistence Query, is it possible to get access to things like the timestamp?
Bart de Boer
@boekabart
Nov 07 2017 13:13
@Danthar you'll see when you check out the Bedrock landing page. It's not native MySQL, but a plugin that emulates it. the Native API is a socket with a 'raw' interfaces roughly based on HTTP
Simon McConnell
@Unthred
Nov 07 2017 13:17

I have been asked to write a new bit of software which I think akka.net will fit nicely. I was hoping to chat over the design a little with someone before I completely jump in. Just got a toe in the water just now.

The basic premise is this - we have around 8,000 remote sites that are running windows nt service. This service exposes an api which contains a very lightweight call, lets call it a ping call. I have been tasked with calling all these sites once a minute and recording in a database how long each site took to respond. (possibly a couple of other metrics like dns lookup times etc). Then we can look for patterns and bottlenecks etc.

I am thinking of having an actor system, probably split across a few machines depending on how clogged it gets trying to do 8,000 api calls a minute

Is this a reasonable use of akka.net?
Bart de Boer
@boekabart
Nov 07 2017 13:51
Well you'll be doing up to hundreds of concurrent pieces of work, that need tracking during the work (waiting), and one or more 'actions' (store) afterwards, so I'd say, yes
Simon McConnell
@Unthred
Nov 07 2017 13:53
@boekabart thanks
RoBiK75
@RoBiK75
Nov 07 2017 13:53
I think Akka might be a slight overkill for such simple application but if you want to make it into a learning experience... why not :)
Simon McConnell
@Unthred
Nov 07 2017 13:55
I suspect it might grow into more......judging from past experiences in this company there will probably be a lot of "oh can you also make it do this"
RoBiK75
@RoBiK75
Nov 07 2017 13:55
lol yeah i am familiar with that kind of projects :D
Simon McConnell
@Unthred
Nov 07 2017 13:56
At the moment I am trying to decide if I should use akka.net or service fabric
I think it will end up runnin in Azure....can akka.net run there ok?
RoBiK75
@RoBiK75
Nov 07 2017 13:58
huh if you are going to use azure then you might go with orleans instead of akka
Simon McConnell
@Unthred
Nov 07 2017 13:59
ok thaqnks
thanks even
RoBiK75
@RoBiK75
Nov 07 2017 14:01
Simon McConnell
@Unthred
Nov 07 2017 14:02
marvellous thanks
Bartosz Sypytkowski
@Horusiath
Nov 07 2017 18:20
@anthonyhawes timestamp is not a part of the event envelope itself. You need to include them in your events.
@jalchr yes, I was going to evaluate Akka.Interfaced as a possible starting point.
Bartosz Sypytkowski
@Horusiath
Nov 07 2017 18:27
@andreichuk If I'm right, most of the socket servers don't handle WSAEWOULDBLOCK explicitly. But feel free to set a github issue for that (maybe even you'd like to contribute? ;) ), we may try to do something in this regard in the future.
Edson Flores Palma
@Efp95
Nov 07 2017 21:17
Hello, what options/choices do I have to send messages to the same router in a cluster from different nodes? (routees would be deploy in other different nodes)