eastein / lidless

A great Eye, lidless, wreathed in webcams.
Other
19 stars 4 forks source link

role based multiprocessing #13

Closed eastein closed 12 years ago

eastein commented 13 years ago

The image processing tasks in lidless are very CPU intensive and can cause other parts of the system to become laggy if enough cameras are in use.

Create a system whereby by stanza, a role can be assigned and only a process started with that role will do the work of the stanza (camera work = percept, recording). This won't scale to multiple computers yet, but it will scale beyond one python process's limitations.

eastein commented 12 years ago

Until database locking problems are resolved, this is incomplete but somewhat usable if only for separate-process web proxy.

eastein commented 12 years ago

This is solid. DB locking has been resolved by using ZMQ for interchange.