Commit Graph

503 Commits

Author SHA1 Message Date
Lidi Zheng 7ef8fc826c
Merge pull request #17266 from lidizheng/python-channelz
Channelz Python wrapper implementation
2018-11-29 16:10:32 -08:00
Lidi Zheng 43599facf4 Channelz Python wrapper implementation
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests

Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
2018-11-27 17:27:39 -08:00
Srini Polavarapu 0adcbd5014 gRPC release schedule 2018-11-27 11:39:44 -08:00
Muxi Yan f836319f1f Bump version to v1.18.0-dev 2018-11-19 15:22:06 -08:00
Lidi Zheng b1b669300f Update Python documentation
* Reorganize the section titles
* Add Tutorial and Example
2018-11-12 13:54:53 -08:00
Lidi Zheng cabe8d8f10 New Python documentation generation
* Use templates instead of generating them every time
* Theme changed
* Add grpc_* modules
* APIs grouped
* No documentation for class members without docstring
* Add docstring for status code
2018-11-06 18:07:03 -08:00
Soheil Hassas Yeganeh 48e4a81b05 Remeve memset(0) from arena allocated memory.
Callers are updated to properly initialize the memory.

This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY
environment variable.
2018-11-05 10:12:39 -05:00
Doug Fawley b63524639b fix minor punctuation noticed when editor removed spaces at end of line 2018-10-25 10:42:43 -07:00
Doug Fawley a62c530465 Add protocol handshake to 'READY' connectivity requirements
When security is disabled, not waiting for the HTTP/2 handshake can lead to
DoS-style behavior.  For details, see:
https://github.com/grpc/grpc-go/issues/954.  This requirement will incur an
extra half-RTT latency before the first RPC can be sent under plaintext, but
this is negligible and unencrypted connections are rarer than secure ones.

Under TLS, the server will effectively send its part of the HTTP/2 handshake
along with its final TLS "server finished" message, which the client must wait
for before transmitting any data securely.  This means virtually no extra
latency is incurred by this requirement.

