Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer019-Feb-12 15:17
SledgeHammer019-Feb-12 15:17 
GeneralRe: Which approach is better for this problem? Pin
Pete O'Hanlon9-Feb-12 21:59
mvePete O'Hanlon9-Feb-12 21:59 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer0110-Feb-12 3:48
SledgeHammer0110-Feb-12 3:48 
GeneralRe: Which approach is better for this problem? Pin
Pete O'Hanlon10-Feb-12 3:56
mvePete O'Hanlon10-Feb-12 3:56 
GeneralRe: Which approach is better for this problem? Pin
jschell10-Feb-12 9:20
jschell10-Feb-12 9:20 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer0110-Feb-12 9:34
SledgeHammer0110-Feb-12 9:34 
GeneralRe: Which approach is better for this problem? Pin
jschell12-Feb-12 7:29
jschell12-Feb-12 7:29 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer0112-Feb-12 8:43
SledgeHammer0112-Feb-12 8:43 
jschell wrote:
However extrapolating that every or even most websites will have that much
traffic would easily exceed the population of the planet. So most web sites will
not experience that much traffic. Ever.


Sounds like you really need to get out into the real world if you think 5000 simultaneous connections is a lot. Game servers have WAY more. Brokerages that offer real-time stock tickers have WAY more. Those are some REAL WORLD examples for you since I know you have a really difficult / impossible time wrapping your brain around "hypothetical concepts" Big Grin | :-D

Anyways, that's not the point. The OP clearly stated he would have 5 low bandwidth connections later on, so he doesn't need a high bandwidth, scaling solution.

jschell wrote:
I can't find that post. And if it was made...


That was his first post.

jschell wrote:
1. It is a GUI problem not a data transport problem.


False. Again. ADO.NET out of the box closes the connection after every query / stored proc call and uses TDS over TCP/IP. Open + Connect + Execute Query + Merge results + close connection is actually a relatively expensive call. If you are doing this in a background thread, it wouldn't make the GUI jerky per say, but it would affect performance. If you are doing it in the foreground thread, thats a GUI issue. However, you can't update the GUI from a background thread directly (without invoke), so that'll affect the GUI performance.

jschell wrote:
2. Humans can't react in one second so the requirement is pointless.


You just don't like real requirements do you? Big Grin | :-D Reading your posts and playing arm chair psychiatrist, I think I have finally figured out your problem. You have spent too many years implementing "business requirements" at business oriented companies that don't care about performance. Thats cool. I work at a company right now where the boss doesn't care about performance. He doesn't care if it takes 1 minute to process a widget vs. 1 second. I mean, sure he is completely disregarding the fact that we have to process BILLIONS of widgets and that 1ms per widget is 277 HOURS per billion widgets, but thats neither here nor there.

As indicated above, game servers & stock tickers are REAL WORLD examples of stuff that needs to happen quickly.

Is that relevant to the OP? No, not really.

jschell wrote:
All databases that I know of can easily handle polling with 5 clients with a one
second poll rate.


How weird. My boss built a service that polls a hefty Windows 2008 + SQL 2008 box on a single connection / single thread and the box can barely keep up.
GeneralRe: Which approach is better for this problem? Pin
jschell14-Feb-12 13:27
jschell14-Feb-12 13:27 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer0114-Feb-12 13:58
SledgeHammer0114-Feb-12 13:58 
GeneralRe: Which approach is better for this problem? Pin
jschell15-Feb-12 8:36
jschell15-Feb-12 8:36 
AnswerRe: Which approach is better for this problem? Pin
BobJanova9-Feb-12 5:05
BobJanova9-Feb-12 5:05 
GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:03
AmbiguousName9-Feb-12 7:03 
AnswerRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 5:16
Dan Mos9-Feb-12 5:16 
GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:02
AmbiguousName9-Feb-12 7:02 
GeneralRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 7:13
Dan Mos9-Feb-12 7:13 
GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:30
AmbiguousName9-Feb-12 7:30 
GeneralRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 7:42
Dan Mos9-Feb-12 7:42 
GeneralRe: Which approach is better for this problem? Pin
AmbiguousName9-Feb-12 7:48
AmbiguousName9-Feb-12 7:48 
GeneralRe: Which approach is better for this problem? Pin
Dan Mos9-Feb-12 8:07
Dan Mos9-Feb-12 8:07 
GeneralRe: Which approach is better for this problem? Pin
SledgeHammer019-Feb-12 15:25
SledgeHammer019-Feb-12 15:25 
AnswerRe: Which approach is better for this problem? Pin
raven198529-Feb-12 13:09
raven198529-Feb-12 13:09 
QuestionHi all Pin
JoeManche9-Feb-12 4:15
JoeManche9-Feb-12 4:15 
AnswerRe: Hi all Pin
BobJanova9-Feb-12 5:06
BobJanova9-Feb-12 5:06 
GeneralRe: Hi all Pin
JoeManche9-Feb-12 18:48
JoeManche9-Feb-12 18:48 

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.