Coder Social home page Coder Social logo

gaia and microservices on k8s about gaia HOT 2 CLOSED

romange avatar romange commented on August 31, 2024
gaia and microservices on k8s

from gaia.

Comments (2)

romange avatar romange commented on August 31, 2024 1

gaia provides low-level rpc support with focus on performance and scalability. if you need 1M qps per node then gaia is better suited than grpc. See asio_fibers that demonstrates gaia rpc in action. grpc, on the other hand, has more features and is probably better suited for microservices. Google invested dozens of thousands of eng hours into grpc and it covers many languages. gaia rpc is currently c++ only. The open source version of gaia does not include protobuf bindings at the moment and high-level rpc protocol is not implemented.

It's still possible to use gaia to impelement resful backend however I did not design any high level classes for this. There is http_main binary that demonstrates how to register http handlers but again I did not invest much effort into designing a convenient RESTful framework. I am using http mainly for debugging and monitoring purposes.
There is also https client code that I recently wrote for connecting to GCS API.

To summarize, gaia can support everything you need but it's not out of the box. If you need to connect to k8s APIs you need to implement them yourself similarly to how I connected GCE/GCS.
if you need to develop a RESTful backend, you will need to think about what functionality is missing and implement it. Gaia will provide you with the framework to implement asynchronous computations and use multiple cores efficiently. If efficiency is not your priority than golang, python or java is better option :)

from gaia.

romange avatar romange commented on August 31, 2024

FYI, currently, the only "industrial-grade" open-source descendent of GAIA is GAIA-MR that uses GAIA library underneath to expose high-level MapReduce framework.

from gaia.

Related Issues (13)

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.