Skip to content

Commit

Permalink
Merge pull request #41 from pyeremenko/v3
Browse files Browse the repository at this point in the history
Add multithreading recomendations
  • Loading branch information
rkononov committed Nov 13, 2015
2 parents a8c709e + a9c5e64 commit bd0afd8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,15 @@ q.Delete(new[]{id1, id2});

--

## Multithread execution recomendations

- Do not use more than 25 threads inside one process. If you need more threads, use several processes.
- Do not exceed 50 requests per second from each thread
- Reuse the Client instead of instantiating it for each request.
- Don't try more than 15-20 consumer threads per queue concurrently. Instead, use long polling with keep alive connections.

--


# IronWorker
<http://dev.iron.io/worker/>
Expand Down

0 comments on commit bd0afd8

Please sign in to comment.