#234

New

isolate bcrypt to a microservice

Reported by Volkan Ozcelik on JavaScript: from Zero to Hero · 23/07/2018 06:07:52

Assigned to:
Volkan Ozcelik
Priority:
Normal
Status:
New
Category:
Lessons
Version:
None

“Just for the record: bcrypt is very CPU-intensive. If you realize that it’s causing event-loop delay, or otherwise any slowdown in concurrent connections, I’d isolate that part as a microservice (nanoservice?) and run it on a separate server, or on a lambda faas instance etc.”

^ I comment I shared in a separate slack channel. — that can be an “advanced use case” lesson too.

I mean, refactoring CPU-intensive parts of your code as a nano service.

I’ll create a ticket for that.

Attachments

No attachment has been uploaded, yet.


Loading comments...