Skip to content

Conversation

@lukasvogel
Copy link
Member

This end to end story shows how one can monitor the entire nasdaq stock exchange with CedarDB in real-time via Grafana.

@lukasvogel lukasvogel marked this pull request as ready for review November 29, 2024 14:13
pfent
pfent previously approved these changes Dec 10, 2024

Since a picture is worth more then a thousand words, here is what we are building:

![Architecture](/images/nasdaq/grafana.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dark mode pictures look a bit odd in light-mode text. Can we add two screenshots, depending on the theme? (Or replace the dark background with transparency?)

and s.name in ('AAPL', 'MSFT') -- stock ticker symbols we're interested in
and e.timestamp >= l.start
and e.timestamp < l.end
group by e.timestamp, s.name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this calculate many intermediary groups over the timestamps just to collapse them in the bins afterwards? That seems unnecessary.

Can't we drop the group-by here, and the binned window query afterwards would still calculate the same results?

The dashboard auto-refreshes multiple times per second to give an up-to-date view of the exchange state.

The following video shows a live demo:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/szKVXWWXQJg?si=XbXN9RPJ1Lz47dZ-" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dominik3853 😂

I think we need a company YouTube account 🙈

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New URL: https://www.youtube-nocookie.com/embed/GCCYh4lvo_8?si=QF2xumBs9X3d_zK0

This end to end story shows how one can monitor the entire
nasdaq stock exchange with CedarDB in real-time via Grafana.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants