OrleansContrib / SignalR.Orleans

SignalR backend based on Orleans.
MIT License
295 stars 64 forks source link

perf(*): Send several performance optimizations #102

Closed stephenlautier closed 5 years ago

stephenlautier commented 5 years ago

One of the main reasons this was done is, because we have quite a heavy load in prod on realtime (~70million in 5days) and sometimes we do get several timeouts as below and we are trying to address this issue

image

The issue seems the streams are actually timing out, it could be our fault because they are not oneway, since from a stream we emit realtime (which internally is another stream). On a side note we tried to enable the FireAndForget on SMS for the orleans signal provider and streams immediately doesn't work correctly, not sure what the problem is tho

Performance

Send for ConnectionGrain

Features

BREAKING CHANGES

claylaut commented 5 years ago

@galvesribeiro can you check it out please