Is it possible to have multi-thread in python to listen udp socket and
just collect the status in ram instead of DB?

On 5月31日, 上午11時46分, Iceberg <[email protected]> wrote:
> You can use web2py's cron feature to trigger a data collector, which
> use "3. command line utility" you mentioned to gather data, insert
> into your web2py app's db, then you can show it in the way you like.
>
> http://web2py.com/book/default/section/4/17?search=cron
>
> On May31, 10:44am, dlin <[email protected]> wrote:
>
>
>
> > I'm a newbie of web2py.
> > I wish to use web2py to present my other system's status.
> > As I know web2py is event driven, I don't know how to plugin my C
> > system into it.
>
> > What's the suggest architecture?
>
> > My other system is built by C++ program.
> > The different system status is provided three methods:
> >   1. put in common shared memory.
> >   2. broadcast by udp socket.
> >   3. command line utility.
>
> > Is there any example could let me try?

Reply via email to