-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spike: Protocol Analysis #383
Comments
The simplistic flow to understand:
Further I'll outline a consistent structure to make parsing this data easier. It'll follow something like:
|
@j2d3 please add your thoughts/hesitations here ASAP so we can dig into a resolution. I will add more specific data structures once we're straightened out and ready to proceed. cc @teslashibe |
@theMultitude this is the code that ships a json payload to s3 563c150 and this would be how you call it where jsonPayload contains the data to send err = db.SendToS3(id, jsonPayload)
if err != nil {
logrus.Errorf("[-] Failed to send oracle data: %v", err)
} |
Summary of Q3 Work StreamsFrom an analytics perspective, one of the most commonly encountered issues is realizing you haven't collected the data needed for future analysis. As we go about trying to fine tune an economic model and stabilize the protocol during organic growth we don't want to find ourselves in that situation. In contrast to periodic data pulls that offer static glimpses event driven analytics gives visibility into critical state changes. The following is an outline of data streams I see as essential to analytics work within the current quarter (Q3 2024) at Masa.
These data streams don't need to exist immediately but taking the time to carve out their foundations will make refining them infinitely easier as we move forward. Associated Tickets
|
Problem Statement
We currently don't have analytical systems in place to monitor the protocol's usage and performance.
In my opinion we have a couple of paths in the near term:
Discussion points
There are trade-offs for both of these options and they aren't mutually exclusive but I believe the second is more robust while requiring less work on the protocol side, and is thus a quicker solution.
One critical pain point is that I believe storing the granularity of data I'd be interested in would be prohibitive if it's stored in each block:
The other main point is a question of separation of concerns and unnecessary data:
The main drawbacks to implementing an event-driven data layer are:
Summary
I believe implementing an event driven infrastructure should be a priority as it would:
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: