-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor async writer for MAM #3216
Conversation
small_tests_24 / small_tests / 97052e4 small_tests_22 / small_tests / 97052e4 internal_mnesia_24 / internal_mnesia / 97052e4 dynamic_domains_24 / pgsql_mnesia / 97052e4 dynamic_domains_23 / pgsql_mnesia / 97052e4 small_tests_23 / small_tests / 97052e4 ldap_mnesia_24 / ldap_mnesia / 97052e4 ldap_mnesia_22 / ldap_mnesia / 97052e4 pgsql_mnesia_22 / pgsql_mnesia / 97052e4 ldap_mnesia_23 / ldap_mnesia / 97052e4 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 97052e4 mysql_redis_24 / mysql_redis / 97052e4 mam_SUITE:rdbms_async_cache_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok,ok]\n"}} pgsql_mnesia_24 / pgsql_mnesia / 97052e4 mssql_mnesia_24 / odbc_mssql_mnesia / 97052e4 pgsql_mnesia_23 / pgsql_mnesia / 97052e4 riak_mnesia_24 / riak_mnesia / 97052e4 |
Codecov Report
@@ Coverage Diff @@
## master #3216 +/- ##
==========================================
+ Coverage 80.20% 80.31% +0.11%
==========================================
Files 398 398
Lines 32517 32505 -12
==========================================
+ Hits 26081 26108 +27
+ Misses 6436 6397 -39
Continue to review full report at Codecov.
|
97052e4
to
3f04b58
Compare
small_tests_22 / small_tests / 3f04b58 dynamic_domains_24 / pgsql_mnesia / 3f04b58 dynamic_domains_23 / pgsql_mnesia / 3f04b58 small_tests_23 / small_tests / 3f04b58 ldap_mnesia_22 / ldap_mnesia / 3f04b58 ldap_mnesia_24 / ldap_mnesia / 3f04b58 ldap_mnesia_23 / ldap_mnesia / 3f04b58 pgsql_mnesia_22 / pgsql_mnesia / 3f04b58 elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 3f04b58 pgsql_mnesia_24 / pgsql_mnesia / 3f04b58 pgsql_mnesia_23 / pgsql_mnesia / 3f04b58 mysql_redis_24 / mysql_redis / 3f04b58 mssql_mnesia_24 / odbc_mssql_mnesia / 3f04b58 riak_mnesia_24 / riak_mnesia / 3f04b58 |
No message_queue_len call on each archived message Just do cast Store messages off the heap Remove modMamDropped2 metric
3f04b58
to
cf5ca0f
Compare
small_tests_24 / small_tests / cf5ca0f internal_mnesia_24 / internal_mnesia / cf5ca0f dynamic_domains_24 / pgsql_mnesia / cf5ca0f small_tests_22 / small_tests / cf5ca0f dynamic_domains_23 / pgsql_mnesia / cf5ca0f small_tests_23 / small_tests / cf5ca0f ldap_mnesia_24 / ldap_mnesia / cf5ca0f ldap_mnesia_22 / ldap_mnesia / cf5ca0f ldap_mnesia_23 / ldap_mnesia / cf5ca0f elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / cf5ca0f pgsql_mnesia_24 / pgsql_mnesia / cf5ca0f mysql_redis_24 / mysql_redis / cf5ca0f pgsql_mnesia_22 / pgsql_mnesia / cf5ca0f pgsql_mnesia_23 / pgsql_mnesia / cf5ca0f mssql_mnesia_24 / odbc_mssql_mnesia / cf5ca0f riak_mnesia_24 / riak_mnesia / cf5ca0f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Load tests show a slight increase in performance and the batches are not lost somehow, maybe because of the removed spawn_monitor
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this one too very much as well. The off-heap strategy is a brilliant tiny detail, and nice removing of more spawns 👌🏽
This PR addresses "some old ugly code is a bit prettier now".
Proposed changes include: