Click here to Skip to main content
15,921,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a Trial version of a program Pin
Antony M Kancidrowski9-Jul-04 1:07
Antony M Kancidrowski9-Jul-04 1:07 
GeneralRe: Creating a Trial version of a program Pin
Ken Mazaika8-Jul-04 18:06
Ken Mazaika8-Jul-04 18:06 
GeneralRe: Creating a Trial version of a program Pin
*Dreamz8-Jul-04 18:12
*Dreamz8-Jul-04 18:12 
GeneralRe: Creating a Trial version of a program Pin
Anonymous9-Jul-04 8:39
Anonymous9-Jul-04 8:39 
GeneralControl Problem Pin
Ken Mazaika8-Jul-04 17:47
Ken Mazaika8-Jul-04 17:47 
GeneralIO Completion ports Pin
haritadala8-Jul-04 17:22
haritadala8-Jul-04 17:22 
GeneralRe: IO Completion ports Pin
Garth J Lancaster8-Jul-04 18:07
professionalGarth J Lancaster8-Jul-04 18:07 
GeneralRe: IO Completion ports Pin
User 5838528-Jul-04 18:35
User 5838528-Jul-04 18:35 
we have a server app that used to create a thread for each connection. This was fine for 100 users but was too slow for 1000's of connections

I changed it to use asynchronous io and a completion port with a fixed number of threads, one listener, one receiver, one worker per cpu and a couple of others for timing, cache purging etc.

The listener accepts connections and assosiates them with the completion port, the receiver waits on the completion port and generates job objects based on the received message. These are then queued and processed by the worker threads.

This has worked very well in production (most customers have very high end multiprocessor boxes) with 1000's of connections
GeneralGet Process Path with only process id Pin
Member 7916798-Jul-04 17:12
Member 7916798-Jul-04 17:12 
GeneralRe: Get Process Path with only process id Pin
Jeffrey Walton14-Jul-04 13:03
Jeffrey Walton14-Jul-04 13:03 
GeneralRe: Get Process Path with only process id Pin
Member 79167914-Jul-04 23:09
Member 79167914-Jul-04 23:09 
Generalfile transfere via winsock Pin
surfman198-Jul-04 15:04
surfman198-Jul-04 15:04 
GeneralRe: file transfere via winsock Pin
John R. Shaw8-Jul-04 17:46
John R. Shaw8-Jul-04 17:46 
GeneralRe: file transfere via winsock Pin
surfman199-Jul-04 10:18
surfman199-Jul-04 10:18 
GeneralPrinting Bitmaps Texture Fills Pin
Pinhead_Me8-Jul-04 14:07
Pinhead_Me8-Jul-04 14:07 
GeneralRe: Printing Bitmaps Texture Fills Pin
John R. Shaw8-Jul-04 17:53
John R. Shaw8-Jul-04 17:53 
Generaldrawing in win32 Pin
MG06668-Jul-04 13:32
sussMG06668-Jul-04 13:32 
GeneralRe: drawing in win32 Pin
PJ Arends8-Jul-04 13:57
professionalPJ Arends8-Jul-04 13:57 
GeneralRe: drawing in win32 Pin
MG06668-Jul-04 14:10
sussMG06668-Jul-04 14:10 
GeneralRe: drawing in win32 Pin
Pinhead_Me8-Jul-04 14:08
Pinhead_Me8-Jul-04 14:08 
GeneralRe: drawing in win32 Pin
MG06668-Jul-04 14:12
sussMG06668-Jul-04 14:12 
GeneralNeed to disable keybord and or the mouse Pin
Larsson8-Jul-04 12:48
Larsson8-Jul-04 12:48 
GeneralI Need to disabled keybord and or mouse Pin
Larsson8-Jul-04 12:42
Larsson8-Jul-04 12:42 
GeneralRe: I Need to disabled keybord and or mouse Pin
John R. Shaw8-Jul-04 18:05
John R. Shaw8-Jul-04 18:05 
GeneralRe: I Need to disabled keybord and or mouse Pin
Larsson8-Jul-04 23:08
Larsson8-Jul-04 23:08 

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.