| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | named pipes |
RH> Option 1: RH> process A process B RH> ========= ========= RH> thread A1 ---> named pipe instance 1 ---> thread B1 -\ RH> thread A2 ---> named pipe instance 2 ---> thread B2 ---\ RH> ... -----> queue RH> ... ---/ RH> thread An ---> named pipe instance n ---> thread Bn -/ RH> Option 2: RH> thread A1 -\ RH> thread A2 ---\ RH> ... -----> queue ---> single instance named pipe ---> process B RH> ... ---/ RH> thread An -/ RH> I am interested in which case I obtain best RH> performance OF PROCESS A (I am less intersted in the RH> perfomance of process B). Then I would choose option 2, since queues are a lot faster (and use less [lan] resources) than named pipes. RH> With option 2 process A has both queue and pipe RH> processing. So I expect the process more resource RH> consuming. But queue processing might be lighter than But the overall number of pipes is less (one vs many). RH> Please consider in your answer that the processes may run on the same or RH> different systems. I figured as much -- if it was always to be on the same computer, you wouldn't want to use a named pipe at all. --- Maximus/2 2.01* Origin: Beer bellies = great waist. (905)858-8488 (1:259/414) SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430 SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1 @PATH: 259/414 400 99 98 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.