Replies: 4 comments 2 replies
-
Personally, I have never heard of gRPC and Protocol Buffers, and I only know about some web frameworks (Phoenix, Liverwire, etc) that use websockets to complement HTTP. I understood the reason for them doing so, as a way to create frontend-heavy websites without actually writing JavaScript. But maybe I misunderstood the point.
100% agree Copr is kinda slow. Definitely slower than I would like it to be. But the problem is IMHO on the database layer or application layer. My bet wouldn't be on HTTP. Do you have some kind of benchmark that can be done to see the potential benefit of what you are proposing? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The linked benchmark is an image from https://blog.shiftasia.com/grpc-vs-rest-speed-comparation/ ... I meant a benchmarking Copr itself. |
Beta Was this translation helpful? Give feedback.
-
It is easy to run your own Copr instance locally https://frostyx.cz/posts/copr-docker-compose-without-supervisord |
Beta Was this translation helpful? Give feedback.
-
Should we use gRPC and Protocol Buffers instead or alongside JSON and HTTP for server-client communications?
The network incurs money costs for both uploaders and server owners, and inefficient use of network resources also leads to time losses.
Combining WebSockets and Protocol Buffers can be a great choice, and here are some reasons to consider there technologies, as well as some potential drawbacks:
Reasons to Combine WebSockets and Protocol Buffers
Efficiency:
Performance:
Reduced Bandwidth:
I know that COPR is slower compared to the Open Build System, and I think we can enhance COPR by using resources more efficiently. I would like to contribute to the project by implementing Protocol Buffers and gRPC
Beta Was this translation helpful? Give feedback.
All reactions