Hey Guys,
for load testing I tried to fill my queue with 9000 jobs (about 50
byte each).
The erlang-beanstalk lib seems to be pretty slow on putting the jobs
into the queue from what I see.
All I get is approx 50-100 jobs per second.
Trying to fill the queue with the exact same jobs using ruby beanstalk-
client lib brings the expected 9000 entries per second.
I tried several machines so far (SuSe, CentOS, Windows). Same problem
occurs everywhere.
All I do is:
start() ->
{ok, Q} = beanstalk:connect(),
bs_test(0, Q).
bs_test(Start, Q) ->
case Start of
9000 ->
io:format("done");
_ ->
Test = <<"---\n-666\n-{{34343434},{544543543543534}}
\n-565465465656\n- deno\n 30\n">>,
{inserted, _} = beanstalk:put(Q, Test),
bs_test(Start+1, Q)
end.
Seems pretty basic to me.
Any ideas on this one?
Greetings,
Wiemo
--
You received this message because you are subscribed to the Google Groups
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/beanstalk-talk?hl=en.