wahjam/wahjam — Issue #15: Event-driven architecture instead of polling
Author: stefanha
Created: 2012-02-01 07:37:05+00:00
State: open

Both client and server run a main loop that sleeps and polls for more work to do, rather than using an event-driven approach with select(2) or similar mechanisms. The result is higher CPU usage than necessary and an inefficient architecture. How much this matters is questionable since there are a lot of wakeups inherent in real-time audio, but it would be a cleaner architecture.