Commit Graph

59 Commits

Author SHA1 Message Date
Vinnie Falco
4170bcd294 Add PROXY peer listener and consolidate SSL contexts. 2013-08-25 01:57:51 -07:00
Vinnie Falco
3602e19dcd Add peer_port_proxy to config 2013-08-25 01:57:50 -07:00
Vinnie Falco
21485ec003 Use SharedData in JobQueue and set latency, limits for new job types 2013-08-24 10:18:24 -07:00
Vinnie Falco
f14333012b Use RippleMutex instead of boost::mutex 2013-08-23 15:00:04 -07:00
Vinnie Falco
c21a53a3ea Fix NetworkOPs timer to use JobQueue (2 new JobTypes added) 2013-08-23 15:00:04 -07:00
David Schwartz
32aabc8999 Change peer low water count from 4 to 10. 2013-08-21 11:18:24 -07:00
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
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
9458aa2fb0 Update unit tests for beast, add JUnit XML output option 2013-07-28 02:44: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
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
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
0841a3b103 Rename to Application 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
JoelKatz
cc8af2275d Track cluster load and local load separately. 2013-07-10 10:16:26 -07:00
Vinnie Falco
2d277dc307 Allow optional port number in rpc_ip command 2013-07-07 19:42:37 -07:00
JoelKatz
644dec19f4 Fix initialization order. 2013-07-07 15:30:35 -07:00
Vinnie Falco
535d510b48 Rewrite log file and log rotation behavior 2013-07-05 07:09:57 -07:00
Vinnie Falco
437f10b247 Add rpc_ip and rpc_port command line overrides 2013-07-05 07:09:56 -07:00
Vinnie Falco
b52bbccd8a Streamline Log with print() and out() 2013-07-01 09:32:09 -07:00
Vinnie Falco
4d7fe731d8 Tidy up LeakChecked and configuration macro 2013-07-01 09:32:07 -07:00
Vinnie Falco
df9fa7b897 Fix default param using std::function 2013-06-28 17:01:02 -07:00