Go had attempted to separate "connection ready" with "connection successful"
(Issue: https://github.com/grpc/grpc-go/issues/1444 PR:
https://github.com/grpc/grpc-go/pull/1648).  However, this is confusing to
users and introduces an arbitrary distinction between these two events.  It has
led to several bugs in our reconnection logic (e.g.s
https://github.com/grpc/grpc-go/pull/2380,
https://github.com/grpc/grpc-go/pull/2391,
https://github.com/grpc/grpc-go/pull/2392), due to the complexity, and it makes
custom transports (https://github.com/grpc/proposal/pull/103) more difficult
for users to implement.

We are aware of some use cases (in particular,
https://github.com/soheilhy/cmux) expecting the behavior of transmitting an RPC
before the HTTP/2 handshake is completed.  Before making behavior changes to
implement this, we will reach out to our users to the best of our abilities.
2018-10-25 10:32:52 -07:00
Mark D. Roth f85fd026e3 Client-side health checking support. 2018-10-24 12:29:04 -07:00
Mark D. Roth 7b48518f65 Move core docs to core subdir. 2018-10-22 13:42:32 -07:00
Jan Tattermusch 3977c30f47 add a note message length encoding 2018-10-19 17:38:23 +02:00
Jan Tattermusch 0295a4cf2e update ssl-performance.md 2018-10-09 17:46:17 +02:00
Stanley Cheung 020bdd102f Bump version to v1.17.x 2018-10-08 15:50:08 -07:00
Yash Tibrewal 3b26fe7262
Merge pull request #16764 from yashykt/keepaliv_status
Keepalive watchdog firing should return status UNAVAILABLE
2018-10-05 14:56:18 -07:00
Jan Tattermusch 1f5f72ba62 update ssl-performance.md 2018-10-04 11:21:37 +02:00
Yash Tibrewal bb872692b7 Make changes to doc 2018-10-02 14:41:20 -07:00
Jan Tattermusch 0d2bc2f1df server-reflection.md: fix markdown 2018-10-02 13:17:59 +02:00
Sree Kuchibhotla 4f940918b1 Merge branch 'master' into sreek-pe-doc 2018-09-28 16:38:53 -07:00
Sree Kuchibhotla 635e0bd1e5 fix typo 2018-09-27 12:30:51 -07:00
Sree Kuchibhotla 67d2fb7847 Merge branch 'master' into sreek-pe-usages-doc 2018-09-27 12:29:15 -07:00
Sree Kuchibhotla c1f880d9fe Minor change 2018-09-27 12:28:21 -07:00
Sree Kuchibhotla a74492e8a4 Polling engine usage in client server 2018-09-27 11:14:47 -07:00
Sree Kuchibhotla 31d3134d5b Cq documentation 2018-09-26 12:40:36 -07:00
Sree Kuchibhotla 3c2c28e3fc Moved to under core 2018-09-26 10:57:20 -07:00
Sree Kuchibhotla 6f278ca761 Address review comments 2018-09-26 10:53:43 -07:00
Sree Kuchibhotla 8bbd1374a5 Documentation about grpc polling engines 2018-09-25 21:16:27 -07:00
Adele Zhou 165417e4fa Change the test name to long_lived_channel 2018-09-12 14:30:02 -07:00
Adele Zhou 094dc6822c Added long_connection test. 2018-09-12 11:37:50 -07:00
Mark D. Roth 896fc6ea21
Merge pull request #15618 from markdroth/naming_doc_update
Update naming documentation.
2018-08-28 11:47:23 -07:00
Mark D. Roth 69b416a08c Update naming documentation. 2018-08-28 08:53:31 -07:00
Juanli Shen 63322ac828 Bump version to 1.16.0-dev 2018-08-27 14:26:45 -07:00
Vijay Pai 3ad8df35f0
Merge pull request #16383 from vjpai/tidy
Cast an index to size_t to avoid sign-conversion warning
2018-08-23 14:59:32 -07:00
Juanli Shen 142acb3b0f
Merge pull request #16425 from lamby/spelling-errors
Fix a number of spelling errors.
2018-08-22 14:20:24 -07:00
Chris Lamb fba18d8551 Fix a number of spelling errors. 2018-08-22 16:52:46 +01:00
Jan Tattermusch 1096fa81a4 update ssl-performance.md 2018-08-21 18:28:07 +02:00
Vijay Pai 616b5d798a Cast an index to size_t to avoid sign-conversion warning 2018-08-17 13:38:48 -07:00
Vijay Pai e28ed218dd
Merge pull request #16273 from codebender/update_cli_instructions
Update instructions to include how to satisfy gFlags prerequisite on a Mac
2018-08-16 20:19:57 -07:00
Muxi Yan da8c26f302
Merge pull request #16261 from muxi/dynamic-cfstream-init
Use environment variable to enable CFStream
2018-08-13 09:19:28 -07:00
Jan Tattermusch 2ac04db0d2
Merge pull request #16283 from grpc/ssl-and-performance
Create ssl-performance.md
2018-08-10 17:32:29 +02:00
Jan Tattermusch 152c413224
Improvements to ssl-performance.md 2018-08-10 15:57:52 +02:00
Nicolas Noble 7faa3fecad
Update assembly code heading a bit. 2018-08-08 08:55:19 -07:00
Nicolas Noble b60c1f10cd
Ruby always disables assembly. 2018-08-08 08:54:52 -07:00
Nicolas Noble 310a5b9dcd
Create ssl-performance.md
First draft
2018-08-08 05:57:31 -07:00
Muxi Yan 5f2f984be1 update environment_variable.md 2018-08-07 16:30:25 -07:00
Matthew Bender 68f549e43f Update instructions to include how to satisfy gFlags prerequisite on a mac 2018-08-07 11:25:37 -06:00
Jean de Klerk 29fea1e4df docs: add python server reflectlion link 2018-08-07 11:38:53 +02:00
Mehrdad Afshari ed40f70445 Linkify grpc_cli in C# reflection tutorial 2018-08-06 13:41:41 -07:00
Mehrdad Afshari 5ffb9bf8c4 Add server reflection guide for Python 2018-08-06 13:40:53 -07:00
Jan Tattermusch 7c30042f2b
Merge pull request #16018 from jadekler/server_reflection_meta
docs: provide a section aggregating per-language server reflection tu…
2018-07-30 16:09:44 +01:00