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
Kaveh Vahedipour
54e5bd92b0
fix for closed sockets while async writes were still pending
2017-06-09 21:13:23 +02:00
jsteemann
8add368a78
merged shutdown and close
2017-06-09 14:51:11 +02:00
Simon Grätzer
6472c4928d
Various warnings
2017-04-26 11:26:08 +02:00
Simon Grätzer
d228a94462
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/Replication/InitialSyncer.cpp
2017-04-26 11:06:09 +02:00
jsteemann
fa917937c4
do not use namespaces in header files
2017-02-01 13:41:31 +01: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
fdb21044de
Remove native socket handle...just used for debugging and on windows it
...
seems to be template infected (das isses nicht wert)
2016-10-20 23:45:40 +02: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