Building a Que


Today I realized that quite a few people could peg my servers by constantly asking to excessively sending out commands to ping and report inventory servers. Rather than going through a direct action of pinging the servers, I added a separate table to store a que of commands to execute. In this way, I can have a separate process that will address each command at a steady rate. In addition, if certain commands fail, I can choose to make another attempt later. I could even have it decoupled so that a separate server requests the information and processes the commands on its own.
posted by Dedric Mauriac on Woodbridge using a blogHUD : [blogHUD permalink]

Comments are closed.

%d bloggers like this: