ahedberg
8afb88de66
fix copyright dates and style issues
9 years ago
alex
ce37938255
Make grpc-python ByteBuffer.bytes() linear cost.
...
Currently ByteBuffer.bytes() reads from the underlying grpc byte_buffer
a slice at a time, and appends each to a Python string (bytes). In
Python strings are immutable, so appending creates a new string by
copying the previous data. This means the current implementation is
quadratic.
The effect is very noticeable when messages have repeated (or large)
string fields. We traced execution between two services and observed
that when the payload size approached 600kb, the receiving service took
~10s at full CPU to read a response that had taken fractions of a second
the send over the network.
This commit changes ByteBuffer.bytes() to use an intermediate bytearray,
instead of strings, for the in-progress bytes. Once all slices are
read, the buffer is converted to a string.
9 years ago
ahedberg
799fd4bda6
fix compilation errors
9 years ago
ahedberg
fcbcbff290
prefix external linkage functions with grpc
9 years ago
Yang Gao
8615b7b9d4
Merge pull request #4679 from nicolasnoble/codegen-paths
...
Letting the user override the code generation a bit.
9 years ago
Craig Tiller
a5abbd2c03
Mark mlog_test as flaky
9 years ago
vjpai
e7077b5c96
Fix a missing include in UDP_SERVER code and
...
do some typecasts for stronger warning-protection
in channel stack builder calls
9 years ago
Jan Tattermusch
04961a0922
Merge pull request #5863 from dgquintas/includes_namespaces
...
Ensure that no #includes are inside of a namespace.
9 years ago
Jan Tattermusch
c5a4cef66b
Merge pull request #5865 from ctiller/clang_complete
...
Support clang_complete based editor plugins
9 years ago
Jan Tattermusch
bf7df7dcf8
Merge pull request #5870 from dgquintas/fix_static
...
Add identity to static metadata accept-encodings bitmasks
9 years ago
Jan Tattermusch
84ffe2bab6
Merge pull request #5898 from vjpai/log_wall
...
Remove a spammy log
9 years ago
Jan Tattermusch
6586599dc8
Merge pull request #5744 from murgatroid99/ruby_gc_mark_credentials_callback
...
Properly mark proc used in call credentials for garbage collection
9 years ago
Jan Tattermusch
bbb1d1053a
Merge pull request #5659 from leifurhauks/py3_examples
...
python3-compatible syntax for python examples
9 years ago
Jan Tattermusch
c6b1a71fc2
Merge pull request #5490 from murgatroid99/ruby_call_credentials_log_error
...
Add error output for failed ruby credentials plugin
9 years ago
Jan Tattermusch
795a50fc71
Merge pull request #5417 from ctiller/fix_something
...
Add extra error detail for pipe creation failure
9 years ago
Jan Tattermusch
9168181755
Merge pull request #5771 from murgatroid99/node_metadata_plugin_event_loop_fix
...
Node: made call credentials properly use UV async events. Also deleted some log lines
9 years ago
Nicolas Noble
029ecca5e5
Merge pull request #5832 from vjpai/make_udp_server_test_great_again
...
Add needed include for udp_server_test
9 years ago
Jan Tattermusch
86eece8c05
Merge pull request #5797 from ctiller/win2
...
Make stack traces show up in run_tests.py logs
9 years ago
adelez
2fa7c9682b
Merge pull request #5903 from sreecha/stress_test_gke_readme
...
Add troubleshooting instructions
9 years ago
sreek
6fa333a5e6
Add troubleshooting instructions
9 years ago
Nicolas Noble
62dcaa2635
Merge pull request #5650 from leifurhauks/py3_iteritems
...
replace uses of iteritems with six.iteritems
9 years ago
Nicolas Noble
19e1ea400d
Merge pull request #5585 from stanley-cheung/update-manifest-md
...
Doc Fixit: Update MANIFEST.md
9 years ago
David Garcia Quintas
fb349b9f71
removed uchannels
9 years ago
Nicolas "Pixel" Noble
6bda8497b8
Fixing copyrights.
9 years ago
Nicolas "Pixel" Noble
33e2d3bfed
Merge branch 'master' of https://github.com/grpc/grpc into codegen-paths
9 years ago
vjpai
3abc651db1
Remove a spammy log
9 years ago
Craig Tiller
e07c368861
Update test
9 years ago
vjpai
c6993428c2
Lock the FD when initializing it out of the freelist.
9 years ago
Craig Tiller
d262454b98
Fix time encoding
9 years ago
Nicolas "Pixel" Noble
702243698c
For GRPCOperation's, ensure finish _handler can only be called once, and release it when called, so weak ptrs needn't be used with it, and the call won't be released until the finish handler is called.
...
When the connectivityMonitor determines the connection has been lost, pull the host disconnect call. Creates an unreliable connection when connectivity is restored. Calling finishWithError: is sufficient.
9 years ago
Craig Tiller
f29d1f7799
Update clang-format to 3.8
9 years ago
yang-g
f64befd27f
Make a copy of ByteBuffer when writing
9 years ago
David Garcia Quintas
ca2886a05c
Made the code simpler to parse for humans
9 years ago
David Garcia Quintas
07503b6e5c
Add identity to static metadata accept-encodings bitmasks
9 years ago
Jan Tattermusch
fb6e13b1b5
Merge pull request #5788 from vjpai/make_clang_great_again_v2
...
Update clang for the Dockerfile used in tsan tests, fix a newly exposed bug
9 years ago
Craig Tiller
230e852935
Support clang_complete based editor plugins
9 years ago
David Garcia Quintas
711766dc75
Ensure that no #includes are inside of a namespace.
9 years ago
Jan Tattermusch
b08ee7a260
Merge pull request #5653 from leifurhauks/py3_iterators
...
make iterators python3-compatible
9 years ago
Jan Tattermusch
20792927fe
Merge pull request #5651 from leifurhauks/py3_metaclasses
...
specify metaclasses in a py3-compatible way
9 years ago
Jan Tattermusch
bb644e9947
Merge pull request #5754 from ctiller/new_boring_ssl
...
Reference github boringssl, move to chromium-stable branch head
9 years ago
Craig Tiller
0f30cd8abe
Merge github.com:grpc/grpc into dns_backoff
9 years ago
Craig Tiller
d13178a294
Merge branch 'fix_something' of github.com:ctiller/grpc into fix_something
9 years ago
Craig Tiller
5389dc334e
Merge github.com:grpc/grpc into fix_something
9 years ago
Jan Tattermusch
6e96e5ccab
Merge pull request #5304 from ctiller/filter-selection
...
Decouple filter selection from channel construction
9 years ago
vjpai
f4e2564366
Merge branch 'master' into make_clang_great_again_v2
9 years ago
Craig Tiller
3d2686bbc6
Fix cast
9 years ago
Craig Tiller
9d9e4d3e21
Please the include sanity check
9 years ago
Craig Tiller
3448887c90
Merge github.com:grpc/grpc into filter-selection
9 years ago
Jorge Canizales
0b6cb7dcb2
Revert "Redo "Pass a non-infinite deadline to grpc_completion_queue_next() to prevent queues from blocking indefinitely in poll()""
9 years ago
Jan Tattermusch
ddd4d7f10f
Merge pull request #5494 from dgquintas/guard_check
...
New #include guard sanity check + fixes to current guards
9 years ago