Git Product home page Git Product logo

Comments (8)

bufdev avatar bufdev commented on May 14, 2024

@breerly

from fx.

HelloGrayson avatar HelloGrayson commented on May 14, 2024

We won't need to expose another RPC framework besides YARPC because YARPC will do that for us.

Besides the point: I agree, we need to expose all the functionally YARPC makes possible, and right now that is artificially limited to 1 encoding. A good litmus test would be: if we add a new encoding, like proto for example, there should be no work required in UberFX to expose that, it should just work.

The config project we are working on now (search "config:" in YARPC-go PRs) should resolve this (or put us in the position where it's the next thing to resolve): since the whole rpc: key will be delegated to yarpc, you'll need to be able to use it to work with any encodings.

I feel less strongly about whether the config key is named rpc: or yarpc:, but I sort of prefer the explicitness in the latter.

from fx.

bufdev avatar bufdev commented on May 14, 2024

"We" = Uber, I'd love if FX was usable as a general framework for everyone, including those not tied to YARPC, and there are some places where do we close tie-ins, but this is one that's easy to make sure we don't have a tie-in.

from fx.

HelloGrayson avatar HelloGrayson commented on May 14, 2024

In other words, I do think:

  • the yarpc module should reside in the modules/yarpc package
  • the functionality should be exposed in such a way that all encodings can be used
  • the rpc: key should probably be renamed to the more explicit yarpc:

from fx.

bufdev avatar bufdev commented on May 14, 2024

Note that in #275, I'm removing default names for modules as it is proposed now, so the key will not longer be tied by default to rpc.

from fx.

bufdev avatar bufdev commented on May 14, 2024

Oh also, I agree with @breerly's above list

from fx.

bufdev avatar bufdev commented on May 14, 2024

I don't want to do this until we get some of the bigger PRs in, otherwise we will be in merge world

from fx.

yutongp avatar yutongp commented on May 14, 2024

renaming has been discussed in #267 @yichengq

from fx.

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.