<commit_before>= Concurrent transactions, their tests and fixes
alesj
2014-09-23
:revdate: 2014-09-23 12:04:00 +0100
:awestruct-tags: [announcement, release]
:awestruct-layout: news
:source-highlighter: coderay

While playing with some Endpoints GAE example app, I noticed our non-XG transactions weren’t following the concurrent threads limits -- only one transaction per entity group allowed. This quickly shows how you easily miss things when you don’t have proper tests.

In our case setting this concurrency contention is not as easy as it sounds. But … luckily at JBoss we have a tool called Byteman, which is exactly what we’re looking for (and it even came from initially testing concurrency on transactions).

And, as I expected from Aslak, Arquillian already had Byteman support integrated. OK, to be honest, it did need some minor changes to make it work as expected. :-)

Here is the latest download:

 - http://download.jboss.org/capedwarf/CapeDwarf_WildFly_2.0.0.CR4.zip

The release notes:

 - https://issues.jboss.org/secure/ReleaseNote.jspa?projectId=12311321&version=12324925

And the mentioned GAE TCK concurrent transactions tests:
 - https://github.com/GoogleCloudPlatform/appengine-tck/tree/master/core/byteman/src/test/java/com/google/appengine/tck/byteman

Feedback welcome as always!<commit_msg>Add space.<commit_after>= Concurrent transactions, their tests and fixes
alesj
2014-09-23
:revdate: 2014-09-23 12:04:00 +0100
:awestruct-tags: [announcement, release]
:awestruct-layout: news
:source-highlighter: coderay

While playing with some Endpoints GAE example app, I noticed our non-XG transactions weren’t following the concurrent threads limits -- only one transaction per entity group allowed. This quickly shows how you easily miss things when you don’t have proper tests.

In our case setting this concurrency contention is not as easy as it sounds. But … luckily at JBoss we have a tool called Byteman, which is exactly what we’re looking for (and it even came from initially testing concurrency on transactions).

And, as I expected from Aslak, Arquillian already had Byteman support integrated. OK, to be honest, it did need some minor changes to make it work as expected. :-)

Here is the latest download:

 - http://download.jboss.org/capedwarf/CapeDwarf_WildFly_2.0.0.CR4.zip

The release notes:

 - https://issues.jboss.org/secure/ReleaseNote.jspa?projectId=12311321&version=12324925

And the mentioned GAE TCK concurrent transactions tests:

 - https://github.com/GoogleCloudPlatform/appengine-tck/tree/master/core/byteman/src/test/java/com/google/appengine/tck/byteman

Feedback welcome as always!
{'fraction_non_alphanumeric': 0.07543593631539044, 'fraction_numerical': 0.034874905231235785, 'mean_word_length': 4.838495575221239, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3859720', 'n_tokens_mistral': 839, 'n_tokens_neox': 759, 'n_words': 306}