If you're talking about a webserver serving a database-backed website, I see no need to use it. Perhaps some esoteric uses could be found for it.
On Wednesday, April 10, 2013 4:28:08 PM UTC-7, Massimo Di Pierro wrote: > > I really like 0MQ too but I would like to understand a typical test case > of integration with web2py. Consider the scheduler for example. The bottle > neck is not distribution of tasks (which 0MQ would handle great) but the > fact that tasks and main app need to access the database. If the workers > do not need to access to the database (for example tasks that send a simple > email) then 0MQ would provide a benefit but the problem is no longer web2py > specific. > > In which situation would use 0MQ with web2py? > > Massimo > > On Wednesday, 10 April 2013 17:06:59 UTC-5, Arnon Marcus wrote: >> >> I'l like to start a discussion about working-out an integration >> implementation for ZeroMQ in web2py. >> If not as a "built-in", than at least as a "contrib". If nothing else, >> than at the very least a recipe and/or examples, and added documentation >> about how to activate/deploy the integration. >> >> ZeroMQ is, to me, one of the coolest things that have happened to the >> software industry in recent decades... Gone are the days of monolithic >> systems - open-source has changed the software world entirely, and there is >> no going back - the days are the days of the integration,hybrid-system, >> modularity, and variety of components, and ZeroMQ is fast becoming the >> best candidate for filling the gaps and being the glue that can best bind >> all things together - beyond the concept of a static-centralized message >> broker. >> Fast, efficient, flexible, easy to use, decentralized, free, >> cross-platform, poliglot, and for not just for messagins, but also for rpc >> and REST (the concept, not the protocols), and not even just for >> networking, but also for itc and ipc. >> I think the more software will esit that has it buil-in, the more easy it >> will become to build dynamically changing modular software infrastructures. >> >> >> Now, the first thing that I am personally interested about, is to have a >> 0MQ-RPC service alongside the existing services. There are already existing >> python modules that do that, it is only a matter of picking one and >> integrating is as just another service. >> For example: >> https://github.com/dotcloud/zerorpc-python >> >> In addition, there are initiatives for having ZeroMQ-complaint sockets on >> the client-side. >> Here are a few examples: >> http://vimeo.com/41410528 >> http://www.zeromq.org/topics:0mq-over-http >> http://blog.fanout.io/2012/09/26/make-http-requests-over-zeromq-with-zurl/ >> Web2py can be another one of the frameworks that implement a ZeroMQ >> bridge between clients and the rest of the back-end software infrastructure. >> >> What do you say? >> > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.