Hi Asif,

I just had a quick look for the website. It looks like the GraphQL
could reduce the response message size by specifying the interested
data in requery . As the service is consumed by JS front end, I'm not
sure java-chassis's service consumer can leverage this feature.
>From the implementation side, as Java chassis is based on the Open API
module to provide the service governance support, it could be a
challenge for us to bridge the GraphQL with Java-chassis. Do you have
any idea about that?

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Fri, Mar 29, 2019 at 9:56 PM Mohammad Asif Siddiqui
<asifdxtr...@apache.org> wrote:
>
> Hello All,
>
> GraphQL[1] is a query language for APIs and a runtime for fulfilling those
> queries with your existing data. GraphQL provides a complete and
> understandable description of the data in your API, gives clients the power
> to ask for exactly what they need and nothing more, makes it easier to
> evolve APIs over time, and enables powerful developer tools.
>
>
> Already lot of big players use GraphQL in their production and it will be
> really a great idea to add the support of GraphQL in our existing REST
> services so that the microservices using our sdk gets privilege to get only
> those data from the API which they require.
>
>
>
> Some of the benefits for the adding GraphQL support will be :
>
>    - Lot of microservices are common services which are used by many other
>    consumers so the consumers can filter out the data which they require.
>    - Reduce the traffic load between the inter micro-service communication.
>    - Get relevant data in a minimal API calls.
>
>
> So IMO we can wrap the GraphQL with our existing API services so that the
> providers/consumers can use it and also the inter-communication between
> sdk’s and service-center can leverage this.
>
>
> So I would like to propose this idea in GSOC 2019[2] so that university
> students can pick it up and implement it.
>
>
> Please let me know your opinion on this.
>
>
> [1] https://graphql.org/
>
> [2] https://summerofcode.withgoogle.com/
>
>
>
> Regards
>
> Mohammad Asif Siddiqui
>
> Senior Technical Leader | Apache IPMC | ServiceComb PMC
>
> Bengaluru-560066, Karnataka
>
> Tel: +91-80-49160700 Ext 72234 II Mob: 9972855443 Email: asifdi...@gmail.com
> <mailto:asifdi...@gmail.com>

Reply via email to