pantomime-rs / pantomime

MIT License
5 stars 1 forks source link

Mailbox uses too much memory #14

Closed longshorej closed 5 years ago

longshorej commented 5 years ago

The crossbeam mailboxes use a lot of memory. Investigate why.

longshorej commented 5 years ago

A Conqueue-based mailbox should use less memory and provide more predictable usage than the current Crossbeam-based mailboxes. Conqueue is competitive from a performance standpoint, but not quite as fast. However, initial tests indicate that this has a negligible impact on actor messaging throughput, so it seems like it'll be a good choice for the default mailbox.