sapling/eden/fs/service
Chad Austin 97fe7b4efd stop returning meaningful JournalPosition results from subscribeStreamTemporary
Summary:
Watchman, the only consumer of subscribeStreamTemporary today, does
not use the published JournalPosition values. Instead, it waits a bit,
and calls either getCurrentJournalPosition or
getFilesChangedSince. This is a good thing, because write traffic to a
filesystem can easily exceed the rate at which Watchman (or even
streaming Thrift!) can consume it, spiking memory usage and degrading
performance.

The next diff in this stack will take advantage of this clarified
communication protocol to reduce edenfs memory usage under heavy write
traffic.

Reviewed By: wez

Differential Revision: D24089811

fbshipit-source-id: 49de6be24a78934888162a577a554d50e2fff355
2020-10-19 17:33:27 -07:00
..
oss split runEdenMain out from EdenMain 2020-03-26 16:19:25 -07:00
test Remove dead includes in eden 2020-10-09 15:25:47 -07:00
.gitignore watchman: pull in thrift in the oss build for eden support 2019-02-04 21:37:47 -08:00
CMakeLists.txt win: move win/utils onto utils/ 2020-09-22 09:09:56 -07:00
eden.thrift service: populate uptime on Windows in getDaemonInfo thrift call 2020-09-30 15:50:08 -07:00
EdenCPUThreadPool.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenCPUThreadPool.h Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenError.cpp edenfs: move WinError to eden/fs/utils 2020-09-17 09:08:58 -07:00
EdenError.h Remove thrift setters 2020-07-13 14:30:00 -07:00
EdenInit.cpp eden: use fmt::format instead of folly::to 2020-09-23 21:14:20 -07:00
EdenInit.h eden: use fmt::format instead of folly::to 2020-09-23 21:14:20 -07:00
EdenMain.cpp break dependency on ServiceFrameworkLight 2020-10-07 13:42:36 -07:00
EdenMain.h break dependency on ServiceFrameworkLight 2020-10-07 13:42:36 -07:00
EdenServer.cpp service: always normalize mount path 2020-10-02 12:43:02 -07:00
EdenServer.h utils: remove UnixClock::getElapsedTimeInNs 2020-09-30 15:50:08 -07:00
EdenServiceHandler.cpp stop returning meaningful JournalPosition results from subscribeStreamTemporary 2020-10-19 17:33:27 -07:00
EdenServiceHandler.h eden prefetch record-profile and eden prefetch finish-profile 2020-08-04 06:50:45 -07:00
EdenStateDir.cpp fix issues when checking EdenFS status on windows 2020-04-15 15:46:24 -07:00
EdenStateDir.h exit if the EdenFS lock file ever becomes invalid 2020-03-26 20:17:12 -07:00
fb-edenfs@.service set OOMScoreAdjust to -20 in systemd unit 2019-10-02 12:53:28 -07:00
PeriodicTask.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PeriodicTask.h Tidy up license headers 2019-10-11 05:28:23 -07:00
PrettyPrinters.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
PrettyPrinters.h Tidy up license headers 2019-10-11 05:28:23 -07:00
PrivHelperMain.cpp edenfs: remove use of fork from StartupLogger 2020-09-18 17:22:39 -07:00
StartupLogger.cpp Remove dead includes in eden 2020-10-09 15:25:47 -07:00
StartupLogger.h edenfs: remove use of fork from StartupLogger 2020-09-18 17:22:39 -07:00
streamingeden.thrift stop returning meaningful JournalPosition results from subscribeStreamTemporary 2020-10-19 17:33:27 -07:00
Systemd.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
Systemd.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftUtil.h add EdenErrorType to EdenError 2019-10-29 09:23:03 -07:00