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

Update ioredis.md #2414

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Update ioredis.md #2414

merged 1 commit into from
Aug 29, 2023

Conversation

LorianeE
Copy link
Collaborator

@LorianeE LorianeE commented Aug 25, 2023

Information

Type Breaking change
Doc No

Todos

  • Tests
  • Coverage
  • Example
  • Documentation

@LorianeE LorianeE requested a review from Romakita August 25, 2023 13:47
@github-actions
Copy link

Benchmarks

  • Machine: linux x64 | 2 vCPUs | 6.8GB Mem
  • Node: v16.20.2
  • Run: Fri Aug 25 2023 13:58:45 GMT+0000 (Coordinated Universal Time)
  • Method: autocannon -c 100 -d 10 -p 10 localhost:3000 (two rounds; one to warm-up, one to measure)
Version Router Requests/s Latency Throughput/Mb
fastify 3.29.4 58044.8 16.74 10.35
nest-fastify 8.4.3 52688.0 18.49 9.40
koa 2.13.4 44534.4 21.96 7.94
fastify-injector 3.29.4 30459.2 32.35 6.94
express 4.18.1 11717.5 84.56 2.09
fastify-big-json 3.29.4 10961.6 90.50 126.13
tsed-koa 7.34.6 10790.2 91.82 9.43
nest 8.4.3 10556.0 93.91 2.54
express-injector 4.18.1 9561.4 103.72 2.18
tsed-express 7.34.6 8745.0 113.33 1.60
express-morgan 4.18.1 7185.2 138.58 1.28

Explanation

The benchmark shows a performance difference between the frameworks. We note that Ts.ED is often last. In fact, Ts.ED uses features useful to a production application which reduce its performance.

For example, Ts.ED initializes a sandbox (async_hook) for each request in order to work in an isolated context if necessary.
It also initializes the elements necessary for monitoring requests in a log manager.

All this at a necessary cost that reflects the reality of a production application ;)

@Romakita Romakita merged commit c11ff8f into production Aug 29, 2023
33 checks passed
@Romakita Romakita deleted the fix-redis-tutorial-typos branch August 29, 2023 05:31
@Romakita
Copy link
Collaborator

Romakita commented Sep 2, 2023

🎉 This PR is included in version 7.34.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Romakita
Copy link
Collaborator

Romakita commented Sep 6, 2023

🎉 This PR is included in version 7.35.0-beta.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants