MySQL Forums
Forum List  »  Performance

Re: Eliminate filesort in update query
Posted by: Rick James
Date: September 26, 2014 04:39PM

> 135 poll operations per second

Ugh! As I say, "Don't queue it, just do it".
It sounds like the MySQL-based queue is about to be the bottleneck in your system.

If the workers are on the same machine, then spawn processes to do the actions, and pass (what you would have put into the queue) either as parameters on the command line or in a pipe.

If the workers are on other machines, then do a round-robin HTTP request the worker machines, passing the parameters in the url (perhaps using "REST").

Options: ReplyQuote


Subject
Views
Written By
Posted
2510
September 23, 2014 02:48AM
1011
September 23, 2014 09:59PM
946
September 24, 2014 01:25AM
989
September 24, 2014 08:40PM
991
September 25, 2014 05:48AM
Re: Eliminate filesort in update query
926
September 26, 2014 04:39PM
974
October 01, 2014 06:49AM
991
October 03, 2014 10:09PM
1022
October 04, 2014 03:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.