Nathan B
2015-04-23 14:46:20 UTC
I recently switched from Aleph 0.3.2 to the new Aleph 0.4.0 and noticed
about a doubling of CPU usage for the same load after the switch. We use
Aleph for a Websocket server. The basic change that we made was to use
let-flow to grab the websocket and then instead of lamina/receive-all we
switched to use stream/consume. Only other change was in sending results
back to the client we are using stream/put! and throwing away the deferred
as we don't need to track success of the send.
Any thoughts on what could be going on here to decrease performance so
much? Is there a way to do the send without creating a deferred when you
prefer fire and forget semantics as maybe that is generating substantially
more garbage collection in our scenario for functionality we don't use?
about a doubling of CPU usage for the same load after the switch. We use
Aleph for a Websocket server. The basic change that we made was to use
let-flow to grab the websocket and then instead of lamina/receive-all we
switched to use stream/consume. Only other change was in sending results
back to the client we are using stream/put! and throwing away the deferred
as we don't need to track success of the send.
Any thoughts on what could be going on here to decrease performance so
much? Is there a way to do the send without creating a deferred when you
prefer fire and forget semantics as maybe that is generating substantially
more garbage collection in our scenario for functionality we don't use?
--
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.