Skip to content

Commit

Permalink
Improve Transaction Performance
Browse files Browse the repository at this point in the history
We relied on the resource cache to transfer resources from the submit
side of the transaction handling to the resource indexing side. However
a cache isn't well suited to hold entries that aren't already accessed.
So the hit ratio wasn't near 100 % as it should for this use case.

To improve on this situation, we now maintain a separate resource cache
in the database node.

Also did many more improvements and updates.
  • Loading branch information
alexanderkiel committed Apr 27, 2021
1 parent b2026b8 commit fb94b62
Show file tree
Hide file tree
Showing 68 changed files with 7,583 additions and 858 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup clj-kondo
uses: DeLaGuardo/setup-clj-kondo@master
with:
version: '2021.03.31'
version: '2021.04.23'

- name: Check out Git repository
uses: actions/checkout@v2.3.4
Expand Down Expand Up @@ -56,8 +56,9 @@ jobs:

steps:
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}

- name: Setup Clojure
Expand All @@ -66,7 +67,7 @@ jobs:
tools-deps: '1.10.3.822'

- name: Cache Local Maven Repo
uses: actions/cache@v2.1.4
uses: actions/cache@v2.1.5
with:
path: |
~/.m2/repository
Expand Down Expand Up @@ -112,8 +113,9 @@ jobs:

steps:
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Setup Clojure
Expand All @@ -122,7 +124,7 @@ jobs:
tools-deps: '1.10.3.822'

- name: Cache Local Maven Repo
uses: actions/cache@v2.1.4
uses: actions/cache@v2.1.5
with:
path: |
~/.m2/repository
Expand Down Expand Up @@ -154,8 +156,9 @@ jobs:

steps:
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}

- name: Setup Clojure
Expand All @@ -164,7 +167,7 @@ jobs:
tools-deps: '1.10.3.822'

- name: Cache Local Maven Repo
uses: actions/cache@v2.1.4
uses: actions/cache@v2.1.5
with:
path: |
~/.m2/repository
Expand Down Expand Up @@ -230,8 +233,9 @@ jobs:
uses: actions/checkout@v2

- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11

- name: Download Synthea
Expand Down
Loading

0 comments on commit fb94b62

Please sign in to comment.