Jan'uary » 日志 » Amazon charge you for their own defect?
Amazon charge you for their own defect?
Jan 发表于 2008-06-25 12:41:14
From Amazon's FAQ:
Source
I am sure that my queue has messages, but a call to ReceiveMessage returned none. What could be the problem?
Due to the distributed nature of the queue, a weighted random set of machines is sampled on a ReceiveMessage call. That means only the messages on the sampled machines are returned. If the number of messages in the queue is small (less than 1000), it is likely you will get fewer messages than you requested. If the number of messages in the queue is extremely small, you might not receive any messages in a particular ReceiveMessage response. Your application should be prepared to poll the queue until a message is received. Note that with the 2008-01-01 version of Amazon SQS, you’re charged for each request you make, so set your polling frequency with that in mind.
Source
曾经的这一天...
- » 2007年: 朝鲜战争爆发57周年纪念
- » 2006年: 等着看阿根廷vs墨西哥
- » 2005年: Microsoft To Extend RSS
- » 2005年: KDE and Wikipedia
相关日志:
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
