Skip to content
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

Goal: every-second stream updates #767

Open
18 of 22 tasks
markholdex opened this issue Dec 30, 2024 · 11 comments
Open
18 of 22 tasks

Goal: every-second stream updates #767

markholdex opened this issue Dec 30, 2024 · 11 comments
Assignees

Comments

@markholdex
Copy link
Collaborator

markholdex commented Dec 30, 2024

@markholdex
Copy link
Collaborator Author

@zolotokrylin @outerlook @MicBun please check the specs document and leave your comments/suggestions there. Let's have a call after that.

@rsoury
Copy link

rsoury commented Dec 30, 2024

@markholdex
Is this a clone of #199?

Is it just the granularity that we need, or are we shooting for real-time subscription to data streams?

@zolotokrylin
Copy link
Contributor

@rsoury granularity.

@MicBun
Copy link
Contributor

MicBun commented Jan 2, 2025

Log: updated the spec document according to the latest call.

@MicBun
Copy link
Contributor

MicBun commented Jan 3, 2025

Log: I've broken down the spec into smaller problems, feel free to adjust or break it down into smaller parts if needed.

@markholdex
Copy link
Collaborator Author

@MicBun what is the ETA of this Goal?

@MicBun
Copy link
Contributor

MicBun commented Jan 6, 2025

I've updated the issue description with the ETA @markholdex

@outerlook
Copy link
Contributor

outerlook commented Jan 11, 2025

just to aggregate information about our capacity, based on

with a frequency of 1 record per 5 minutes, based on experiments, we have:

  • to achieve under 5 seconds to fetch[1] (arbitrary QoS), we can handle a composition of ~50 streams [2]
  • 500 streams with this frequency take ~5GB of data with data for a year (theoretical)

notes:
[1] fetching 1 month of data. If we fetch 1 day of data, we can handle 30x more streams. It's nearly proportional on the new contract.
[2] only if we use the 0.9 optimizations (easy to apply). Using the current version of contracts we can compose ~15 streams

*5 min is based on coingecko's availability

@markholdex
Copy link
Collaborator Author

Hey @MicBun are we on track with this goal?

@MicBun
Copy link
Contributor

MicBun commented Jan 17, 2025

Hi @markholdex, unfortunately, I discovered some issues and need to hold back the deployment

I'll still try to finish it on 2025-01-18

@MicBun
Copy link
Contributor

MicBun commented Jan 20, 2025

Apologies for the further delay. @markholdex
The push service is deployed but not stable yet. It ran into crashes. I will investigate it and might need 1-2 days to resolve.

Bitcoin data:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants