Hacker News new | ask | show | jobs
by pron 1515 days ago
https://github.com/ebarlas/project-loom-comparison
2 comments

Shouldn’t you be able to send authorization and authentication requests in parallel in the async and virtual threads cases?
It is just an example so they could do anything.

But in the real world it is common to need information from the authorization stage to use in the authentication stage. For example you may have a user login with an email address/password which you then pass to an LDAP server in order to get a userId. This userId is then used in a database to determine with objects/groups they have access to.

A lower latency design would be for the authorization service to be able to work with either. That way those requests could be done in parallel to reduce latency.
Thx, I'm missing bandwidth and latency in those graphs.