question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment recommandation (use case : restful api)

See original GitHub issue

Hi,

We have added bottle to our benchmark, but I can see that there is plenty of deployment options https://bottlepy.org/docs/dev/deployment.html#switching-the-server-backend

Because I use to work with gunicorn, I’ve just implemented gunicorn + meinheld.

Do you have any recommendation according to server backend option ?

Regards,

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
defnullcommented, Sep 5, 2018

You can have a look at https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Python/bottle for inspiration. They use gunicorn+meinheld (or tornado in a pypy environment) and their setup is pretty much optimized.

0reactions
waghanzacommented, Sep 7, 2018

@agalera I observer a sligh increase with meinheld pacthing 👍

Framework Average 50th percentile 90th percentile 99th percentile 99.9th percentile Standard deviation Requests / s Throughput
bottle without patch 22.20 ms 18.46 ms 36.79 ms 65.80 ms 258.73 ms 13185.33 47305.00 116.32 MB
flask without patch 54.14 ms 51.70 ms 65.02 ms 129.30 ms 792.09 ms 33975.67 18632.00 45.79 MB
bottle with patch 24.13 ms 16.22 ms 41.84 ms 109.57 ms 411.66 ms 22470.67 46868.00 115.21 MB
flask with pacth 54.69 ms 47.05 ms 77.58 ms 125.59 ms 727.20 ms 28636.33 18248.33 44.84 MB
Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Case: Hosting RESTful APIs
This use case describes how to host RESTful APIs for consumption by external callers using iWay Integration Tools (iIT). This enables an application...
Read more >
Deploying a REST API in Amazon API Gateway
In this section, we discuss how to deploy an API by using the API Gateway console or calling the API Gateway REST API....
Read more >
16 REST API design best practices and guidelines - TechTarget
These REST API design guidelines, from using common HTTP protocols and nested hierarchies ... broken integrations and ill-fitted use cases.
Read more >
Machine Learning Model Deployment as REST API in Four ...
While there are various ways to achieve it, in this blog I am going to take you through steps of deploying machine learning...
Read more >
Confluent REST API Production Deployment
What are the courses? Video courses covering Apache Kafka basics, advanced concepts, setup and use cases, and everything in between. ... Design. Build....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found