Re: [Web-SIG] Nodejs cluster

2014-09-25 Thread Robert Collins
On 19 March 2014 22:02, Tobias Oberstein wrote: > We are working on a system (on top of Autobahn) which provides builtin > scale-up (multi-core) and scale-out (multi-node) capabilities: > > https://github.com/crossbario/crossbar > > This is work in progress and relies on WAMPv2. Here are a couple

Re: [Web-SIG] Nodejs cluster

2014-09-15 Thread Tobias Oberstein
>> If you crosslink the Flask app object and the WebSocket factory with >>each other you can shuffle data in both directions. >That's super cool. Thanks! >What I propose is officially Python endorsed cluster standard. Am I over >thinking this? Or the status quo is good enough for everyone else? H

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 wrote: > > >> nodejs c

Re: [Web-SIG] Nodejs cluster

2014-03-18 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!) Com

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread est
> 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!) btw uWSGI is awe

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread Tobias Oberstein
Chris Withers writes: > > On 18/03/2014 12:37, exarkun@... wrote: > >> Twisted Web is cool, but there's it's not as interchangeable as WSGI. > > > > Twisted Web includes a WSGI container. You can run any WSGI application > > in it. > > How easy is it to get messages from a twisted-run websocke

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread Roberto De Ioris
> Yes, I am aware of Tornado and Twisted Web has WSGI container > capabilities. > The only missing piece is the cluster capability which is that the thread > is about. :D > Honestly to me nodejs cluster looks no more than a simple master + workers model (already used by gunicorn, uWSGI and many

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread est
Yes, I am aware of Tornado and Twisted Web has WSGI container capabilities. The only missing piece is the cluster capability which is that the thread is about. :D On Tue, Mar 18, 2014 at 8:37 PM, wrote: > From: est >> >> >> Thank you guys for all the info. >> >> Twisted Web is cool, but th

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread Chris Withers
On 18/03/2014 12:37, exar...@twistedmatrix.com wrote: Twisted Web is cool, but there's it's not as interchangeable as WSGI. Twisted Web includes a WSGI container. You can run any WSGI application in it. How easy is it to get messages from a twisted-run websocket (say autobahn) into and from

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread exarkun
From: est Thank you guys for all the info. Twisted Web is cool, but there's it's not as interchangeable as WSGI. Twisted Web includes a WSGI container. You can run any WSGI application in it. Jean-Paul ___ Web-SIG mailing list Web-SIG@python.org

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread est
> is that client is limited to send operations only and requests to HTTP(S) protocol only. Is that true? All other parts of the system can communicate with whatever protocols they like. Yes! Every incoming requests are HTTP. There also need to be a long running process to hold all the fd pools fo

Re: [Web-SIG] Nodejs cluster

2014-03-18 Thread anatoly techtonik
On Tue, Mar 18, 2014 at 5:16 AM, est wrote: > > IPython.parallel > > > http://ipython.org/ipython-doc/stable/install/install.html#dependencies-for-ipython-parallel-parallel-computing > > It's based on ZeroMQ(PyZMQ), and the `ssh` command. I don't think that's > lightweigh enough for busy web clus

Re: [Web-SIG] Nodejs cluster

2014-03-17 Thread est
Thank you guys for all the info. Twisted Web is cool, but there's it's not as interchangeable as WSGI. You can use whatever framework django/flask/webpy/bottle you like and plug it in as long as it's PEP-333 compatible. Not so much for Twisted and Tornado's own ioloop engine. IPython.parallel ht

Re: [Web-SIG] Nodejs cluster

2014-03-17 Thread anatoly techtonik
On Mon, Mar 17, 2014 at 3:53 AM, est wrote: > The best we've got is something like Celery, or Telegraphy for Django Does IPython suits pattern better? http://ipython.org/ipython-doc/stable/parallel/parallel_intro.html > What do you guys think? I think not to reinvent the bicycle. Use PythonJS +

Re: [Web-SIG] Nodejs cluster

2014-03-17 Thread exarkun
From: est Recently I've been playing with Nodejs and websockets, looks like their community has advanced far ahead of us. For example http://nodejs.org/api/cluster.html The best we've got is something like Celery, or Telegraphy for Django, We The example I gave for Twisted Web on https://s

[Web-SIG] Nodejs cluster

2014-03-16 Thread est
Recently I've been playing with Nodejs and websockets, looks like their community has advanced far ahead of us. For example http://nodejs.org/api/cluster.html The best we've got is something like Celery, or Telegraphy for Django, We have multiprocessing module but it's often recommended to use ze