Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:12
    Aaronontheweb commented #3993
  • 15:51
    dependabot-preview[bot] synchronize #3991
  • 15:51

    dependabot-preview[bot] on nuget

    Bump Microsoft.Extensions.Depen… (compare)

  • 15:51
    dependabot-preview[bot] synchronize #3989
  • 15:51

    dependabot-preview[bot] on nuget

    Bump ApiApprover from 3.0.1 to … (compare)

  • 15:51
    dependabot-preview[bot] edited #3991
  • 15:51
    dependabot-preview[bot] edited #3989
  • 15:51
    dependabot-preview[bot] synchronize #3985
  • 15:51

    dependabot-preview[bot] on nuget

    Bump FsCheck.Xunit from 2.9.0 t… (compare)

  • 15:51
    dependabot-preview[bot] edited #3985
  • 15:51
    dependabot-preview[bot] synchronize #3982
  • 15:51

    dependabot-preview[bot] on nuget

    Bump FsPickler from 5.2.0 to 5.… (compare)

  • 15:51
    dependabot-preview[bot] synchronize #3986
  • 15:51
    dependabot-preview[bot] synchronize #3983
  • 15:51

    dependabot-preview[bot] on nuget

    Bump NUnit from 3.6.1 to 3.12.0… (compare)

  • 15:51
    dependabot-preview[bot] synchronize #3993
  • 15:51

    dependabot-preview[bot] on nuget

    Bump ApprovalUtilities from 3.0… (compare)

  • 15:51
    dependabot-preview[bot] synchronize #3992
  • 15:51

    dependabot-preview[bot] on nuget

    Bump Google.Protobuf from 3.9.1… (compare)

  • 15:51

    dependabot-preview[bot] on nuget

    Bump System.Reflection.Emit fro… (compare)

Roger Johansson
@rogeralsing
Test test
Roger Johansson
@rogeralsing
some md
  • aa
ffdf
fsdfsd
  • abc
  • def
  • ghi
public void foo() {
}
Aaron Stannard
@Aaronontheweb
aha
that's more like it
Nick K
@utrack
sirius testing :^ )
Roger Johansson
@rogeralsing
Ey
Aaron Stannard
@Aaronontheweb
@rogeralsing wanted to follow up on @Horusiath's question from #539 - are we moving towards stashing all of the akka website docs into its own folder in the repo?
@rogeralsing if so, let me know how I can help
(and this is the right room that we're going to use going forward, right? ;p)
Roger Johansson
@rogeralsing
yepp.. the github wiki has a repo at: https://github.com/akkadotnet/akka.net.wiki.git , just clone that and copy the files into some folder in the main repo.. that should do it, then Ill have to fix the website build script on drone.io
Aaron Stannard
@Aaronontheweb
@rogeralsing thanks Roger - I'll do that. Been wanting to include a sample on how to use the PriorityMailbox since we seem to get a lot of questions along the lines of "how do I customize a mailbox?"
Aaron Stannard
@Aaronontheweb
@Horusiath is your Akka.Persistence stuff ported from the canonical Akka implementation? Saw your example but haven't had a chance to look inside the repo yet
Bartosz Sypytkowski
@Horusiath

Yes, it's ported from original repo, with little differences. Major one is that original Akka implements most of the features as a traits, but since they seriously interfere in whole actor lifecycle mechanism, I had to implement them as classes. This is how inheritance tree looks like (it will be probably expanded):

  • Akka.ActorBase
    • Eventsourced
      • PersistentActor
        • UntypedPersistentActor
          • ReceivePersistentActor
        • GuaranteedDeliveryActor
    • PersistentView

GuarateedDelivery term is equivalent of Akka AtLeastOnceDelivery - name was shorter and looks more reasonable for me. It's internals are serialized as AtLeastOnceDelivery however to maintain compatibility with original Akka messages (serialization is made with Google.ProtocolBuffers lib - same used in Akka.Cluster - and I've copied original Akka.Persistence proto file to generate necessary classes).

There is only one type of journal at the moment (MemoryJournal, due to it's nature it's content is destroyed after program stop) and one snapshot store (LocalSnapshotStore, used to persisting snapshots inside local system files).

