Vinnie Falco
34fb12344c
Fix JobQueue
2014-01-08 14:55:10 -08:00
Vinnie Falco
1159dadfdb
Fix missing jtACCEPT job limit
2014-01-08 11:18:45 -08:00
Vinnie Falco
62516ef07f
Refactor TaggedCache
2014-01-07 21:14:14 -08:00
JoelKatz
1e5963aeeb
Move some operations from the I/O queue to the Job queue
2014-01-07 15:57:50 -08:00
Vinnie Falco
087301933a
General refactoring, using C++11
...
* Remove broken RecycledObjectPool
* Fix beast::ServiceQueue using List instead of LockFreeStack
* Add class semaphore, fixes broken Semaphore
* Move crytpo module files to new beast directory
* Use c++11 replacements for boost and beast types:
- std::atomic instead of beast::Atomic
- std::function instead of boost::function, beast::function
- std::unique_ptr instead of beast::ScopedPointer
- std::shared_ptr instead of boost::shared_ptr
* Remove modules:
- beast_db
- beast_crypto
- beast_extras
* Remove unnecessary classes:
- AbstractFifo
- AddConst
- AtomicCounter
- AtomicFlag
- AtomicPointer
- AtomicState
- CopyConst
- Expression
- ForwardList
- IfCond
- Interval
- IntrusiveArray
- KeyvaDB
- PointerToOther
- PointerTraits
- RemoveConst
- RemoveConstVolatile
- RemoveReference
- RemoveVolatile
- SharedObjectArray
- SingleThreadedSharedObject
- SophiaDB factory
- SortedSet
- WeakReference
- beast::unique_ptr
2014-01-07 15:57:45 -08:00
Vinnie Falco
4b1155bf32
Improved diagnostic for RocksDB error codes
...
Conflicts:
Builds/VisualStudio2012/RippleD.vcxproj.filters
2014-01-07 15:46:38 -08:00
Vinnie Falco
81d418007a
Add CollectorManager for Beast.Insight support
2013-12-16 18:08:11 -08:00
JoelKatz
636d722e8d
Memory-conserving changes to SHAMapTreeNode and visitLeavesInternal.
2013-12-08 23:52:54 -08:00
JoelKatz
b901e0dcf3
Fix load stats in get_info
2013-12-05 22:04:42 -08:00
David Schwartz
0e53105ab5
Remove dead code and fix a race condition in the node back end.
...
Race was between a store and a fetch, as follows:
1) Fetch: Search for the node, it is not found.
2) Store: Add the node to the database, remove the node from the negative cache.
3) Fetch: Add the node to the negative cache.
This would leave a node in the DB, cache, and negative cache.
2013-12-04 11:10:22 -08:00
Vinnie Falco
cdaa65c07a
Remove LightningDB database and backend
2013-11-27 15:14:21 -08:00
Vinnie Falco
8a278cf9d6
Remove sophia database and backend
2013-11-27 15:09:26 -08:00
JoelKatz
4d1c2a5798
Make --import work
2013-11-22 18:01:13 -08:00
JoelKatz
c69d8a13b3
If the RocksDB base file size is changed, change the write cache and L0 size to match
2013-11-22 16:13:12 -08:00
Vinnie Falco
306811d2a7
Add RocksDB NodeStore backend
2013-11-22 15:51:19 -08:00
Vinnie Falco
b660d82516
Make TxFormats a Meyers singleton
2013-11-20 10:16:46 -08:00
Vinnie Falco
d8707cad2c
Refactor logging
2013-11-15 13:25:56 -08:00
David Schwartz
58f07a573f
New ResourceManager for managing server load.
...
* Track abusive endpoints
* Gossip across cluster.
* Use resource manager's gossip support to share load reporting across a cluster
* Swtich from legacy fees to new Resource::Charge fees.
* Connect RPC to the new resource manager.
* Set load levels where needed in RPC/websocket commands.
* Disconnect abusive peer endpoints.
* Don't start conversations with abusive peer endpoints.
* Move Resource::Consumer to InfoSub and remove LoadSource
* Remove port from inbound Consumer keys
* Add details in getJson
* Fix doAccountCurrencies for the new resource manager.
2013-11-12 21:08:52 -08:00
Vinnie Falco
a05f33f6a7
Add annotation and clean up whitespace
2013-11-12 19:30:07 -08:00
Vinnie Falco
dd74c19858
Tidy up LoadMonitor stats API
2013-11-09 12:08:23 -08:00
Vinnie Falco
072b4f3b73
Set version to 0.17.0-rc3
2013-11-05 11:22:20 -08:00
Vinnie Falco
7b6d81d812
Measure CPU usage in Workers
2013-10-22 17:23:54 -07:00
Nik Bougalis
b30f7a622c
Set PEERS_MAX default value
2013-10-22 11:48:43 -07:00
Nik Bougalis
6c17002e8a
Peerfinder work
2013-10-22 10:43:17 -07:00
Vinnie Falco
96328a8632
Add FixedPeers connection policy to peerfinder
2013-10-22 10:43:14 -07:00
Vinnie Falco
a1b487c512
New Resource::Manager for controlling access to server resources
2013-10-18 16:04:31 -07:00
Vinnie Falco
a2aa938e10
Remove Journal from most Stoppable overrides
2013-10-04 14:33:57 -07:00
Vinnie Falco
4fe63f9f0d
PeerFinder work
2013-10-01 14:29:32 -07:00
Vinnie Falco
46d3ace6b7
Fix JobQueue to measure waiting and run times correctly
2013-10-01 12:25:02 -07:00
Vinnie Falco
d27ad6251c
Improve the display resolution of LoadMonitor samples
2013-09-30 04:07:14 -07:00
Vinnie Falco
6beb7996ff
Fix LoadMonitor unit reporting for seconds from milliseconds
2013-09-29 02:48:26 -07:00
Vinnie Falco
00a714d14d
Implement Stoppable for LoadManager
2013-09-28 17:40:46 -07:00
Vinnie Falco
8e58551475
Add Stoppable prepare and start interfaces
2013-09-28 15:30:01 -07:00
Vinnie Falco
d1ec2eae83
Track run and wait times for load samples
2013-09-27 05:15:51 -07:00
JoelKatz
4c3f059819
Make sizes more sensible
2013-09-26 11:05:15 -07:00
Vinnie Falco
fcd689afbf
Update copyright notice and licenses
2013-09-25 17:27:06 -07:00
JoelKatz
5d63086b69
Tie in blacklist code.
2013-09-24 13:00:11 -07:00
Vinnie Falco
20b2e318eb
Reorganize beast modules and files
2013-09-23 10:13:24 -07:00
Vinnie Falco
19eff08e16
Reorganize source files and modules
2013-09-23 10:13:21 -07:00
Vinnie Falco
d16aa7f928
Use JobQueue to process RPC-JSON asynchronously
2013-09-22 13:22:06 -07:00
Vinnie Falco
a2151bfa47
Split HTTP::Server to its own module
2013-09-22 11:52:26 -07:00
Vinnie Falco
5443e0f332
Lower the severity on JobQueue skip reporting
2013-09-22 11:51:46 -07:00
Vinnie Falco
ec6c09d995
Rename to Stoppable
2013-09-22 11:51:44 -07:00
Vinnie Falco
85fc59b28b
Refactor NodeStore, add NodeStoreSchedulerService
2013-09-20 01:12:21 -07:00
Vinnie Falco
e3e72b3fc3
Split some framework classes into ripple_frame module
2013-09-19 21:52:21 -07:00
Vinnie Falco
e6e090c542
Fixes for Service API hang on exit during unit tests
2013-09-19 19:41:55 -07:00
Vinnie Falco
fad8b0406e
Remove MDB from timing test, increase timing test data size
2013-09-19 19:41:31 -07:00
Vinnie Falco
6d1796725b
Add batch support to sophia backend
2013-09-19 19:41:31 -07:00
Vinnie Falco
a1596dd3d1
Merge branch 'feature-sophia' into develop
...
Conflicts:
Builds/VisualStudio2012/RippleD.vcxproj
Builds/VisualStudio2012/RippleD.vcxproj.filters
2013-09-19 18:32:48 -07:00
Vinnie Falco
86c868874a
Add Sophia backend ( http://sphia.org )
2013-09-19 18:16:41 -07:00