Closed 0x0elliot closed 2 years ago
the typescript server in the middle is what i am going for:
the server in the middle would be the exposed service to the internet out of the rest of the Kubernetes cluster. it should keep a track of the Kubernetes pods running. might need a database and would probably end up being a full-fledged exposed service. i can't do this one alone, might need some help on this part.
basically, this service needs to be good enough to other than acting as a proxy between the geth graphql instances and then checking if the token provided for them is right or not (this service thus needs to have a database of its own)
other than that, this service will have a set token set by the user for each user that logs into the main server. maybe store that in a redis instance instead.
also, this service should have API endpoints to query:
okay, wait a couple of days before taking up this issue. i might move the whole infra to k8s itself. the docker swarm deployment would be totally different.
okay, this will be done by the celery server. closing this issue as it's overkill.
More on this in a bit.