Skip to content

Commit aae9235

Browse files
authored
Rework Google-specific language (grpc#167)
* Change wording on gRPC origin Signed-off-by: lucperkins <[email protected]> * Templatize Why gRPC section Signed-off-by: lucperkins <[email protected]> * s/implement/generate
1 parent 08eec27 commit aae9235

File tree

15 files changed

+41
-141
lines changed

15 files changed

+41
-141
lines changed

content/about.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,13 @@ Check out what people are saying below.
3535

3636
## The story behind gRPC
3737

38-
Google has been using a single general-purpose RPC infrastructure called Stubby
39-
to connect the large number of microservices running within and across our data
40-
centers for over a decade. Our internal systems have long embraced the
41-
microservice architecture gaining popularity today. Stubby has powered all of
42-
Google’s microservices interconnect for over a decade and is the RPC backbone
43-
behind every Google service that you use today. In March 2015, we decided to
44-
build the next version of Stubby in the open so we can share our learnings with
45-
the industry and collaborate with them to build the next version of Stubby both
46-
for microservices inside and outside Google but also for last mile of computing
47-
(mobile, web and IOT).
38+
gRPC was initially created by Google, which has used a single general-purpose
39+
RPC infrastructure called **Stubby** to connect the large number of microservices
40+
running within and across its data centers for over a decade. In March 2015,
41+
Google decided to build the next version of Stubby and make it open source. The
42+
result was gRPC, which is now used in a great many organizations outside of
43+
Google to power use cases from microservices to the "last mile" of computing
44+
(mobile, web, and Internet of Things).
4845

4946
For more background on why we created gRPC, see the [gRPC Motivation and Design
5047
Principles](/blog/principles) on the [gRPC blog](/blog).

content/docs/languages/android/basics.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ This guide also does not cover anything on the server side. You can check the [J
1717

1818
### Why use gRPC?
1919

20-
Our example is a simple route mapping application that lets clients get information about features on their route, create a summary of their route, and exchange route information such as traffic updates with the server and other clients.
21-
22-
With gRPC we can define our service once in a .proto file and implement clients and servers in any of gRPC's supported languages, which in turn can be run in environments ranging from servers inside Google to your own tablet - all the complexity of communication between different languages and environments is handled for you by gRPC. We also get all the advantages of working with protocol buffers, including efficient serialization, a simple IDL, and easy interface updating.
20+
{{< why-grpc >}}
2321

2422
### Example code and setup
2523

content/docs/languages/cpp/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,7 @@ guide](https://developers.google.com/protocol-buffers/docs/reference/cpp-generat
2424

2525
### Why use gRPC?
2626

27-
Our example is a simple route mapping application that lets clients get
28-
information about features on their route, create a summary of their route, and
29-
exchange route information such as traffic updates with the server and other
30-
clients.
31-
32-
With gRPC we can define our service once in a .proto file and implement clients
33-
and servers in any of gRPC's supported languages, which in turn can be run in
34-
environments ranging from servers inside Google to your own tablet - all the
35-
complexity of communication between different languages and environments is
36-
handled for you by gRPC. We also get all the advantages of working with protocol
37-
buffers, including efficient serialization, a simple IDL, and easy interface
38-
updating.
27+
{{< why-grpc >}}
3928

4029
### Example code and setup
4130

content/docs/languages/csharp/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,7 @@ language: you can find out more in the
2121

2222
### Why use gRPC?
2323

24-
Our example is a simple route mapping application that lets clients get
25-
information about features on their route, create a summary of their route, and
26-
exchange route information such as traffic updates with the server and other
27-
clients.
28-
29-
With gRPC we can define our service once in a .proto file and implement clients
30-
and servers in any of gRPC's supported languages, which in turn can be run in
31-
environments ranging from servers inside Google to your own tablet - all the
32-
complexity of communication between different languages and environments is
33-
handled for you by gRPC. We also get all the advantages of working with protocol
34-
buffers, including efficient serialization, a simple IDL, and easy interface
35-
updating.
24+
{{< why-grpc >}}
3625

3726
### Example code and setup
3827

content/docs/languages/dart/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,7 @@ guide](https://developers.google.com/protocol-buffers/docs/proto3).
2222

2323
### Why use gRPC?
2424

25-
Our example is a simple route mapping application that lets clients get
26-
information about features on their route, create a summary of their route, and
27-
exchange route information such as traffic updates with the server and other
28-
clients.
29-
30-
With gRPC we can define our service once in a .proto file and implement clients
31-
and servers in any of gRPC's supported languages, which in turn can be run in
32-
environments ranging from servers inside Google to your own tablet - all the
33-
complexity of communication between different languages and environments is
34-
handled for you by gRPC. We also get all the advantages of working with protocol
35-
buffers, including efficient serialization, a simple IDL, and easy interface
36-
updating.
25+
{{< why-grpc >}}
3726

3827
### Example code and setup
3928

content/docs/languages/go/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,7 @@ guide](https://developers.google.com/protocol-buffers/docs/reference/go-generate
2323

2424
### Why use gRPC?
2525

26-
Our example is a simple route mapping application that lets clients get
27-
information about features on their route, create a summary of their route, and
28-
exchange route information such as traffic updates with the server and other
29-
clients.
30-
31-
With gRPC we can define our service once in a .proto file and implement clients
32-
and servers in any of gRPC's supported languages, which in turn can be run in
33-
environments ranging from servers inside Google to your own tablet - all the
34-
complexity of communication between different languages and environments is
35-
handled for you by gRPC. We also get all the advantages of working with protocol
36-
buffers, including efficient serialization, a simple IDL, and easy interface
37-
updating.
26+
{{< why-grpc >}}
3827

3928
### Example code and setup
4029

content/docs/languages/java/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,7 @@ guide](https://developers.google.com/protocol-buffers/docs/reference/java-genera
2525

2626
### Why use gRPC?
2727

28-
Our example is a simple route mapping application that lets clients get
29-
information about features on their route, create a summary of their route, and
30-
exchange route information such as traffic updates with the server and other
31-
clients.
32-
33-
With gRPC we can define our service once in a .proto file and implement clients
34-
and servers in any of gRPC's supported languages, which in turn can be run in
35-
environments ranging from servers inside Google to your own tablet - all the
36-
complexity of communication between different languages and environments is
37-
handled for you by gRPC. We also get all the advantages of working with protocol
38-
buffers, including efficient serialization, a simple IDL, and easy interface
39-
updating.
28+
{{< why-grpc >}}
4029

4130
### Example code and setup
4231

content/docs/languages/node/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,7 @@ buffers language. You can find out more in the
2222

2323
### Why use gRPC?
2424

25-
Our example is a simple route mapping application that lets clients get
26-
information about features on their route, create a summary of their route, and
27-
exchange route information such as traffic updates with the server and other
28-
clients.
29-
30-
With gRPC we can define our service once in a .proto file and implement clients
31-
and servers in any of gRPC's supported languages, which in turn can be run in
32-
environments ranging from servers inside Google to your own tablet - all the
33-
complexity of communication between different languages and environments is
34-
handled for you by gRPC. We also get all the advantages of working with protocol
35-
buffers, including efficient serialization, a simple IDL, and easy interface
36-
updating.
25+
{{< why-grpc >}}
3726

3827
### Example code and setup
3928

content/docs/languages/objective-c/basics.md

+3-17
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,9 @@ guide](https://developers.google.com/protocol-buffers/docs/proto3) and the
2222
[Objective-C generated code
2323
guide](https://developers.google.com/protocol-buffers/docs/reference/objective-c-generated).
2424

25-
### Why use gRPC? {#why-grpc}
26-
27-
With gRPC you can define your service once in a .proto file and implement
28-
clients and servers in any of gRPC's supported languages, which in turn can be
29-
run in environments ranging from servers inside Google to your own tablet - all
30-
the complexity of communication between different languages and environments is
31-
handled for you by gRPC. You also get all the advantages of working with
32-
protocol buffers, including efficient serialization, a simple IDL, and easy
33-
interface updating.
34-
35-
gRPC and proto3 are specially suited for mobile clients: gRPC is implemented on
36-
top of HTTP/2, which results in network bandwidth savings over using HTTP/1.1.
37-
Serialization and parsing of the proto binary format is more efficient than the
38-
equivalent JSON, resulting in CPU and battery savings. And proto3 uses a runtime
39-
that has been optimized over the years at Google to keep code size to a minimum.
40-
The latter is important in Objective-C, because the ability of the compiler to
41-
strip unused code is limited by the dynamic nature of the language.
25+
### Why use gRPC?
26+
27+
{{< why-grpc >}}
4228

4329
### Example code and setup {#setup}
4430

content/docs/languages/php/basics.md

+3-9
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,9 @@ Also note that currently you can only create clients in PHP for gRPC services -
2222
you can find out how to create gRPC servers in our other tutorials, e.g.
2323
[Node.js](/docs/tutorials/basic/node/).
2424

25-
### Why use gRPC? {#why-grpcc}
26-
27-
With gRPC you can define your service once in a .proto file and implement
28-
clients and servers in any of gRPC's supported languages, which in turn can be
29-
run in environments ranging from servers inside Google to your own tablet - all
30-
the complexity of communication between different languages and environments is
31-
handled for you by gRPC. You also get all the advantages of working with
32-
protocol buffers, including efficient serialization, a simple IDL, and easy
33-
interface updating.
25+
### Why use gRPC?
26+
27+
{{< why-grpc >}}
3428

3529
### Example code and setup {#setup}
3630

content/docs/languages/python/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,7 @@ guide](https://developers.google.com/protocol-buffers/docs/reference/python-gene
2323

2424
### Why use gRPC?
2525

26-
This example is a simple route mapping application that lets clients get
27-
information about features on their route, create a summary of their route, and
28-
exchange route information such as traffic updates with the server and other
29-
clients.
30-
31-
With gRPC you can define your service once in a .proto file and implement
32-
clients and servers in any of gRPC's supported languages, which in turn can be
33-
run in environments ranging from servers inside Google to your own tablet -
34-
all the complexity of communication between different languages and environments
35-
is handled for you by gRPC. You also get all the advantages of working with
36-
protocol buffers, including efficient serialization, a simple IDL, and easy
37-
interface updating.
26+
{{< why-grpc >}}
3827

3928
### Example code and setup
4029

content/docs/languages/ruby/basics.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,7 @@ guide](https://developers.google.com/protocol-buffers/docs/proto3).
2222

2323
### Why use gRPC?
2424

25-
Our example is a simple route mapping application that lets clients get
26-
information about features on their route, create a summary of their route, and
27-
exchange route information such as traffic updates with the server and other
28-
clients.
29-
30-
With gRPC we can define our service once in a .proto file and implement clients
31-
and servers in any of gRPC's supported languages, which in turn can be run in
32-
environments ranging from servers inside Google to your own tablet - all the
33-
complexity of communication between different languages and environments is
34-
handled for you by gRPC. We also get all the advantages of working with protocol
35-
buffers, including efficient serialization, a simple IDL, and easy interface
36-
updating.
25+
{{< why-grpc >}}
3726

3827
### Example code and setup
3928

content/docs/languages/web/basics.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ buffers](https://developers.google.com/protocol-buffers/docs/overview).
2121

2222
With gRPC you can define your service once in a .proto file and implement
2323
clients and servers in any of gRPC's supported languages, which in turn can be
24-
run in environments ranging from servers inside Google to your own tablet - all
25-
the complexity of communication between different languages and environments is
26-
handled for you by gRPC. You also get all the advantages of working with
27-
protocol buffers, including efficient serialization, a simple IDL, and easy
28-
interface updating. gRPC-Web lets you access gRPC services built in this manner
29-
from browsers using an idiomatic API.
24+
run in environments ranging from servers inside a large data center to your own
25+
tablet - all the complexity of communication between different languages and
26+
environments is handled for you by gRPC. You also get all the advantages of
27+
working with protocol buffers, including efficient serialization, a simple IDL,
28+
and easy interface updating. gRPC-Web lets you access gRPC services built in this
29+
manner from browsers using an idiomatic API.
3030

3131
### Define the Service {#setup}
3232

includes/why-grpc.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Our example is a simple route mapping application that lets clients get
2+
information about features on their route, create a summary of their route, and
3+
exchange route information such as traffic updates with the server and other
4+
clients.
5+
6+
With gRPC we can define our service once in a `.proto` file and generate clients
7+
and servers in any of gRPC's supported languages, which in turn can be run in
8+
environments ranging from servers inside a large data center to your own tablet —
9+
all the complexity of communication between different languages and environments is
10+
handled for you by gRPC. We also get all the advantages of working with protocol
11+
buffers, including efficient serialization, a simple IDL, and easy interface
12+
updating.

layouts/shortcodes/why-grpc.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ readFile "includes/why-grpc.md" | markdownify }}

0 commit comments

Comments
 (0)