GitHub user weemen created a discussion: Time it takes between an envelope be 
created and being processed

I don't know if this is an issue or not. I'm also relative new to pekko so I 
cannot fully judge.
Recently I noticed that my projections are slow and I'm figuring out if this 
default behaviour or not.

So what did I do (and I maybe I'm measure it on the wrong way).
I'm running my app locally on my laptop. (No cluster setup)
My app has one projection active (I disabled all my other projections)
My projection does do a simple insert to postgress (this takes 30ms)
and at the end of the projection handler I do:

```
val timing             = (System.currentTimeMillis() - envelope.timestamp)
```

The outcome timing is always in the range  1800ms to 2200ms.

Although we strive for eventual consistency this still seems quite slow to me. 
Is this normal? do I messure it in the correct way? 

Many thanks in advance

Leon


GitHub link: https://github.com/apache/pekko/discussions/2166

----
This is an automatically sent email for notifications@pekko.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@pekko.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to