Skip to content
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

perf: improve performance and modify some abci #287

Merged
merged 40 commits into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
208ceef
feat: more prometheus metrics for monitoring performance (#146) (#175)
Mar 4, 2021
727f843
chore: config timeout and connection pool (#150) (#171)
Feb 3, 2021
1cf27a5
fix: use line/tm-db instead of tendermint/tm-db
Jul 7, 2021
dce3c03
bump up tm-db, iavl; re-apply #201
Jul 7, 2021
04c5f31
chore: use default db backend among the available ones (#212)
Apr 6, 2021
877e670
feat: concurrent checkTx #213; fix tm-db call
Jul 7, 2021
5c8e180
fix: rename TM to OC
Jul 7, 2021
39067a6
fix: modify key name; tendermint -> ostracon
Jul 7, 2021
7ea6e35
chore: rename tendermint to ostracon
Jul 8, 2021
800cab3
chore: remove mempool.postCheck (#158) (#217)
Apr 16, 2021
05becb8
fix: revise to call Begin/EndRecheck even though mem.Size() is 0 (#219)
Apr 19, 2021
1221fe7
feat: concurrent recheckTx (#163) (#221)
Jul 8, 2021
94c8980
chore: increase the value of maxPerPage (#223)
Apr 27, 2021
7da95d6
chore: fix the type of consensus_block_interval_seconds from histogra…
Apr 27, 2021
4417941
feat: impl checkTxAsyncReactor() (#168) (#225)
Apr 28, 2021
e47f13d
chore: revise abci.Client, Async() interfaces (#169) (#226)
Apr 29, 2021
1413661
chore: remove iavl dependency (#228)
Apr 29, 2021
0ed36c7
fix: add more fixing for abci.Client, Async()
Jul 8, 2021
720052e
feat: revise metric for measuring performance
Jul 8, 2021
1a500f9
build: remove needless build tag `!libsecp256k1` (#246)
May 12, 2021
ceec05b
feat: add duration metrics of gauge type (#256)
May 17, 2021
162c63c
perf: optimize checking the txs size (#264)
Jun 4, 2021
50cffac
perf: do not flush wal when receive consensus msgs (#273)
Jun 10, 2021
5a06c8d
Merge branch 'main' of github.com:line/ostracon into merge_ebony_to_main
Aug 9, 2021
c755946
fix: ci failure
Aug 9, 2021
5df13f2
fix: lint failure
Aug 9, 2021
977def3
fix: ci-e2e build failure
Aug 11, 2021
ba7a3d0
fix: bump up tm-db
Aug 23, 2021
93534f4
Merge branch 'main' of github.com:line/ostracon into merge_ebony_to_main
Aug 23, 2021
e9d619a
fix: missing abci api
Aug 24, 2021
36a5be6
fix: bump up tm-db; use memdb
Aug 24, 2021
59e7bc7
test: add test case to raise test coverage
Aug 24, 2021
b3e4dba
fix: race error
Aug 24, 2021
9b49721
fix: race error
Aug 24, 2021
03a1d83
fix: race error
Aug 24, 2021
9a37eb9
fix: increase e2e test timeout
Aug 24, 2021
4f184f7
fix: add test case for coverage
Aug 24, 2021
dec7021
fix: e2e docker file
Aug 24, 2021
b229947
fix: apply comments
Aug 25, 2021
c8cbd4b
fix: a Ostracon to an Ostracon
Aug 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: ci-e2e build failure
  • Loading branch information
egonspace committed Aug 11, 2021
commit 977def39c989469764877b49d1139a21a8abcbde
2 changes: 0 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
name: Test Coverage
env:
GOPRIVATE: "github.com/line/*"
on:
pull_request:
push:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build & Push
# Build & Push rebuilds the ostracon docker image on every push to master and creation of tags
# and pushes the image to https://docker-registry.linecorp.com/link-network/v2/lbm
env:
GOPRIVATE: "github.com/line/*"
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
on:
pull_request:
push:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Lint
# Lint runs golangci-lint over the entire Ostracon repository
# This workflow is run on every pull request and push to master
# The `golangci` job will pass without running if no *.{go, mod, sum} files have been modified.
env:
GOPRIVATE: "github.com/line/*"
on:
pull_request:
push:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Tests
# Tests runs different tests (test_abci_apps, test_abci_cli, test_apps)
# This workflow runs on every push to master or release branch and every pull requests
# All jobs will pass without running if no *{.go, .mod, .sum} files have been modified
env:
GOPRIVATE: "github.com/line/*"
on:
pull_request:
push:
Expand Down
11 changes: 9 additions & 2 deletions test/e2e/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# We need to build in a Linux environment to support C libraries, e.g. RocksDB.
# We use Debian instead of Alpine, so that we can use binary database packages
# instead of spending time compiling them.
# instead of spending time compiling them.
# -> There is currently no librocksdb-dev v6.17.x that is necessary by line/gorocksdb.
tnasu marked this conversation as resolved.
Show resolved Hide resolved
# So we download rocksdb and build it.

FROM golang:1.15

RUN apt-get -qq update -y && apt-get -qq upgrade -y >/dev/null
RUN apt-get -qq install -y libleveldb-dev librocksdb-dev >/dev/null
RUN apt-get -qq install -y libleveldb-dev make libc-dev >/dev/null
WORKDIR /
RUN wget -O rocksdb-v6.20.3.tar.gz https://github.com/facebook/rocksdb/archive/v6.20.3.tar.gz
RUN tar -zxvf rocksdb-v6.20.3.tar.gz
RUN cd rocksdb-6.20.3 && make -j2 shared_lib && make install-shared
tnasu marked this conversation as resolved.
Show resolved Hide resolved

# Set up build directory /src/ostracon
ENV OSTRACON_BUILD_OPTIONS badgerdb,boltdb,cleveldb,rocksdb
Expand Down