Год от года обретая новых сторонников, облачно-ориентированные и микросервисные архитектуры стали основой современного IT. Такой переход значительно повлиял и на структуру коммуникаций. Теперь приложения часто подключаются друг к другу по сети, и это происходит с помощью технологий межпроцессной коммуникации. Одной из наиболее популярных и эффективных технологий такого рода является gRPC, но информации о ней не хватает. Так было, пока не вышла эта книга! Наконец архитекторы и разработчики смогут подробно разобраться, как технология gRPC устроена «под капотом», и для этого не придется разгребать десятки устаревших ссылок в поисковике.
Informational for beginners, A good place to start. Covers different aspect of an end to end application. Not enough depth on collaborative topics like protobuf , streaming etc.
In my opinion, client-server API communication with no type definitions shouldn't be used for applications more complex than simple todo-list app. The reason is the same as you prefer TypeScript over plain JavaScript or why you don't use an empty `interface{}` everywhere across your codebase in Go. Types provide you compile-time guarantees that in case of no types can be provided only by a crazy amount of test code.
The book contains mostly basics. Unlikely you'll find anything new if you already have minimal experience with the technology. If you are not familiar with the gRPC, it's a good starting point.
I'm very grateful to this book authors for an RPC popularization.
2.5 из 5. Думаю, что если вы совсем новичок то можно накинуть ещё пол бала. Плохо буквально всё. Это и сама структура оригинальной книги и отдельно стоит отметить ужасный перевод. Например "Java" можно смело убрать из названия. Примеры на Java или описание какой-то Java специфики встречаются лишь в самом начале, ну и может быть раскиданы ещё по паре глав. 95% материала рассказывают о Go. И это конечно же не плохо само по себе просто изрядно вводит в заблуждение. Просто невероятное количество ошибок по коду. Не проверял, но кажется, что больше половины просто не запустится, а тот что запустится будет весь раскрашен warning'ами от линтера. Ну и два слова про перевод. Он ужасен. Большинство терминов переведены на русский, а это всего не к добру. И ладно какими-то общепринятыми словами. Но нет... просто прямым переводом. В итоге сквозь текст приходится буквально продираться. Хорошо хоть книга достаточно короткая :)
I was looking for a gRPC refresher and this book didn’t disappoint. It’s fairly short and starts with a quick background, then dives into the four primary types of RPC connections: unary, server streaming, client streaming, and bidirectional streaming.
The code examples are succinct and don’t overwhelm you with too many details. The chapters on metadata, interceptors, and authentication were good too. So was the overview of the internal mechanics of Protobuf.
One thing I feel could be better was the observability section. It was a bit vague and thin on details. But there aren’t many resources on this topic, so I recommend this anyway if you’re trying to learn gRPC for distributed communication.
- This is a great introductory book. Once I consider building a more complex gRPC architecture, this will be a great reference to have. - Providing lots of code snippets, this book helps clarifying how to implement concepts they’re explained along the way. - I particularly liked the chapter 4 ("gRPC under the hood") in which details the RPC flow, and how a remote procedure call works over the network. This chapter really helped me transition to a new model I wasn’t really familiar with beyond the initial chapters in which the book focuses more on the basics of client, server service generator. - I’ll revisit this book once I have to deal more in depth with a production gRPC architecture.
This book provides a good introduction to gRPC - it covers both basic topics like how to configure and work with gRPC using Go / Java, but also how gRPC works under the hood. To be honest, the chapter about gRPC internals was the most exciting for me.
The book lacks information about how to maintain proto changes, for example how to add / remove properties, how to version gRPC API.
I expected to find a deeper exploration of GRPC and Protobuffer. In some parts of the book, I had to do some research on my side, because it was not clear what was a GRPC feature or something part of HTTP/2. The book is a bit dry and not very fun to read. Maybe in a eventual 2nd edition, the author can give more depth to it.
I found it to be an informative and interesting book. Gets your familiar with all you need to know to get started with gRPC. However, I'm afraid it won't age well as it's quite specific to what gRPC is like right now and the current ecosystem around it.
If you are still not familiar with gRPC, this is a good introductory book. It has good and practical examples and points out to good places for further research.
Great book for me who is just getting to know gRPC, I didn't follow the code with it but would recommend tinkering with it a bit and probably will do it in the future.
It is my first 'Up and Running" book, and it is just great. I love straightforward manuals and this one was just straight to the points chapter after chapter.