views:

41

answers:

2

I'm seeking for a approach for the following problem: I'm doing gps tracking. The data is being provided over http post requests by a gps data provider. The application should handle about one hundred trackings and poll each position max every second.

My approach so far: Out of a collection every object sets off async web requests triggered by a timer. The async request fails, while the sync request is successful. Needs to be fixed or checked (different problem) Another approach would be: every trace object sets off a backgroundworker thread with a sync httprequest and on completion it starts the next request.

What approach would you choose?

A: 

We need more data to answer this question. First, you said that Async download is failing. How exactly is it failing? What exceptions are you getting?

feroze
A: 

I came up with a timer approach, where I get background working behaviour from. The timer helps me set pauses between pollings easily.

rdoubleui