Roger Johansson
@rogeralsing
I've browsed the code and it looks great! :+1:
Aaron Stannard
@Aaronontheweb
@Horusiath @rogeralsing awesome, sounds cool - looking forward to seeing it in action. @Horusiath - send me an email at aaron AT petabridge.com; I might have some time in February to put together a SQL Server implementation of the persistent mailbox.
Bartosz Sypytkowski
@Horusiath

I'm currently working on making all of the specs working (esspecialy Akka.Persistence.TestKit - it's would be necessary for 3rd party journals/snapshot stores adapters fro compatibility checks). At the present moment it looks like this (total - number of all tests ported, failing - how many of them still fails under current impl):

  • Akka.Persistence.TestKit - TestKit itself is tested with built-in implementations of Journal and SnapshotStore:
    • LocalSnapshotStoreSpec - total: 8, failing: 5
    • MemoryJournalSpec - total: 14, failing: 2
  • Akka.Persistence.Tests:
    • GuaranteedDeliveryCrashSpec - total: 1, failing: 1
    • GuaranteedDeliveryFailureSpec - total: 1, failing: 1
    • GuaranteedDeliverySpec: - total: 7, failing: 7
    • PersistentActorFailureSpec - total: 1, failing: 1
    • PersistentActorSpec - total: 31, failing: 4
    • PersistentViewSpec - total: 12, failing: 3
    • PersistentActorSpanshotSpec - total: 8, failing: 0

However I have found that most of the time failures are not caused by Akka.Persistence implementation, but rather by bugs in tests themself. Probably GuaranteedDelivery (aka. AtLeastOnceDelivery) is the one part, that is not yet working.

Bartosz Sypytkowski
@Horusiath
I don't know when I'll fix all of them, so that I can pull whole plugin to the upstream. Also these features are not yet compatible with F# API - since it's neither similar to Scala's way of doing thing nor Erlang's, I think that some design thoughts from people who use F# and have strong experience with eventsourcing in production would be appreciated.
Aaron Stannard
@Aaronontheweb
If you guys are doing any blogging about Akka.NET, mention @AkkaDotNet in a Tweet and we'll make sure we RT your stuff and post it on the Akka.NET facebook group too
Bartosz Sypytkowski
@Horusiath
If I'm correct, we have JetBrains support, including Resharper for open source contribution, right? If so, how licensing procedure works?
Roger Johansson
@rogeralsing
just tell me where to mail the license
its an OSS license, so all core devs can have it
Bartosz Sypytkowski
@Horusiath
b.sypytkowski@gmail.com, I would be gratefull
Roger Johansson
@rogeralsing
sent
Bartosz Sypytkowski
@Horusiath
thx :)
Aaron Stannard
@Aaronontheweb
anyone know where I can find the source for the thunk() function that gets used inside Scala Akka's performance tests? See https://github.com/akka/akka/blob/cb05725c1ec8a09e9bfd57dd093911dd41c7b288/akka-cluster/src/test/scala/akka/cluster/VectorClockPerfSpec.scala#L54 for an example
I've gone as far as scouring the source inside scalatest itself to find it - no such luck yet :\
any ideas @rogeralsing @HCanber ?
trying to port some of the Akka.Cluster performance tests over
Roger Johansson
@rogeralsing
Its all there in that file :P
, thunk: (VectorClock, VectorClock) ⇒ Unit,
Aaron Stannard
@Aaronontheweb
.... welp, I'm an idiot :(
doh!
Roger Johansson
@rogeralsing
I guess that is sort of like Action<vectorclock,vectorclock>
Aaron Stannard
@Aaronontheweb
yeah, looks like it's just a typed Action
Roger Johansson
@rogeralsing
then they pass the compareTo func as the argument to it
In computer programming, a thunk is a subroutine that is created, often automatically, to assist a call to another subroutine. Thunks are primarily used to represent an additional calculation that a subroutine needs to execute, or to call a routine that does not support the usual calling mechanism. They have a variety of other applications to compiler code generation and modular programming.
so its just a higher order function?
Aaron Stannard
@Aaronontheweb
that's the definition of Thunk that I'm used to, but for some reason I just assumed it meant some crazy Scala performance testing magic
no idea why I thought that :sake: