PHP Microservices: REST vs Socket Performance Benchmarks

Devin Dixon
Jan 8, 2019 · 5 min read

When it comes to microservices, the most common and advocated method for communicating with a service is a RESTful API. And REST is a great choice because it:

  • Supports CRUD
  • Use HTTP, which makes it easy to connect from any device
  • Easy to name and organize resources, especially complex APIs