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

Resource Requirements + Flexible Setup #44

Open
TheGreatAxios opened this issue Apr 12, 2023 · 0 comments
Open

Resource Requirements + Flexible Setup #44

TheGreatAxios opened this issue Apr 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@TheGreatAxios
Copy link

TheGreatAxios commented Apr 12, 2023

Is your feature request related to a problem? Please describe.
This is not a direct problem, but some tweaks can make it far more flexible to setup. This has been discussed in #36 but should also be very easy for single chain.

Describe the solution you'd like
The proxy should default to "ALL" chains, however, it should be a configuration/environment variable that enables the proxy to run for a smaller subset of chains, or even a single chain. Projects of any size could then move proxies closer to their users in a much simpler manner.

Minimum Resource Requirement Re-evaluation - See Below

Describe alternatives you've considered
N/A

Additional context

  • This can be done currently by tweaking the hotfix in /proxy/endpoints.py to be != as opposed to == - Can Confirm this works
  • The minimum proxy resources could based on a flat amount (for core docker/resources) and then be set on a per-chain basis.
    Example X + NY where X = Base Resources of 1 vcpu and 1 gb memory and then Y requires 0.25 vcpu and 0.25gb memory and N is number of chains being setup on a given proxy
  • Internal Proxy usage for projects or smaller dApps should be able to leverage the smallest compute resource possible to attain a self-hosted proxy while larger projects and multi-SKALE Chain projects would require more resources.
@TheGreatAxios TheGreatAxios added the enhancement New feature or request label Apr 12, 2023
@TheGreatAxios TheGreatAxios changed the title Flexible Chain Setup Resource Requirements + Flexible Setup Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant