service discovery
HI, Will consider integrating consul /etcd as service discovery ?
Can you outline what you have in mind for this?
Probably something related to http://microservices.io/patterns/server-side-discovery.html but IMO this is far outside of scope.
I agree that it's out of scope, but maybe there's something orthogonal to Buffalo that does RPC (and service-discovery) in a Buffalo-friendly way?
Random thought: you could do tracing pretty transparently for the buffalo user:
- Create a middleware that populates the buffalo context with a trace ID
- The RPC framework is used in a buffalo handler, and takes the buffalo context
Just an idea, hope it helps
Fun fact there is already a request id populated for you in the context. :) it’s put into every log. It looks like xxx-yyy the first half is session scoped, the second half request scope. That way you can trace a users whole session, or a particular request of theirs. Hopefully that helps.
Oh nice, that'd be perfect
I'm sure there are more ways an RPC framework could be loosely coupled with buffalo. Hopefully that idea was useful to someone
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment. Otherwise, this will be closed in 7 days.
This issue was closed because it has been stalled for 30+7 days with no activity.