Skip to content

Commit

Permalink
Merge pull request stellar#1996 from graydon/perf-doc
Browse files Browse the repository at this point in the history
Perf doc

Reviewed-by: graydon
  • Loading branch information
latobarita committed Mar 16, 2019
2 parents f91de49 + 8683e14 commit b177118
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 127 deletions.
7 changes: 1 addition & 6 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ the ledger, a crypto component for confirming signatures and hashing results,
and a database component for persisting ledger changes.
Two slightly-obscurely-named components are:

- "bucketList", stored in the directory "bucket": the in-memory and on-disk
- "BucketList", stored in the directory "bucket": the in-memory and on-disk
linear history and ledger form that is hashed. A specific arrangement of
concatenations-of-XDR. Organized around "temporal buckets". Entries tending
to stay in buckets grouped by how frequently they change.
Expand All @@ -25,11 +25,6 @@ Other details:
worker threads doing computation (primarily memcpy, serialization,
hashing). No multithreading on the core I/O or consensus logic.

- No secondary internal "work queue" / scheduler, nor secondary internal
packet transmit queues. Any async work is posted to either of the main
or worker asio io_service queues. Any async transmits are posted as
asio write callbacks that own their transmit buffers.

- No secondary process-supervision process, no autonomous threads /
complex shutdown requests. Can generally just destroy the application
object (worker thread-joining is the only wait condition during
Expand Down

0 comments on commit b177118

Please sign in to comment.