File tree Expand file tree Collapse file tree 5 files changed +41
-8
lines changed Expand file tree Collapse file tree 5 files changed +41
-8
lines changed Original file line number Diff line number Diff line change 22Changelog
33=========
44
5- Next release
6- ============
5+ Version 0.3.0
6+ =============
7+
8+ Breaking changes
9+ ****************
10+
11+ - The variables exposed on the metrics endpoint were seriously refactored. The following metrics
12+ were removed:
13+ * pyaleph_processing_pending_messages_gtasks_total
14+ * pyaleph_processing_pending_messages_action_total
15+ * pyaleph_processing_pending_messages_messages_actions_total
16+ * pyaleph_processing_pending_messages_i_total
17+ * pyaleph_processing_pending_messages_j_total
18+ - The `allow_amend ` and `code.comment ` fields are now mandatory for PROGRAM messages.
19+
20+ New features
21+ ************
22+
23+ - Users can now query the programs that respond to Aleph messages using the new /programs/on/messages endpoint.
24+ - Users can now forget aggregates by specifying one or more aggregate keys in the `aggregates ` field
25+ of the FORGET message.
26+ - The message processing loop was heavily refactored. Users can now set parallel processing
27+ limits by message type to tune the CCN to their network abilities.
28+ - A lot of improvements were made regarding code quality, by validating user data earlier in the process and using
29+ classes after the validation. This results in minor performance improvements and increases maintainability of
30+ the code base.
31+ - We now use rotating log files. This resolves an issue where nodes could go out of disk space because of the size of
32+ the log files.
33+ - Resolved a 500 error that occurred when feeding an invalid hash format to /storage/raw/{hash}.
34+
35+
36+ Internal changes
37+ ****************
738
8- - Breaking change: the "pyaleph_processing_pending_messages_action_total" and
9- "pyaleph_processing_pending_messages_action_total" values are no longer part of the metrics.
39+ - A lot more tests!.
40+ - The throughput of the TXs and message processing loops was improved. The jobs are now guaranteed to execute
41+ the same number of tasks over time, instead of a varying amount before.
42+ - We now use unordered bulk inserts when writing to the DB. This potentially improves performance.
1043
1144Version 0.2.1
1245=============
Original file line number Diff line number Diff line change 77services :
88 pyaleph :
99 restart : always
10- image : alephim/pyaleph-node:latest
10+ image : alephim/pyaleph-node:v0.3.0
1111 command : --config /opt/pyaleph/config.yml --key-dir /opt/pyaleph/keys -v
1212 ports :
1313 - " 127.0.0.1:8000:8000/tcp"
Original file line number Diff line number Diff line change 99services :
1010 pyaleph :
1111 restart : always
12- image : alephim/pyaleph-node:latest
12+ image : alephim/pyaleph-node:v0.3.0
1313 command : --config /opt/pyaleph/config.yml --key-dir /opt/pyaleph/keys -vv
1414 ports :
1515 - " 127.0.0.1:8000:8000/tcp"
Original file line number Diff line number Diff line change 293293
294294
295295rst_epilog = """
296- .. |pyaleph_version| replace:: v0.2.1
296+ .. |pyaleph_version| replace:: v0.3.0
297297"""
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def get_defaults():
1717 "jobs" : {
1818 "pending_messages" : {
1919 "max_concurrency" : 2000 ,
20- "store" : 100 ,
20+ "store" : 30 ,
2121 },
2222 "pending_txs" : {
2323 "max_concurrency" : 20 ,
You can’t perform that action at this time.
0 commit comments