featurebase/server
Matt Jaffee e7f65cf7be
implement global open file counter using syswrap
close files after using them if global max is passed.

I originally implemented this without the global count—just always closing files
when done with them, and reopening for new writes. This was crazy slow for that
one test that uses mustSetBits in a big loop. I modified the test to use
importRoaring and everything worked better (though much more slowly).

After adding the global counter, I ran the tests with that one test using
mustSetBits again, and the performance was similar to master. After completing
this PR, I ran the tests with the max limit set to 5—they still passed but were
much slower.
2019-03-23 14:52:16 -05:00
..
cluster_test.go fix failing tests due to staticcheck fixes 2019-01-21 14:38:58 -06:00
config.go implement global open file counter using syswrap 2019-03-23 14:52:16 -05:00
config_internal_test.go Advertise address and listen on 0.0.0.0 2019-01-21 22:36:55 -06:00
config_test.go Fix linter issues: staticcheck (covered by megacheck, along with gosimple and unused) 2018-07-20 11:19:24 -05:00
default.go Unexport server.DefaultDiagnosticsInterval 2018-07-05 23:11:56 -05:00
enterprise.go Add missing license headers. 2018-05-15 12:26:33 -05:00
handler_test.go Adds shardWidth to index info in schema 2019-03-01 14:57:46 +03:00
release.go Unexport server.DefaultDiagnosticsInterval (in release tag) 2018-07-05 23:11:57 -05:00
server.go implement global open file counter using syswrap 2019-03-23 14:52:16 -05:00
server_test.go Advertise address and listen on 0.0.0.0 2019-01-21 22:36:55 -06:00
setup_logger.go Use syscall.Dup3 on ARM64 as Dup2 is unsupported 2018-11-27 11:03:59 -06:00
setup_logger_arm64.go Use syscall.Dup3 on ARM64 as Dup2 is unsupported 2018-11-27 11:03:59 -06:00