Yash Tibrewal
a495220f31
removing a completed TODO, removing forward declarations and rearranging code instead, removing _t suffixes with other recommendations
8 years ago
Yash Tibrewal
bc130daf5f
Adding more pointer conversions and type renaming
8 years ago
Yash Tibrewal
ca3c1c05eb
More explicit pointer type conversion
8 years ago
Craig Tiller
561dc32247
Add stats for server request serving path
8 years ago
Mark D. Roth
764cf04a13
Revert "Revert "Implement call combiner""
...
This reverts commit bf19961d0a
.
8 years ago
Mark D. Roth
bf19961d0a
Revert "Implement call combiner"
8 years ago
Mark D. Roth
76e264b8df
Implement call combiner.
8 years ago
yang-g
7d6b914f98
Change return type to bool
8 years ago
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
8 years ago
Craig Tiller
7a82afde1e
Introduce long/short jobs to executor (not used yet)
8 years ago
ncteisen
7712c7c4d5
clang format
8 years ago
ncteisen
06bce6e020
Tracers know their name
8 years ago
Ken Payson
b84a489f02
Revert "Reduce server memory usage"
...
This reverts commit 53e6b56e32
.
8 years ago
yang-g
2b8b7482ab
Destroy byte buffer to avoid leak in zombied calls
8 years ago
ncteisen
969b46ef73
Add rich closure debug mode
8 years ago
ncteisen
274bbbe6a0
Add rich closure debug mode
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
be290851c0
Split cq_data into cq_next_data, cq_pluck_data
8 years ago
Craig Tiller
3b65436153
Add initializers for all tracers
8 years ago
Craig Tiller
84f75d448e
Fix ASAN/TSAN failures
...
- trace system is now thread safe when run with TSAN
- fix a race in client_auth_filter.c
- allow timer manager to run in single threaded mode for fuzzers
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
53e6b56e32
Reduce server memory usage
...
(this needs more testing/analysis to prove that it's safe)
Switch from a lock free stack to an mpscq protected by a spinlock for incoming requests. The mpscq is unbounded and so needs (much) less memory allocated up front.
memory_profile_test shows this reduces initial server creation cost from 4MB to 1.5KB.
8 years ago
Vijay Pai
576e546019
Changes required to make build possible: create separate grpc++_base{,_unsecure}, move grpc_compression_trace definition, and remove an assertion about library initialization from server
8 years ago
Craig Tiller
f840110de2
Fixup tests
8 years ago
Craig Tiller
11c5832b3e
Get rid of second api for marking non-listening cqs
8 years ago
Craig Tiller
58aa706aaf
Fix registration
8 years ago
Craig Tiller
bd3cc40529
Add synchronization so startup completes before shutdown begins
8 years ago
Craig Tiller
75bfb97548
Finish hybrid server stuff, ensure it gets tested
8 years ago
Craig Tiller
9d9313cfc6
Threading robustness
...
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.
8 years ago
Craig Tiller
a0f3abd925
Review feedback: bikeshedding round
8 years ago
Craig Tiller
dd36b15315
Call ref/unref, bugfixes
8 years ago
Yuchen Zeng
a809ea5c14
Add max_age_filter
8 years ago
Yuchen Zeng
1bc34473ce
Add max age enforcement for server channels
8 years ago
ncteisen
4b36a3d9ea
Change error_create API to slice
8 years ago
Craig Tiller
e7a1702fe9
Fixes
8 years ago
Craig Tiller
72920cc08a
Conversion progress
8 years ago
Sree Kuchibhotla
e7e38da237
Remove the check that ensures server completion queues are of type GRPC_CQ_NEXT (because ruby uses GRPC_CQ_PLUCK only)
8 years ago
Sree Kuchibhotla
752be9ceeb
clang format code
8 years ago
Sree Kuchibhotla
321881d07f
Change Core to use the new completion_queue_create API
8 years ago
yang-g
23f777df08
When there is an error from filters (such as max recv message size too
...
large), add an error to the batch to avoid emitting new rpc on the
server side in C++.
8 years ago
Eduardo Caceres
a2b0e56823
Correct formatting
8 years ago
Eduardo Cáceres de la Calle
ca46879928
fix compile error
8 years ago
Craig Tiller
6f4178878c
Add zalloc, convert a bunch of files to use it
8 years ago
Craig Tiller
c52ba3a03f
Hoist constant setting out of loop - and shave some ns from call creation
8 years ago
Mark D. Roth
e6dd773dff
Move parameters for all grpc_op types into their own sub-structs.
8 years ago
Mark D. Roth
448c1f002c
Move parameters for all grpc_op types into their own sub-structs.
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Craig Tiller
3e8deb188f
Fix sanity: core_banned_functions
8 years ago
Craig Tiller
76dca19953
clang-format
8 years ago