Frank Celler
efc030ea87
Feature/remove event loop ( #5565 )
2018-06-11 11:46:17 +02:00
Frank Celler
c5ac519d1c
Bug fix for Read/Write race [WIP] ( #5534 )
...
* added wrapper, added asio_ns
* Temporarily fix condition variable bug in job queue.
* preparation for 3.3 back-port
* clang-format
* removed unecessary check, this is now fixed by stand
* added missing RequestStatistics::SET_READ_END
* cosmetics
2018-06-08 10:51:54 +02:00
Frank Celler
baec138715
clang-format
2018-06-07 09:26:11 +02:00
Simon
fdee0544b7
Using asio::io_context::strands instead of locks ( #5266 )
...
* initial try adding strands
* working, stable amount of threads
* improve shell_client cluster
* Fixing some accounting for the scheduler
* Fix accounting
* Fixing wrong strand usage
* add missing return
* Fixing thread accounting
* More scheduler accounting issues
* Fixing various things
* Fixing some stuff
* Fixing some stuff
* Some more subtle bugfixes
* Some cleanup code
* fixing some stuff
* adding some more fixes
* Fixing possible issues
* Fixing missing _storeResult
* Fixing some stuff
* Reducing lambda stack, perhaps fixing hangups
* Fix writeunlocker
* Fixing possible issues
* adding some debugging stuff
* refactor sockets
* possible fixes
* Adding more job guards
* Fixin possible bug
* cleaning up some stuff
* working impl
* Remove debugging output
* Fixing build
* fixing import
* Fixing another bug
* removing debug log
* Removing examples
* Reverting scheduler working code
* Cleanup
* Addressing review comments
2018-05-07 15:58:19 +02:00
jsteemann
9b42e9cee6
some improvements for memory management
...
added more memory diagnostics for memory usage:
- collection.figures() now returns a "readCache" attribute which contains the
number of and memory usage of entries in the document revisions cache for the
collection, and a "revisions" attribute with the number and memory usage
of entries in the storage engine's revision lookup table for the collection
- the default value for --database.revision-cache-target-size was changed from
75% of RAM to 30% of RAM
2016-12-15 15:30:28 +01:00
Andreas Streichardt
954e02ef24
Implement endpoint test...proper socket cleanup
2016-10-19 16:22:36 +02:00
Andreas Streichardt
4cf751c0b0
Generalize asio stuff to support unix domain sockets
2016-10-19 11:01:29 +02:00