Is io.jsonwebtoken thread safe?
I went through the documentation of jwt and implemented a login module which uses jwt to fulfill my authentication and authorisation. The problem is now my module is high load input module where concurrent users will access the module at a time, so I want to know whether jwt is thread safe. If it is not thread safe, what kind of technique can I use to make thread safe and NOT
coarse-grained synchronisation? So, both are important for me.
Is io.jsonwebtoken is thread safe?
I have went through the documentation of jwt and implemented a login module which uses jwt to fulfil my authentication and authorisation. The problem is now, my module is high load input module where concurrent users will access the module at a time, So i want to know that jwt is thread safe? If it is not thread safe, what kind of technique i can use to make thread and NOT
coarse-grained synchronisation. So, both are important for me.