Coder Social home page Coder Social logo

Comments (7)

xxx7xxxx avatar xxx7xxxx commented on May 28, 2024

This document might have answered your question: https://github.com/megaease/easemesh/blob/main/docs/sidecar-protocol.md

from easegress.

xxx7xxxx avatar xxx7xxxx commented on May 28, 2024

We create EaseMesh mainly for the spring cloud ecosystem. But we also maintain some other languages SDK[1]. You can use them to get part of the power of EaseMesh. And as for more general options like eBPF and IPTables are outside the scope of EaseMesh for the time being.

[1] https://github.com/megaease?q=easeagent-sdk&type=public&language=&sort=

from easegress.

sodaRyCN avatar sodaRyCN commented on May 28, 2024

本文档可能回答了您的问题:https://github.com/megaease/easemesh/blob/main/docs/sidecar-protocol.md

Thanks,very clear, but I still have some questions:

  • coredns will search service in easemesh etcd
    1)Is the easemesh's etcd instances in the same cluster as easegress's etcd?
    2)it means that no matter which domain name(targetServerA, targetServerB)the application uses to make RPC calls,the coredns always return the local sidecar address?
  • coredns return the local sidecar address
    What I learned is that coredns will only return the IP but not the port, so how is the outbound traffic of the application forwarded to the 13002 port of the local sidecar?

from easegress.

xxx7xxxx avatar xxx7xxxx commented on May 28, 2024

1)Is the easemesh's etcd instances in the same cluster as easegress's etcd?

yes

2)it means that no matter which domain name(targetServerA, targetServerB)the application uses to make RPC calls,the coredns always return the local sidecar address?

Nope, return the local sidecar address when only asking for existing mesh service names.

What I learned is that coredns will only return the IP but not the port, so how is the outbound traffic of the application forwarded to the 13002 port of the local sidecar?

Actually CoreDNS returns ports, and we are maintaining our own CoreDNS[1] version to get the dedicated job done.

[1] https://github.com/megaease/coredns

from easegress.

sodaRyCN avatar sodaRyCN commented on May 28, 2024

I see.
And I want to know, is it still only adding the target RPC server's name inside the HTTP header through easeagent to tell the local sidecar the real target service?

from easegress.

xxx7xxxx avatar xxx7xxxx commented on May 28, 2024

is it still only adding the target RPC server's name inside the HTTP header through easeagent to tell the local sidecar the real target service?

Yes, that's what the protocol specifies.

from easegress.

sodaRyCN avatar sodaRyCN commented on May 28, 2024

thanks for your replay

from easegress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.