---
title: "Melroy van den Berg (@melroy89) | Hashnode"
description: "Software Engineer. Read the latest articles by Melroy van den Berg on Hashnode."
url: "https://hashnode.com/@melroy89"
---

@melroy89

# Melroy van den Berg

@melroy89 · Joined December 2023

Software Engineer

## Comments

[You have a typo: "requests per second increase to approximately 25,567 at the 97.5th percentile." This is for 50th percentile. For 97.5th percentile you actually have 26,191!](https://hashnode.com/posts/how-to-make-your-nodejs-api-5x-faster-with-platformatic/653a4ec7a170ffcca0d38b93/comment/6606fbf1e319782b51150449)

Comment · Article · Mar 29, 2024 · [How To Make Your Node.js API 5x Faster With Platformatic](https://hashnode.com/posts/how-to-make-your-nodejs-api-5x-faster-with-platformatic/653a4ec7a170ffcca0d38b93)

[If you are more advanced... And understand the examples above. You could also checkout the Platformatic code, if you want to see a template style of implementing it, thus it can be used in a very general way: https://github.com/platformatic/platformatic/blob/b0cbad33354dacf2f018ddf4d62bee4f412b420c/packages/sql-mapper/lib/cache.js#L2 Then the setupCache method is used here: https://github.com/platformatic/platformatic/blob/b0cbad33354dacf2f018ddf4d62bee4f412b420c/packages/sql-mapper/mapper.js#L10](https://hashnode.com/posts/how-to-make-your-nodejs-api-5x-faster-with-platformatic/653a4ec7a170ffcca0d38b93/comment/65dc7afd2e8d35e063a47b49#reply-65f7a1803e29f61c5350ceeb)

Reply · Article · Mar 18, 2024 · [How To Make Your Node.js API 5x Faster With Platformatic](https://hashnode.com/posts/how-to-make-your-nodejs-api-5x-faster-with-platformatic/653a4ec7a170ffcca0d38b93)

[I guess implement the package yourself in your Fastify app: https://github.com/mcollina/async-cache-dedupe I guess just adding a cache behind each DB call? See some TS example code: https://github.com/mcollina/async-cache-dedupe?tab=readme-ov-file#typescript Here another example implementation: https://github.com/Shyam-Chen/Fastify-Starter/blob/a1746035a40bf49d5d095b0b2c16cfa5e2493a40/app/src/routes/hello-world/caching-dedupe/%5Bid%5D-redis/%2Bhandler.ts#L4](https://hashnode.com/posts/how-to-make-your-nodejs-api-5x-faster-with-platformatic/653a4ec7a170ffcca0d38b93/comment/65dc7afd2e8d35e063a47b49#reply-65f79e633e29f61c5350cee6)

Reply · Article · Mar 18, 2024 · [How To Make Your Node.js API 5x Faster With Platformatic](https://hashnode.com/posts/how-to-make-your-nodejs-api-5x-faster-with-platformatic/653a4ec7a170ffcca0d38b93)

[Well.. Try to use SWC! You can even use SWC with ts-node/esm if you wish. Much faster build times. like 30-40x faster!](https://hashnode.com/posts/how-to-unlock-the-fastest-fastify-server-startup/63070d0f0e45d758b7f81b7e/comment/65cad74b8fdcbd0bc8a035d6#reply-65f79634a6b5be144ccb45cb)

Reply · Article · Mar 18, 2024 · [How to unlock the fastest Fastify server startup?](https://hashnode.com/posts/how-to-unlock-the-fastest-fastify-server-startup/63070d0f0e45d758b7f81b7e)

[Also... when using TS try to use SWC compiler, which is like 50 times faster than tsc. Boosting your rabbit development cycle!](https://hashnode.com/posts/how-to-unlock-the-fastest-fastify-server-startup/63070d0f0e45d758b7f81b7e/comment/65f795fbb3e75afd02459630)

Comment · Article · Mar 18, 2024 · [How to unlock the fastest Fastify server startup?](https://hashnode.com/posts/how-to-unlock-the-fastest-fastify-server-startup/63070d0f0e45d758b7f81b7e)
