E
E
Evgeny Chereshnev2015-06-01 18:20:42
PHP
Evgeny Chereshnev, 2015-06-01 18:20:42

What type of data exchange between servers do you use?

Good afternoon.
Guys, a specific task appeared and the question arose - which option for data exchange is better in this case.
Briefly about the situation: there is a service whose task is to receive data from another site / server.
The sequence of actions is:
The server-client sends a request to the server-handler via php.
The processing server receives data, writes it to the database, answers the client that everything is good and then starts the processing process.
We are arguing with the whole office here - someone is for JSON, who is for SOAP, who is for cUrl, etc.
My question is what - which method would you choose if you relied on an indefinite size of input data + on the speed of processing and response.
Yes, in general, who thinks it is more correct?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir, 2015-06-01
@drdeathpanda

We washed down 3 options quickly and test, and then you will choose what is better and more convenient for you.

A
Andrey Burov, 2015-06-01
@BuriK666

Strange you choose from hot, soft and green...
JSON is a
SOAP format is a protocol
cUrl is a software (library)

E
evnuh, 2015-06-01
@evnuh

JSON over HTTP using cURL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question