Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fbiville/concurrent-merge
https://github.com/fbiville/concurrent-merge
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fbiville/concurrent-merge
- Owner: fbiville
- License: apache-2.0
- Created: 2023-11-20T10:55:27.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-11-20T10:55:44.000Z (12 months ago)
- Last Synced: 2024-10-09T07:23:05.707Z (about 1 month ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Concurrent `MERGE`
First, spin up a Neo4j server:
```shell
docker run --rm \
--env NEO4J_AUTH='neo4j/letmein!' \
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
--publish=7687:7687 --publish=7474:7474 \
--health-cmd "cypher-shell -u neo4j -p 'letmein!' 'RETURN 1'" \
--health-interval 5s \
--health-timeout 5s \
--health-retries 5 \
neo4j:5-enterprise
```Then run at least two processes in "parallel":
```shell
go run main.go -uri=neo4j://localhost -password='letmein!' -goroutine-count=1000 &
go run main.go -uri=neo4j://localhost -password='letmein!' -goroutine-count=1000 &
```