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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -