What is the right way to poll from differents AWS SQS in the same process?
Suppose I have a ruby script: listen_queues.rb and run it.
Should I need to create threads to wrap each SQS poll or start sub processes?
t1 = Thread.new do
queue1.poll do |msg| ....
end
t2 = Thread.new do
queue2.poll do |msg| ....
end
t2.join
I tried this code, but the poll is not receiving any of the mes
Since last time I created poll attached to main dev thread I had to persuade forum admins to remove poll when no longer needed which took almost half a year, so I decided to create separate thread for each new poll I create...
So the first poll is about future of storage modes, basically I need to know if users with T-Mobile HD2 with 1GB NAND are using NAND-only mode or are using EXT partition.
Good Day!.
I create this thread not only for me
but for all P350 users.
Because of too many Custom Roms
made by Diff.
Come on, all roms are getting 5 stars, cant we find better way for rating all these roms?
I can only find listings of the roms, but no thread with real POLL or COMPARISON or RATING, and we do need one
This is a simple poll to see how XDA users are satisfied with their Google Nexus 7. Please select the answer that best describes your experience.
Lets not turn this into a defect / issue complaint thread but use it as a gauge at how users feel about their device.
:highfive:
Tell us your opinion via our poll!
Vote now! Which would you choose if you were given a choice!! :D
P.S. This is my first poll, so please pardon me should there be any error due to my carelessness. Thank you for understanding :)
Initially I was using one thread to listen a queue from amazon and works perfectly.
aws.rb
Thread.new do
my_queue = AWS::SQS::Queue.new(SQSADDR['my_queue'])
my_queue.poll do |msg|
...
but now I appended another thread to listen another queue:
...
I'm curious as to what everyone's favorite app for changing kernel frequencies is. I figured I'd do a poll thread to find out so that I wouldn't have to ask in different threads from time to time. If you want you can also list why in the comments.