innoraft / kabootr

An email marketking and newsletters solution by Innoraft.
0 stars 0 forks source link

Research on best way to send efficient http request, and control over sending mail limit. #17

Open tkuldeep opened 10 years ago

tkuldeep commented 10 years ago

Way of sending Simplenews module email

Email Sending in Amazon

So by studying above points, we have some conclusion.

tkuldeep commented 10 years ago

I have been studying Guzzle php since 1 and half day.

For this you have to see these links, then I can explain my confusion http://guzzlephp.org/webservice-client/webservice-client.html#service-builder http://guzzlephp.org/webservice-client/using-the-service-builder.html.

tkuldeep commented 10 years ago

I have called Query API via HTTP requests in three method, and tested more than 10 times

Using Pecl_http extension

Using Guzzle normal Client Request object

Using Guzzle Batch feature Client Request object

So I think we have to use last one method for http sending request. Here we can send multiple request parallel via batch feature.

Batching

@sumeetpareek @mukeshagarwal @basantsharma : Please comment here, meanwhile I am implementing Guzzle batch feature.