-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Sorry for the obscure title. This isn't really a bug, but more a question around the design of SimpleInterSSMQ class. And My usage my be wrong.
At present, SimpleInterSSMQ->send() simply creates a curl request and attempts to send it to the given url. I see, and have been experiencing two issues with this as our SS cluster gets to 8 servers.
- The requests are not queued to begin with. MessageQueue::send() calls the MQ type send() method. If the type is SimpleDBMQ, it makes use of the database table in that class's own send() method. If the type is SimpleInterSSMQ, that class's send() method simply creates a CURL request, sends, and throws an exception if the response is not the literal string "ok". As the list of servers gets bigger, this slows the response that triggers it (which may be due to me implementing this incorrectly).
- The part about these CURL requests simply throwing an Exception when they fail is the next issue. Since failures are not stored or retried, any failure, for any reason, is obviously never sent.
This might be an question of implementation at my end. It might be a design oversight. It might even be that supporting 8-10 installations was never something this was designed to work with. I just want to get any ideas around this and there really isn't any other place to discuss this module.
Metadata
Metadata
Assignees
Labels
No labels