Commit Graph

71 Commits

Author SHA1 Message Date
Vinnie Falco
4afe79b590 Fix gcc compile error 2013-08-15 08:26:50 -07:00
JoelKatz
bed027d852 If we never dispatch on a 'limit 1' job, we'll never finish one, thus never convey to next one. 2013-08-14 15:45:49 -07:00
JoelKatz
ee263bcab1 Allow more write latency 2013-08-14 15:45:49 -07:00
JoelKatz
fcd7522922 Put ledgerAdvance jobs in their own class. 2013-08-14 15:45:49 -07:00
Vinnie Falco
824b1dab20 Fix signal logic in JobQueue 2013-08-14 15:45:48 -07:00
Vinnie Falco
4a949a9cbd Refactor JobQueue to fix a bad state and clean up job limits 2013-08-14 15:45:48 -07:00
JoelKatz
54daa40b81 Temporary ugly fix for JobQueue brokenness.
There's nothing to dispatch a job if it later becomes possible.
2013-08-14 15:45:48 -07:00
Vinnie Falco
7120d3a8bf Pass thread name to Workers 2013-08-12 11:03:27 -07:00
Vinnie Falco
b8bf735a66 Make Uncopyable derivations public 2013-08-07 15:16:38 -07:00
Vinnie Falco
bf68c2134c Validators unit test runs manually 2013-07-30 22:30:48 -07:00
Vinnie Falco
19d5015c3e Validators work 2013-07-30 21:05:12 -07:00
Vinnie Falco
09fa282597 Remove boost/thread.hpp include 2013-07-29 14:36:31 -07:00
Vinnie Falco
cd452aa870 Clean up JobQueue for new Workers 2013-07-29 14:08:37 -07:00
Vinnie Falco
ddef0ae7c7 Use Workers in JobQueue 2013-07-29 13:31:51 -07:00
Vinnie Falco
7fdedfd0b0 Remove unused io_service 2013-07-29 13:30:05 -07:00
Vinnie Falco
e9a7f6f81a Replace some boost::thread with beast::thread 2013-07-29 13:30:05 -07:00
Vinnie Falco
ead7b07fd5 Replace boost::lexical_cast with beast::lexicalCast 2013-07-28 21:32:00 -07:00
Vinnie Falco
217d3bb7a8 Rename to swapWith and use a template parameter 2013-07-28 14:58:19 -07:00
Vinnie Falco
9458aa2fb0 Update unit tests for beast, add JUnit XML output option 2013-07-28 02:44:28 -07:00
Vinnie Falco
9112c6e80a Validator work 2013-07-27 11:10:28 -07:00
Vinnie Falco
788817e55c Use accessor function for theConfig 2013-07-24 11:51:38 -07:00
Vinnie Falco
c27294e0f0 Convert unit tests to beast 2013-07-24 11:47:43 -07:00
David Schwartz
7fbc44a866 Compute the load for admins correctly. 2013-07-25 10:44:37 -07:00
David Schwartz
6812153d9a Make jtGENERIC work. 2013-07-24 17:44:58 -07:00
David Schwartz
a8436a5952 Some peer commands can be expensive. 2013-07-24 17:11:31 -07:00
Vinnie Falco
373c328dfa Use memory backend for unit tests 2013-07-23 15:00:56 -07:00
Vinnie Falco
d94888ea65 Merge branch 'feature-keyvadb' into develop
Conflicts:
	src/cpp/ripple/RPCHandler.cpp
	src/cpp/ripple/RPCHandler.h
2013-07-23 13:52:21 -07:00
Vinnie Falco
58025fb8ef Finish NodeStore import config, add ephemeral db to unit tests 2013-07-23 10:35:04 -07:00
JoelKatz
728cc7a797 Raise fees faster. 2013-07-22 18:36:29 -07:00
Vinnie Falco
02e55f9794 Change format of config file for NodeStore 2013-07-22 16:01:57 -07:00
JoelKatz
69c16c19d6 Merge branch 'develop' into feature-keyvadb
Conflicts:
	src/cpp/ripple/ripple_TransactionAcquire.cpp
2013-07-22 13:32:10 -07:00
JoelKatz
b428e94ce8 Don't delay transaction fetches due to load, only ledger fetches. 2013-07-22 03:28:13 -07:00
JoelKatz
0e787747d3 Make job times include time waiting in the queue.
This is a temporary fix. The real fix will track wait time and run time both.
2013-07-22 00:40:45 -07:00
JoelKatz
5eae0b4005 Sweep job type. 2013-07-21 23:14:50 -07:00
Vinnie Falco
db26c37156 Refactor NodeStore 2013-07-21 12:56:26 -07:00
JoelKatz
f466fcf93b Move ApplicationImp::Sweep from the aux thread to the job pool. 2013-07-19 14:25:21 -07:00
JoelKatz
65d46752df Allow a ledger close to be replayed for debug. Syntax: rippled -a --load --ledger=<seq> --replay 2013-07-17 03:45:25 -07:00
Vinnie Falco
be312286c9 Fix gcc compile 2013-07-15 09:38:12 -07:00
Vinnie Falco
166e2b69cb Rename to SharedObjectArray
Conflicts:
	Builds/VisualStudio2012/RippleD.vcxproj.filters
2013-07-15 09:38:11 -07:00
Vinnie Falco
6d1a76b320 Add UnsignedInteger class and tests 2013-07-15 09:38:11 -07:00
Vinnie Falco
371c3af450 Add Validators unit tests 2013-07-15 09:38:10 -07:00
Vinnie Falco
3ef8796940 Add ChosenValidators logic 2013-07-15 09:38:07 -07:00
Vinnie Falco
0841a3b103 Rename to Application 2013-07-15 09:38:05 -07:00
Vinnie Falco
5bbfe16520 Add validators sources 2013-07-15 09:38:05 -07:00
JoelKatz
5b2d5e8428 Add a way for us to place jobs with a concurrency limit.
The main use case is having all threads stuck in ledgerData, fighting each other.
2013-07-13 19:02:35 -07:00
JoelKatz
ac4843bc00 Adjust our remote load fee based on validations. 2013-07-10 17:11:14 -07:00
JoelKatz
8c1c954062 Initialize cluster load fee. Don't output loads that are at default values. 2013-07-10 15:42:18 -07:00
JoelKatz
ec498bf2d2 Monitor cluster load. 2013-07-10 15:42:18 -07:00
JoelKatz
5804c61bfb Finish modular backend 2013-07-10 14:23:26 -07:00
JoelKatz
884fec075f Remove dead code, fix import. 2013-07-10 14:23:25 -07:00