Git Product home page Git Product logo

Comments (7)

jovany-wang avatar jovany-wang commented on May 21, 2024 1

@FoghostCn
Maybe it's better to support both of the callback client and CompletableFuture client.

Another issue is that we should upgrade the JDK version to 1.8+.

from starlight.

jovany-wang avatar jovany-wang commented on May 21, 2024

I'd like to support this feature. Please let me know what your thought is.

from starlight.

wenweihu86 avatar wenweihu86 commented on May 21, 2024

@jovany-wang This is a very useful feature.

from starlight.

jovany-wang avatar jovany-wang commented on May 21, 2024

OK, I'll finish it in the next several weeks.

from starlight.

jovany-wang avatar jovany-wang commented on May 21, 2024

@wenweihu86
I'd like to use CompletableFuture to support async server with its client. If this sounds good to you, I will send a simple document on this design.

Please let me know your thoughts, thanks.

from starlight.

FoghostCn avatar FoghostCn commented on May 21, 2024

The simplest scenario can be considered as rpc proxy. async server may effectively improve throughput. CompletableFuture may be a good choice. Perhaps the async implementation in the client can also use CompleteFuture instead of callback

from starlight.

chen-xl-dev avatar chen-xl-dev commented on May 21, 2024

Expect asynchrony on the server side. If the server has network operation, asynchronous server can bring more performance improvement. Take a look at joyrpc.

from starlight.

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.