#234 isolate bcrypt to a microservice
- Status
- New
- Priority
- Normal
- Assigned to
- Volkan Ozcelik
- 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.
History
| 22 Jul 2018, 21:07 | Volkan Ozcelik submitted the bug |