News for hackers. Stuff that matters.
Re:gRPC for Microservices Communication by bitwize on Thursday September 23, 2021 @04:51PM (#28635185)
Bandwidth isn't the primary concern here. CPU time spent parsing/unparsing is. Depending on how your application is structured, it can actually dominate time spent in application logic. Whatever the case, it's simply waste heat being added to the universe. Use a little-endian, 64-bit-aligned binary format, and parsing overhead simply goes away.
Re:gRPC for Microservices Communication by chuckcode on Thursday September 23, 2021 @07:04PM (#28636720)
Great point. I'm not one to over optimize, but seems like parsing messages for internet sized apps is worth spending a little effort to save energy and environment.