I want to host my website in my raspberry pi, I’ve read that I would need a web server software for this. Which one do you recommend? It won’t be a complex website.

@[email protected]
creator
link
fedilink
English
12Y

How is the performance compared to nginx or apache?

@[email protected]
link
fedilink
English
22Y

I imagine you’d probably put Flask behind nginx. At least in Ruby (another interpreted language) I don’t want all requests hitting the framework.

@[email protected]
creator
link
fedilink
English
12Y

I currently read that Flask is not good for production. They say I can use something like waitress. If possible I’d use something like that over nginx for simplicity’s sake.

@[email protected]
link
fedilink
English
02Y

Much lower and you shouldn’t care. As long as you’re serving less than one request per second, you will not need to care about performance. If you do, sanic and vibora are drop-in flask replacements and they are both much more performant.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

> Any issues on the community? Report it using the report flag.

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog