Depending on the type of data maybe you could use web2py services
interface.

First you define the set/get actions in some of the apps and decorate
them as services. Then from any application you can consume this
services for data transactions.

The web2py book covers services and RPC in 9th chapter


Apps can share session objects too and you could store a sequence on a
common session:
(web2py chapter 4)
"...One app can load the session of another app using the command:
1
session.connect(request, response, masterapp='appname', db=db)

Here "appname" is the name of the master application, the one that
sets the
initial session_id in the cookie. db is a database connection to the
database
that contains the session table (web2py_session). All apps that share
sessions
must use the same database for session storage. "


On Dec 1, 6:06 pm, Martin Weissenboeck <[email protected]> wrote:
> Hi,
>
> I want to use one and only one queue (q).
>
> Some applications/controllers should act as producers (q.put(item)) and
> some applications/controllers as consumers (item=q.get()), but with only
> one queue.
>
> How can this be done?
>
> Regards, Martin

Reply via email to