We’re starting work on Radiodan v2, hot off the back of our learnings from v1.
Our goal is to make v2 much more decoupled, with all the bits of software sending each other messages, rather than talking to each other directly. We’ve experimented with this before in other projects and found it quite promising. We hope this will make the system:
We started off by sketching out the architecture of our current Radiodan Example app. It’s mostly a monolithic Ruby application. All the code is loaded in the same process on the machine. If something throws an error (which it does fairly frequently) then the whole app crashes and restarts.
Example app for Radiodan v1
We then sketched out how the app would look if everything was decoupled and communicated via messages:
Example app for Radiodan v2
We came up with a list of core messages that the system would send and listen to.
Core Radiodan events
We also thought through the errors that could arise in the core server:
Core Radiodan errors
Next, we looked at a few other apps, some that Libby has already built and some that we want to build in the future.
Radio Democracy - vote for your favourite programmes
Integration with BBC Playlister
In this diagram, yellow post-its denote application-specific messages.
Some ideas that we had in our team for providing extra information within and around programmes:
“Tell Me More” gives you extra information about a topic mentioned in a radio documentary.
“Tell Me More” programme flow
“Tell Me More” architecture
The “Difficulty Dial” allows you to change the difficulty of a programme if you don’t understand parts of it:
“Difficulty Dial” programme flow
“Difficulty Dial” architecture
What if we rebuilt the Olinda social radio add-on today?
Olinda interface sketch
The interface above has a picture and light for each of your friends. When your friend is listening to something on their Radiodan then their light switches on. If you press the button, your Radiodan will start playing what they can hear.
Olinda social radio architecture
By considering real-world applications of the new architecture we have been able to identify essential components and considerations of the new system.