These are chat archives for akkadotnet/akka.net

14th
Dec 2017
Alfredo Herrera
@alfredherr
Dec 14 2017 06:14
@boekabart @Horusiath we are doing a POC of akka.net using file-based storage only, i.e. sqlite or rocksdb but we’re getting horrible performance with sqlite and i cant get rocksdb to work. I want rework/remodel it using sharding to have each actor define to what database it will store its state. that way i can have more than one database and hopefully get better throughput.
ForrestWang
@ForrestWang
Dec 14 2017 09:12
@Aaronontheweb In Akka streams, Is it make sense to make the element immutable? In each stage, the transformation will generate a new element and downstream to the next stage, after the stream processing finished.
after the stream processing finished, no changes to the original data source.
Bart de Boer
@boekabart
Dec 14 2017 09:34
@alfredherr sqlite seems to be really bad at INSERT performance, which is exactly the only thing Akka does when persisting. See https://blog.devart.com/increasing-sqlite-performance.html for some background and ideas to improve - we've actually tried most of these with very little effect
We've settled for SqlExpress or PostGres for now
HermansG
@HermansG
Dec 14 2017 11:03
@boekabart You wrote you use OnBecome - that name suggests it is an virtual/abstract member of the base class. As far as I can seen it is not? Is such a functionality something that could become a feature?
HermansG
@HermansG
Dec 14 2017 11:08
Can anybody explain the Around of AroundPreStart()? Does it mean it can be before or after PreStart()? Is it guaranteed to be before Start()?
HermansG
@HermansG
Dec 14 2017 11:18
How much data could one distribute on remote akka nodes (actors with state)? Could it be 100GB, 1000GB?
Bart de Boer
@boekabart
Dec 14 2017 13:12

@boekabart You wrote you use OnBecome - that name suggests it is an virtual/abstract member of the base class. As far as I can seen it is not? Is such a functionality something that could become a feature?

Not necessarily, it's just something I call at the end of every 'Become' (new behaviour) function

Bartosz Sypytkowski
@Horusiath
Dec 14 2017 16:01
@alfredherr what problems do you have with RocksDB?