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

chore(server): add a benchmark script #241

Merged
merged 1 commit into from
Nov 12, 2021

Conversation

samuelmasse
Copy link
Contributor

Adds a script to benchmark the message creation route.

@laurentlp
Copy link
Contributor

@samuelmasse What is the need behind this script?

@samuelmasse
Copy link
Contributor Author

@laurentlp I previously ran this benchmark to get a rough idea of how fast messaging is on my pc. Then I made the fix #240 that adds two pub call to redis for each message that gets sent and I wanted to test if this had a performance impact. Turns out it doesn't redis is super fast.

@samuelmasse samuelmasse merged commit f7898aa into sm-fix-response-to-other-node Nov 12, 2021
@samuelmasse samuelmasse deleted the sm-benchmark-script branch November 12, 2021 20:53
samuelmasse added a commit that referenced this pull request Nov 22, 2021
* fix converse

* unsubscribe

* publish

* small refactor

* fix socket

* remove todo

* fix

* remove changes to api.rest

* add benchmark script (#241)

* chore(engine): create engine package

* base service class in engine

* move table to engine

* move distributed and logger to engine

* move database service

* move crypto service

* move caching service

* move batching

* fix

* move meta service

* fix meta

* move migrations

* engine class

* fix build

* move kvs

* move global config

* fix tests

* dispatcher

* converse use dispatcher

* dispatcher for socket

* add more typings

* include scope in callback

* listen -> subscribe

* redis handle callback errors

* prevent promise rejection cache

* fix

* fix for local

* send -> publish

* data -> payload

* fix Dockerfile

* fix test

Co-authored-by: Laurent Leclerc-Poulin <laurentleclercpoulin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants