graphprotocol / allocation-optimizer

Agents and algorithms for optimizing Indexer decision problems.
MIT License
13 stars 14 forks source link

Reduce start-up time #18

Closed anirudh2 closed 1 year ago

anirudh2 commented 1 year ago

Is your feature request related to a problem? Please describe. The current start-up time is quite long. Can we speed this up somehow?

Describe the solution you'd like A reasonable solution might be to create an app with PackageCompiler. This approach would have the added benefit in that end users would not have to install Julia.

Describe alternatives you've considered We could somehow integrate this into the indexer suite more directly. Alternatively, we could include a start-up script that doesn't depend on comonicon. With reading in JSON configs, this should be quite doable.

Additional context N/A

anirudh2 commented 1 year ago

v2 provides multiple options for this, including building a binary app.