Open ppKrauss opened 7 years ago
That's an idea for the next round of benchmarks.
Hi, thanks @squeaky-pl Ok, I will wait to the next round!
Another simple and relevant benchmark is the database conection: a lot of complex applications need "light endpoint" infrastruture to run faster database's stored procedures... And REST microservices returning and consuming fast JSON of PostgreSQL 9.5+ procedures/functions is my dream ;-)
This kind of "100% database-returning-JSON" application can be used as complete benchmark (a little set of microservices), and a permanent (useful and perhaps sponsored by OKBr) demonstration of Japronto...
The Japronto will be used only as database middleware: the less it appears, the better it will show!
Please excuse my random references to this issue -- was referencing the incorrect issue in my commit messages and pull request title.
Can I talk here about use cases for benchmak?
To show performance in real world applications, the REST endpoint need some authentication control... The most recommended today is the JSON Web Token Authentication. Testing performance in a simple GET (with a header transporting the token) will be a good use case. For instance a endpoint that returns a random non-zero number when token is valid, 0 when not.