Async webservices with php and nodejs

Sebastian Schürmann (12.Jun.2010 at 10:45)
Talk at Dutch PHP Conference 2010 (English - UK)

Rating: 3 of 5

PHP is a very nice language, but it's design has some shortcomings when it comes to a large number of http requests at the same time. Every access to a ressource, like for example a database or a filesystem makes your server wait for a result and blocks CPU cycles/RAM that could be used for other things.
Lifecycle of a apache+php request for starters and why it's not perfect
Shortcomings of current php caching methods
The http Status code 202 Accepted
Nodejs architecture for starters
Implementation of a ajax proxy to a php webservice that will even work when under heavy load

The nodejs webserver can fix this with it's asycronous way to handle requests and working with externals sources of data.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 2 of 5

12.Jun.2010 at 09:32 by Onno Lissenberg

It lacked colour ...

Rating: 2 of 5

12.Jun.2010 at 09:36 by Mark van der Velden

I would lower the time taken to explain that DB's are slow (we all know that and what the difference is between synchronous and asynchronous). And I'm not sure if you know about http_pecl (http://docs.php.net/manual/en/book.http.php) but other then that it was an OK talk, wasn't quite what I expected.

Rating: 4 of 5

12.Jun.2010 at 10:13 by Matthijs van den Bos

Liked it. Gave me some new ideas. I agree that it would have been nice to see a more elaborate example of backend access, but this talk was clearly meant to give a basis for more research, not a complete howto.

Rating: 3 of 5

12.Jun.2010 at 11:28 by Peter Kruithof

Good talk, although hard to understand fully of you're not familiar with node.js. Also some more presentation preps would have been in order

Rating: 4 of 5

12.Jun.2010 at 12:58 by Boy Baukema

Liked this talk, could've used more preparation.

Rating: 3 of 5

12.Jun.2010 at 22:23 by Bram Rohde

Like the subject of the talk, but then i really wanted to hear more about node.js
Instead the talk focused a bit too much on both async php and node.js
making it not go deep enough for either topic.
Shame about the slides as well.

Even though all of the above still enjoyed the presentation, and picked up some useful stuff

Rating: 2 of 5

13.Jun.2010 at 09:55 by Andries Mooij

I was a little bit disappointed, because a lot of time in the talk was dedicated to rants. I don't mind rants, but they should give me something to take home.
At the end Sebastian gave some nodejs example, which were interesting, I would've like to see more.

Rating: 1 of 5

14.Jun.2010 at 08:31 by Arno Lambert

chaotic presentation, I'm not convinced about the solutions for the given problems. Never got deeper than the surface.

Cloud server hosting by Combell Combell      © Joind.in 2012