[erlang-questions] 20k messages in 4s but want to go faster!
Tony Arcieri
tony@REDACTED
Sat Jul 11 00:56:43 CEST 2009
On Fri, Jul 10, 2009 at 12:24 PM, Joel Reymont <joelr1@REDACTED> wrote:
> I also tried this variant but only shaved 100-200ms from the 4s.
>
> F = fun(_, {_, Send}, _) -> spawn(fun() -> Send(Msg) end) end,
> dict:fold(F, ignore, State#state.subscribers),
>
> I tried distributing my test harness over 4 EC2 instances but this saved me
> a second or so, for the 4 second total I'm trying to beat now.
>
> What else can I do?
>
Have you tried persisting the processes?
--
Tony Arcieri
medioh.com
More information about the erlang-questions
mailing list