Click here to Skip to main content
15,905,612 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is Microsoft Navision dead? Pin
Neo1010119-May-14 8:49
Neo1010119-May-14 8:49 
AnswerRe: Is Microsoft Navision dead? Pin
jschell19-May-14 9:47
jschell19-May-14 9:47 
GeneralRe: Is Microsoft Navision dead? Pin
Neo1010120-May-14 11:44
Neo1010120-May-14 11:44 
AnswerRe: Is Microsoft Navision dead? Pin
Emre Ataseven19-May-14 19:32
professionalEmre Ataseven19-May-14 19:32 
QuestionC# Pin
Member 1060638219-May-14 0:11
Member 1060638219-May-14 0:11 
AnswerRe: C# Pin
Simon_Whale19-May-14 0:27
Simon_Whale19-May-14 0:27 
AnswerRe: C# Pin
Praneet Nadkar19-May-14 1:14
Praneet Nadkar19-May-14 1:14 
SuggestionRe: C# Pin
V.19-May-14 2:48
professionalV.19-May-14 2:48 
Questionhow Insert Image and Text in word Document in text box using c#? Pin
Member 1078639318-May-14 8:44
Member 1078639318-May-14 8:44 
AnswerRe: how Insert Image and Text in word Document in text box using c#? Pin
Dave Kreskowiak18-May-14 11:10
mveDave Kreskowiak18-May-14 11:10 
QuestionSocket Server Pin
Vipin1517-May-14 22:13
Vipin1517-May-14 22:13 
SuggestionRe: Socket Server Pin
Richard MacCutchan18-May-14 2:09
mveRichard MacCutchan18-May-14 2:09 
AnswerRe: Socket Server Pin
Matty2218-May-14 18:00
Matty2218-May-14 18:00 
GeneralRe: Socket Server Pin
Vipin1518-May-14 18:44
Vipin1518-May-14 18:44 
GeneralRe: Socket Server Pin
Matty2218-May-14 20:09
Matty2218-May-14 20:09 
GeneralRe: Socket Server Pin
Matty2218-May-14 20:11
Matty2218-May-14 20:11 
GeneralRe: Socket Server Pin
Matty2218-May-14 20:17
Matty2218-May-14 20:17 
GeneralRe: Socket Server Pin
Vipin1521-May-14 18:21
Vipin1521-May-14 18:21 
GeneralRe: Socket Server Pin
Matty2221-May-14 18:41
Matty2221-May-14 18:41 
AnswerRe: Socket Server Pin
Bernhard Hiller18-May-14 21:59
Bernhard Hiller18-May-14 21:59 
GeneralRe: Socket Server Pin
Vipin1521-May-14 18:17
Vipin1521-May-14 18:17 
AnswerRe: Socket Server Pin
Rob Philpott19-May-14 4:26
Rob Philpott19-May-14 4:26 
Interesting question.

Firstly, I think you need to be sure on how each GPS would connect. You suggest TCP, you need to get this confirmed and you need to find out whether it connects, delivers its information then disconnects (likely) or it leaves the connection open (unlikely).

How many GPS units are you talking about, how many thousand? If it's a thousand, and they update twice a minute you're only looking at 33 connections/second which I don't find in any way scary. From what I know about GPSs (which isn't a great deal) they normally send a very small packet just containing location information.

Then I'd implement a producer-consumer queue. Each incoming connection takes the data and just sticks it on the queue and disconnects. On the other end you have something (or more than one) which pulls these off the queue and writes them to the database.

I'd go for asynchronous constructs (BeginAccept, BeginReceive) on the reception end as these won't require a long running thread and scale well.
Regards,
Rob Philpott.

Questionhow to make slave monitor show something same as primary monitor? Pin
Tom-kit17-May-14 19:18
Tom-kit17-May-14 19:18 
AnswerRe: how to make slave monitor show something same as primary monitor? Pin
OriginalGriff17-May-14 19:40
mveOriginalGriff17-May-14 19:40 
GeneralRe: how to make slave monitor show something same as primary monitor? Pin
Tom-kit17-May-14 20:47
Tom-kit17-May-14 20:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.