Git Product home page Git Product logo

Comments (7)

giangndm avatar giangndm commented on May 22, 2024 1

@Yosef0987 yeah, I think so. NATS is easier than Kafka to get started.

May be we can use protobuf instead of json for event serialize, which have better performance and bandwith save, an also easy to integrate will all other language like NodeJs or Golang

from atm0s-media-server.

Yosef0987 avatar Yosef0987 commented on May 22, 2024

NATS will be a good option

from atm0s-media-server.

luongngocminh avatar luongngocminh commented on May 22, 2024

@giangndm protobuf seems to be having a much higher overhead than JSON, for both safe typing and implementation, it's good to have, but I think JSON is enough for now?

from atm0s-media-server.

giangndm avatar giangndm commented on May 22, 2024

@luongngocminh, I believe you're mistaken. Protobuf is a binary codec, making it faster and more efficient than JSON. You can find several benchmark tests online that show Protobuf's superior performance.

https://nilsmagnus.github.io/post/proto-json-sizes/
and https://www.codingexplorations.com/blog/performance-comparison-protobuf-marshaling-vs-json-marshaling-in-go

from atm0s-media-server.

luongngocminh avatar luongngocminh commented on May 22, 2024

I know the benefits of using protobuf, but my point is that the implementation to convert the internal rust event enum to protobuf will have more boilercode, is it really matter that much or we can just provide it as an option later.

from atm0s-media-server.

giangndm avatar giangndm commented on May 22, 2024

Ok, let do it in simplest way

from atm0s-media-server.

luongngocminh avatar luongngocminh commented on May 22, 2024

@giangndm the connector pr is up: #132

from atm0s-media-server.

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.