php - Is using IP sockets for RPC functionality for a distributed system a good idea? -
i curious if using socket daemon in php idea building rpc functionality on distributed system?
well, depends on you're doing. in general, i'd build restful interface opposed using raw sockets. way it's normal http (which easy use, extend, etc) rather needing invent own protocol. either that, or use 1 of many rpc protocols:
- xmlrpc
- jsonrpc <- since it's easy use in language
- soap
- etc...
Comments
Post a Comment