Click here to Skip to main content
15,906,947 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is Microsoft Navision dead? Pin
OriginalGriff19-May-14 3:41
mveOriginalGriff19-May-14 3:41 
GeneralRe: Is Microsoft Navision dead? Pin
Neo1010119-May-14 3:52
Neo1010119-May-14 3:52 
GeneralRe: Is Microsoft Navision dead? Pin
OriginalGriff19-May-14 4:37
mveOriginalGriff19-May-14 4:37 
GeneralRe: Is Microsoft Navision dead? Pin
Simon_Whale19-May-14 4:38
Simon_Whale19-May-14 4:38 
AnswerRe: Is Microsoft Navision dead? Pin
Richard MacCutchan19-May-14 5:31
mveRichard MacCutchan19-May-14 5:31 
AnswerRe: Is Microsoft Navision dead? Pin
Eddy Vluggen19-May-14 5:43
professionalEddy Vluggen19-May-14 5:43 
AnswerRe: Is Microsoft Navision dead? Pin
Pete O'Hanlon19-May-14 6:40
mvePete O'Hanlon19-May-14 6:40 
GeneralRe: Is Microsoft Navision dead? Pin
Neo1010119-May-14 7:00
Neo1010119-May-14 7:00 
GeneralRe: Is Microsoft Navision dead? Pin
Pete O'Hanlon19-May-14 7:06
mvePete O'Hanlon19-May-14 7:06 
GeneralRe: Is Microsoft Navision dead? Pin
Eddy Vluggen19-May-14 7:33
professionalEddy Vluggen19-May-14 7:33 
GeneralRe: Is Microsoft Navision dead? Pin
OriginalGriff19-May-14 8:23
mveOriginalGriff19-May-14 8:23 
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 
Hi,
I need to write a High Performance TCP/IP server for receiving the data from the GPS devices and logging it to the database for display on Google Maps. There will be thousands of GPS devices connected to the GPS server and will be transmitting the data every 30 seconds and the display will be set to refresh typically every minute. I am looking for the help in specific areas, I will write the code myself and believe me I will post the complete developed and tested code on this same forum. I understand the following challenges
1.Concurrent TCP/IP connections
2.Database table bottlenecks

I would like to go for one table per device groups and different ports for devices with different protocols. I am assuming that I will need to write the following components.
1.Data Receiver
2.Parser as per the protocol and the commands
3.Data Cache
4.Database writer

Receive the bytes, log the received commands to the cache, implement the lazy writer to flush the data every minute to the database using different thread. Please comments on the following.
1.Does the GPS device disconnects after sending one command or it keep the connection to send the data further like long polling?
2.Is it better idea to maintain the thread pool and keep one thread per device? How many devices can be connected simultaneously to one port?
3.If I assume that device does not disconnect the client after transmitting the bytes to the server, should I keep the channel alive on the server to keep on reading the data every 20 seconds or whenever available?
4.Is it fair enough to have the separate threads for updating the data to the database server? Say data retrieval every 20 seconds and making it persistent to the database every one minute?
5.Is there any other better protocol rather that raw TCP/IP? I guess the other protocols like http etc should be slower as the header size itself is very big.
6.What is better choice Synchronous or Asynchronous sockets? Is it feasible to use UDP?
7.What is better choice? C# and SQL Server or JAVA and mySQL on Linux?

Many Thanks
Vipin
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 

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.