
An architectural diagram displaying how OPN works.
No open-source libraries that can handle a large number of concurrent notifications… so I created one!
Open Noti uses data structures to solve this problem: a wait queue and a display linked list.
The wait queue acts as a buffer and holds notifications in a queue to be displayed. This may be interchanged with a priority queue for essential notifications.
The display list is of finite size (limited to the client’s viewport). Holds all visible notifications until removed.
A demo with 1000 queried requests.