Re: [Web-SIG] Nodejs cluster

2014-03-19 Thread Roberto De Ioris

 nodejs cluster looks no more than a simple master + workers
 model

 Yes, NodeJS cluster is simple, But IMHO it's the gravity which unifies the
 Nodejs ecosystem. While in Python world we only have WSGI and everyone
 else
 has its own cluster model. (Please correct me if I am wrong!)

Completely agree with the unified gravity (even if it is not necessarily
a good thing), completely disagree with the cluster model. It is a
standard way available in all languages, and projects like apache uses it
by ages (and it is described in all of the ancient UNIX books out-there).

They did not invent it, and they did not solved anything that was not
solved 30 years ago :) Node is successfull because all of its third party
modules obey to its non-blocking way. This does not happen with Python
(and perl and ruby and ...) because they all born in a process/thread age.
Maybe something will change with asyncio, but i am pretty sure it will be
a really long (and hard) way. A way that not all of the people want to
follow (personally i do not like callback-based programming and i do not
think i will change idea too soon ;)



 What I propose is officially Python endorsed cluster standard. Am I over
 thinking this? Or the status quo is good enough for everyone else?


personally i think you are giving to this little thing too much
attention, the problems with clustering are at another level (sharing
structures and data between nodes comes first), and most of them still do
not have a solid solution


-- 
Roberto De Ioris
http://unbit.it
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
https://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com


Re: [Web-SIG] Nodejs cluster

2014-03-19 Thread est
 sharing structures and data between nodes comes first

Must agree with this. How many people out there use Redis as de facto
semaphores and event synchronizing mechanism? (Think of Resque and all its
glorious spin-offs)



On Wed, Mar 19, 2014 at 2:31 PM, Roberto De Ioris robe...@unbit.it wrote:


  nodejs cluster looks no more than a simple master + workers
  model
 
  Yes, NodeJS cluster is simple, But IMHO it's the gravity which unifies
 the
  Nodejs ecosystem. While in Python world we only have WSGI and everyone
  else
  has its own cluster model. (Please correct me if I am wrong!)

 Completely agree with the unified gravity (even if it is not necessarily
 a good thing), completely disagree with the cluster model. It is a
 standard way available in all languages, and projects like apache uses it
 by ages (and it is described in all of the ancient UNIX books out-there).

 They did not invent it, and they did not solved anything that was not
 solved 30 years ago :) Node is successfull because all of its third party
 modules obey to its non-blocking way. This does not happen with Python
 (and perl and ruby and ...) because they all born in a process/thread age.
 Maybe something will change with asyncio, but i am pretty sure it will be
 a really long (and hard) way. A way that not all of the people want to
 follow (personally i do not like callback-based programming and i do not
 think i will change idea too soon ;)


 
  What I propose is officially Python endorsed cluster standard. Am I over
  thinking this? Or the status quo is good enough for everyone else?
 

 personally i think you are giving to this little thing too much
 attention, the problems with clustering are at another level (sharing
 structures and data between nodes comes first), and most of them still do
 not have a solid solution


 --
 Roberto De Ioris
 http://unbit.it

___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
https://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com