JoelKatz
d3e7fb5ba0
When an object is found in the epehermal DB, put it in the cache.
2013-06-05 13:38:58 -07:00
JoelKatz
b7920f40b7
Implement the ephemeral cache.
2013-06-05 10:25:03 -07:00
JoelKatz
cc0b9ad01c
LevelDB is now mandatory
2013-06-05 09:37:26 -07:00
Vinnie Falco
2c525b03c6
Enormous cleanup of RippleAddress et. al. into ripple_data
...
Start cleanup into ripple_data, split out some hash_value() instances
Tidy up CBigNum into ripple_data, moving definitions to .cpp
Split and clean up base58 stuff
Remove unused files from VS2012 project
Clean up some bignum stuff and remove unused files
Partial cleanup of RFC1751
Enormous cleanup with RippleAddress and related, into ripple_data
Remove unused VS project files
Move ECIES stuff into CKey
2013-05-30 10:16:22 -07:00
Vinnie Falco
d762abfc85
Move Log to ripple_basics and split websocket logging to ripple_net
2013-05-27 13:16:00 -07:00
Vinnie Falco
794b84c473
Fix missing file names for new Log partition code
2013-05-27 13:15:57 -07:00
Vinnie Falco
b9aa8e0a84
Add ripple_basics unity build module
2013-05-27 13:14:08 -07:00
JoelKatz
e958972c10
Cleanup.
2013-05-23 04:28:47 -07:00
JoelKatz
794469fddb
Report the number of "backed up" node writes in get_counts.
2013-05-15 11:11:19 -07:00
JoelKatz
8a99a86279
Cleanups.
2013-05-12 21:43:57 -07:00
JoelKatz
921cd7009d
More predictable LevelDB latency, LevelDB write batching.
2013-05-12 21:33:08 -07:00
JoelKatz
d5ce6e4d2e
Don't use 'front' on a string.
2013-05-11 17:44:13 -07:00
JoelKatz
34a15c2baa
One more round of LeveDB import speedups.
2013-05-08 12:01:19 -07:00
JoelKatz
e086fa5a5d
Allow LevelDB and SQLite to co-exist in the build and have the backing
...
store for hashed nodes selectable in the config.
2013-05-07 15:04:23 -07:00
JoelKatz
ecfe553ef9
Code to import MySQL objects into LevelDB. (Or another MySQL database if you really wanted to.)
2013-05-03 16:23:33 -07:00
JoelKatz
3ec116f5bf
Monitor LevelDB performance.
2013-04-30 17:43:56 -07:00
JoelKatz
d508bba147
Improve levelDB performance by eliminating GetHex calls and allocate/copy/free cycles.
...
Sorry, this invalidates existing levelDB databases. Please remove them.
2013-04-26 13:53:26 -07:00
JoelKatz
a7d958606a
Fix.
2013-04-26 00:44:07 -07:00
JoelKatz
7f4d76808b
Fixes and simplifications.
2013-04-26 00:11:44 -07:00
JoelKatz
a5337451d3
Remove negative cache with ldb.
2013-04-25 17:56:54 -07:00
JoelKatz
2fa2a75d09
Typo.
2013-04-25 17:42:02 -07:00
JoelKatz
7f912cd171
Might as well change the format now.
2013-04-25 17:40:23 -07:00
JoelKatz
35ad8d4c6f
Add LevelDB support for hash nodes. We really need to cut over, the reduction in
...
I/O and CPU use is dramatic.
2013-04-25 17:32:12 -07:00
JoelKatz
510dd048ba
Sorry, I broke the unit tests.
2013-04-19 01:57:40 -07:00
JoelKatz
e296a81c83
Move background hashed object writes to their own DB connection.
2013-04-18 17:31:06 -07:00
JoelKatz
fd296b4411
Pathfinding performance improvements.
2013-04-09 19:42:57 -07:00
JoelKatz
46dbd3e967
Emergency fix. boost::format doesn't have the thread safety we thought.
2013-04-08 17:17:16 -07:00
JoelKatz
24fe80e629
Cleanup.
2013-04-02 13:41:34 -07:00
JoelKatz
d73995e695
An optimization. Faster GetHex for exact strings.
2013-04-01 21:01:06 -07:00
JoelKatz
78d1a93e69
Reusing prepared statements is slower.
2013-04-01 20:24:01 -07:00
JoelKatz
a455d71901
Don't count lock acquire time.
...
FreeBSD
2013-03-29 10:16:50 -07:00
JoelKatz
b9456c8fd7
Except when interacting with boost, use std::function and std::bind
...
when C++11 is available. See: http://stackoverflow.com/questions/14617835
2013-03-16 03:27:43 -07:00
JoelKatz
606dff758c
Support compiling with C++11 rules. Compile C++11 by default.
...
This gives us some significant performance boosts when containers and binds.
2013-03-16 02:38:05 -07:00
JoelKatz
145eed041d
Instrument HOS::retrieve.
2013-03-12 00:56:13 -07:00
JoelKatz
a96676f122
Typo.
2013-03-03 16:46:24 -08:00
JoelKatz
f0c029ef0d
Rework the way load is accounted to be more accurate and more specific.
2013-03-03 16:24:47 -08:00
JoelKatz
51ebd75a4a
Reset prepared statements after use, not before.
2013-03-01 10:33:38 -08:00
JoelKatz
c6f1c6b8b1
Only do an expensive test that's no longer needed if PARANOID.
2013-02-04 16:56:57 -08:00
JoelKatz
b662167683
Small cleanups.
2013-01-30 20:56:11 -08:00
JoelKatz
e48ef29f8c
Dispatch HashedObject background writes through our job queue.
2013-01-28 07:13:05 -08:00
JoelKatz
e9d405302c
Use the new code.
2013-01-28 07:05:49 -08:00
JoelKatz
2466eba17b
Use a prepared statement to retrieve.
2013-01-28 01:54:01 -08:00
JoelKatz
d3ac663c9a
Use slightly cheaper SetHex
2013-01-28 01:14:06 -08:00
JoelKatz
e8ac00e1a3
Allow tunable node sizes to adjust cache sizes, sweep timing, fetch
...
timing, and so on. Node size defaults to "tiny", which converves
memory and bandwidth.
2013-01-27 13:55:59 -08:00
JoelKatz
c29fdacc41
Remove an annoying log message.
2013-01-10 09:11:34 -08:00
JoelKatz
82d439ea8d
Remove a FIXME, since it's **FIXED**.
2013-01-10 00:43:25 -08:00
JoelKatz
20712536b2
Use 'INSERT OR IGNORE'
2013-01-10 00:33:32 -08:00
JoelKatz
c2922e5a16
Remove an unused variable.
2013-01-10 00:19:47 -08:00
JoelKatz
1e2b11fe80
Slight improvement.
2013-01-09 23:54:23 -08:00
JoelKatz
34411001e6
Mark a major FIXME.
2013-01-09 21:17:41 -08:00