aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http
Commit message (Collapse)AuthorAgeFilesLines
* feat contrib: aiogram 3armenqa2024-01-1931-868/+0
| | | | Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/
* Library import 8 (#1074)AlexSm2024-01-185-36/+27
| | | | | * Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
* Library import 7 (#937)AlexSm2024-01-111-3/+0
|
* Library import 6 (#888)AlexSm2024-01-094-4/+108
|
* External build system generator release 65robot-ya-builder2023-12-055-15/+15
| | | | Update tools: yexport, os-yexport
* add darwin-arm64 CMakeListsdcherednik2023-11-2010-0/+160
|
* Revert "metrics have been added"hcpp2023-11-084-150/+0
| | | | | This reverts commit 16e792be75335b09a4f9f254e3972030af83b1ad, reversing changes made to 3790f3d771d1a65ed6c0d05f3e0d79ff13308142.
* metrics have been addedhcpp2023-11-084-0/+150
|
* move version of SetContentaykeron2023-10-231-0/+6
|
* Y_FAIL->Y_ABORT at '^li'ilnurkh2023-10-171-1/+1
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* Intermediate changesrobot-piglet2023-09-182-3/+13
|
* Перенести проверку TTL до парсинга ↵conterouz2023-09-113-0/+75
| | | | заголовков
* Intermediate changesrobot-piglet2023-09-064-8/+4
|
* Intermediate changesrobot-piglet2023-09-012-0/+9
|
* finally, allow more than one listener threadkulikov2023-08-303-24/+108
| | | | | | | | | | | | | | | | | | With single poller thread on incoming connections, every OS scheduler latency on this thread wakeup directly affects requests timings. With oneshot poll events, we can poll on the same poller from many threads, and, if one thread has stalled for some reason, some other will take it's work on the next incoming event. So: - make vector of listener threads instead of single one; - add nListenerThreads option; - stop request queues and listening sockets from the last finished thread; - check incoming options and set OneShotPoll if needed. There is a problem around removing connections on MaxConnections limit or ExpirationTimeout. There is no simple way to safely remove items from epoll (https://lwn.net/Articles/520012/) if it has raw pointers in event data. Try to handle it via postponed deletion of connection objects, wait until all listener threads are ready to reenter poller wait and there are no threads where deleted object can be used: - close socket immediately after remove from poller, but instead of immediate TClientConnection destruction, put it to "pending delete" list; - add cleanup state with thread mask, each bit stating that corresponding thread should reenter poller; - call Cleanup routine before each poller wait, it will switch to 0 current thread's bit for each pending connection; - when thread mask becomes all zero, really delete the connection; - force there is a timeout for poller wait, ensure that all threads do reenter; - add more configurations for some tests. There is no significant changes or overhead for standard case with single listener thread, cleanup and pending deletion are just skipped. Also there is no overhead for common case where removing connections is rare. Here is the same review with nListenerThreads = 4 by default https://a.yandex-team.ru/review/4413226.
* Fix input variable missprintsvidyuk2023-08-308-0/+48
|
* All .ll files support in LLVM_BCsvidyuk2023-08-308-48/+0
|
* more preparations for more than one listener threadkulikov2023-08-301-19/+20
| | | | | - apply one shot poll (under option) for listening socket too; - some code rearrangements.
* simplify, prepare for more than one listener threadkulikov2023-08-242-32/+45
| | | | | | | | - move out listener and thread pools initialization stage from listener thread (no actual changes, this part of code was awaited via ListenStartEvent anyway) ; - remove ListenerStartEvent and ListenerRunningOK flag, no use now; - make Reqs list of listening sockets class member; - leave Reqs list destruction in listener thread (it should happen just after Shutdown but after polling loop stopped to prevent races); - ut for server startup fail.
* one shot pollerkulikov2023-08-223-40/+60
| | | | | | | | With WaitReadOneShot: - there is no need to do Unwait on connection activation, one less syscall per request; - this allows to make several listener threads over one epoll poller. Turn option on for search daemons (check it turned on by default here https://a.yandex-team.ru/review/4372795/details).
* Intermediate changesrobot-piglet2023-08-211-1/+49
|
* Intermediate changesrobot-piglet2023-08-181-0/+118
|
* Intermediate changesrobot-piglet2023-08-161-99/+68
|
* revert rXXXXXX (see discusstion in pr), will commit again more pci-dss ↵kulikov2023-07-272-26/+10
| | | | friendly way
* try to get rid of locks and allocations for elastic queue thread poolkulikov2023-07-212-10/+26
| | | | | | | | | In case of heavy load and high rps current thread pool implementation seems to have problems at least with contention on lock inside condvar (long futex wait calls from http server listener thread), so try to implement something more efficient: - replace condvar with TEventCounter implementation without internal lock (pthread condvar maintains waiters wakeup order, thread pool doesn't need it); - introduce well-known bounded mpmc queue over ring buffer; - get rid of TDecrementingWrapper; - add options to turn on new pool in library/cpp/http/server and search/daemons (will remove after adoption); - make elastic queue ut check both versions; - workaround problems with android/arm build targets.
* add ymake export to ydbalexv-smirnov2023-06-1314-0/+226
|
* Remove extra semicolon (library)bulatman2023-06-103-6/+6
|
* Revert "Revert "Поддержать метод OPTIONS во внешнем ↵conterouz2023-06-012-3/+12
| | | | uaas""
* Revert "Поддержать метод OPTIONS во внешнем uaas"conterouz2023-05-312-12/+3
|
* Поддержать метод OPTIONS во внешнем uaasconterouz2023-05-302-3/+12
|
* RFC 8297 (Early Hints) initial support in balancernocomer2023-05-122-0/+3
|
* External build system generator release 29robot-ya-builder2023-04-195-5/+5
| | | Update tools: yexport
* Don't allow 1043 to become fakes [mergeto:jupiter]alexromanov2023-04-101-0/+1
|
* Intermediate changesrobot-piglet2023-04-061-0/+4
|
* Revert ymake build from ydb oss exportalexv-smirnov2023-03-2814-225/+0
|
* Allow to AddOrReplace headers from THttpResponseav-koshkin2023-03-222-0/+36
|
* External build system generator release 21robot-ya-builder2023-03-175-15/+15
| | | Update tools: yexport
* add library/cpp/actors, ymake build to ydb oss exportalexv-smirnov2023-03-1514-0/+225
|
* [http/server] Add epoll max events optionsskvor2023-03-142-1/+2
|
* Intermediate changesrobot-piglet2023-03-0910-0/+161
|
* Intermediate changesrobot-piglet2023-03-0715-10/+10
|
* External build system generator release 17robot-ya-builder2023-03-0611-5/+41
| | | Update tools: yexport
* Intermediate changesrobot-piglet2023-02-0715-66/+66
|
* Intermediate changesrobot-piglet2023-02-0715-66/+66
|
* External build system generator release 12robot-ya-builder2023-01-315-5/+5
| | | Update tools: yexport
* External build system generator release 8robot-ya-builder2023-01-1721-21/+21
| | | Update tools: yexport
* Sync linux-headers instead of using system onesthegeorg2022-12-1520-99/+462
|
* remove kikimr/driver DEPENDSqrort2022-12-0234-4183/+0
|
* validate canons without yatest_commonqrort2022-11-3034-0/+4183
|
* Use flat table driven FSM on x86_64 only.dcherednik2022-11-241-1/+1
|