GithubHelp home page GithubHelp logo

Comments (4)

zllangct avatar zllangct commented on August 25, 2024

使用反射性能折扣是必然的,反射也有很多种,这里的性能折扣比较小,性能不是问题

from rockgo.

zllangct avatar zllangct commented on August 25, 2024

消息的主要消耗,在消息的反序列化,反射带来的这个性能消耗是九牛一毛,分布式的情况下,增加物理机的收益更大。

from rockgo.

15951836388 avatar 15951836388 commented on August 25, 2024

好的,谢谢。有考虑过客户端和服务器之间也用grpc吗?

from rockgo.

zllangct avatar zllangct commented on August 25, 2024

不现实,rpc不是这么用的~这是个误区,你要实现客户端和服务端同步调用的功能,其实在客户端封装一下就好,直接使用grpc的话,首先这个性能差很多,另外安全也是个大问题。

from rockgo.

Related Issues (12)

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.