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

WIP: feat(bridge): provide a way to check the bridge application's health #175

Open
moreal opened this issue Jul 29, 2022 · 0 comments
Open
Labels
bridge An issue or a pull request related to bridge

Comments

@moreal
Copy link
Collaborator

moreal commented Jul 29, 2022

📓 Ways

I thought there are two ways to implement it:

  1. Open the health-check endpoint and check it with other uptime checker services (e.g. uptime robot).
  2. Create a shared volume on docker-compose and the

😟 My worries

When I made planetarium/NineChronicles.EthBridge, I hope that it doesn't receive any inbound requests because of security issues. I thought every security exception occurred from unexpected input. The reason to use SQLite was to restrict modifying the database directly from outside users, not bridge.

image

Though I imagined a machine working without humans' touch, it failed because of my mistakes like bugs, not enough testing, no understanding of how to manage assets in the blockchain scene, and not considering operations.

Anyway, the bridge application was a product of planetarium, it should check how many WNCG it earned and configure the properties like taxes and the limitation to exchange NCG. Maybe outside databases like DynamoDB were suited more than SQLite because all transactions' process results must be maintained.

@moreal moreal added the bridge An issue or a pull request related to bridge label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bridge An issue or a pull request related to bridge
Projects
None yet
Development

No branches or pull requests

1 participant