You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Time it takes between an envelope be created and being processed #2165
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?
Activity