delimitrou / DeathStarBench

Open-source benchmark suite for cloud microservices
Apache License 2.0
752 stars 419 forks source link

Hotel Reservation not working for openshift routes #216

Closed vishnuchalla closed 2 years ago

vishnuchalla commented 2 years ago

Description

In the below command: /wrk -D exp -t 10 -c 10 -d 60 -L -s ./scripts/hotel-reservation/mixed-workload_type_1.lua <openshift-route> -R 10 if we provide an openshift route the metrics shows all non 2xx or 3xx responses. Not even a single request is getting processed.

Related Logs:

Screenshot from 2022-07-13 15-18-48

And also a curl command for the endpoint works fine. For example: curl -v -i -H "Content-Type: application/x-www-form-urlencoded" "http://frontend-route-hotel-res.apps.vchalla-perfscale.perfscale.devcluster.openshift.com/recommendations?require=dis&lat=37.7879&lon=-122.4075"

Success response:

Screenshot from 2022-07-13 15-21-48

But when it comes to a service it works fine. We are unable to figure out the root cause of this issue. We suspect it has something to do with the C language implementation that is done to make the HTTP requests via a route. Please let us know the root cause of this issue and we would kindly request you to prioritize this.