Closed jcx120 closed 2 years ago
@jcx120 Could you bring us more information about this link? We donโt have permission to access it.
We want to know the maximum capacity to display the red line in the chart.
If you can explain more about what information we need to use in Hubble.
For this module, the query is in Hubble. For details we can reach out to @bartekn The link is just the original slack thread that has the context (but not the query)
I don't have a specific query because I'm using a BigQuery connector for Google Spreadsheet (so the queries are generated automatically by pivot tables). The data is pulled from history_ledgers
table that contains number of operations per ledger. Then you can aggregate per month-year.
Hi @jcx120. We have a question about the trendline that is displayed in the graph. Since we haven't seen any specification about it, we would like to know if it should be shown or not? If it should be displayed, can you tell us if it is calculated or static? Thank you very much!
That trendline is not MVP scope and can be left out (I think its a r^2 trendline generated in excel).
We do want that Max red line which is a constant for the maximum # of operations per month based on theoretical capacity of 5000 operations per second. @bartekn can you share that number? thanks
@bartekn can you share that number? thanks
It's 518,400,000.
There are 12 ledgers in a minute on average (60/5=12) so in a month, given the 1000 ops/ledger limit:
12*1000*60*24*30 = 518400000
Here are some screenshots of the possible final chart for this module. Feedback is much appreciated, maybe for changing some colors, spacings, etc. LMK your thoughts @jcx120
I like option 3 but once its prototyped we can also have our UX designer provide input. thanks
Oh, sorry, maybe I was not so clear. They are the same component, in light and dark mode variants. Also, the one that has a tooltip (image 2) is just the light mode variant with the mouse hovering over the chart. Does that make sense?
Quick question regarding the operations capacity. How can we get the max capacity? For operations per day/hour/month we already fetch it on the ledgers endpoint, but we don't have the maximum capacity value for these intervals.
@acharb and @jcx120, in the graph of the ledgers module, do you need to have a period variation?
Or will we have a fixed period?
@lccoronel I think we want just the month timeline, based off of what @jcx120 said here
- Operations Capacity: Monthly graph of Operations
@acharb, @jcx120 and @bartekn, Is this red line right?
@lccoronel I believe the units are missing 3 extra digits. So 518k should be 518 Million. We can label the value as "(Millions)" and put a decimal after the first 3 digits. Ie: 518.400 (Millions). See the sample in the original doc.
@lccoronel I believe the units are missing 3 extra digits. So 518k should be 518 Million. We can label the value as "(Millions)" and put a decimal after the first 3 digits. Ie: 518.400 (Millions). See the sample in the original doc.
Actually we wrote 518 Million ๐
If we put the million label, the chart looks like this
@lccoronel Indeed you did it correctly! I need new glasses. ๐
Build a "Ledger" container component with the following elements:
Considerations: