You are here: Re: Server Client Architecture, best parctice « PHP « IT news, forums, messages
Re: Server Client Architecture, best parctice

Posted by James Benson on 11/17/05 15:18

Are both servers on the same machine?




Yaswanth Narvaneni wrote:
> Hi!
>
> I would like to know what does the community think of the best
> architecture for server client communication and why? That is, if
> there is a server in C++ (say a game server) and the PHP has to 'read'
> data 'from' the server then what is the best form of communication?
>
> a) Shared Memory : Server opens the shared memory in write and the PHP
> scripts open it in read and gets the data
> b) TMPFS (just like shared memory): Server opens a file in tmpfs in
> write and PHP in read
> c) Databases: Server Updates a table in the DB and client reads from the table
> d) Files: Same as TMPFS
>
> Regards,
> Yaswanth
>
> --
> "In theory there is no difference between theory and practice.
> In practice there is." -- Fortune Cookie

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация