Python Forum
Postgresql and Django Configuration with Wamp
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Postgresql and Django Configuration with Wamp
#4
(Mar-19-2017, 06:42 PM)nilamo Wrote: I don't... think that's true.  The built-in server is specifically only for development, for real-world usage isn't wsgi still the preferred method?
I think you misunderstand,it's of course WSGI all the way.
The build web-servers(Django,Flask..) is only for development local.
What i mean you can build test all local,when happy with result and want to deploy.
Then do not use the build in web-server anymore.

As i mention Gunicorn.
Quote:Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork worker model.
Gunicorn is a stand-alone WSGI web application server which offers a lot of functionality.
It's a production ready WSGI web-server.
Then is normal to Nginx in front,
as (reverse-proxy) server that handle the task of serving these files and managing connections (requests).
Nginx relieves a lot of the load from the application servers, granting you a much better overall performance.
Reply


Messages In This Thread
RE: Postgresql and Django Configuration with Wamp - by snippsat - Mar-19-2017, 07:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Connect to PostgreSQL Through Jump Server and SSH Tunnel using Python? nishans 1 1,135 Jan-02-2024, 10:37 AM
Last Post: khanzain
  Python modules for accessing the configuration of relevant paths Imago 1 1,409 May-07-2022, 07:28 PM
Last Post: Larz60+
  maintain a postgresql database using osm2pgsql apollo 1 2,349 Aug-03-2020, 10:33 PM
Last Post: Larz60+
  INI Configuration GUI goofygoo 4 4,610 Jul-19-2020, 08:47 PM
Last Post: goofygoo
  PostgreSQL psycopg2.errors.DuplicateColumn: column specified more than once rajnish_nationfirst 2 3,853 Jun-21-2020, 08:17 AM
Last Post: ibreeden
  StopIteration exception when mock PostgreSQL connection in several tests igor87z 1 2,963 Jun-10-2020, 06:16 PM
Last Post: ibreeden
  Read Yaml configuration file in Python binhduonggttn 1 2,109 Feb-11-2020, 05:43 AM
Last Post: ndc85430
  Python and Postgresql syntax select statement Nesreenmhd 1 5,033 Sep-07-2019, 06:08 PM
Last Post: ndc85430
  Create table with psycopg2 on postgreSQL DB yhecohen 2 3,363 Aug-23-2019, 05:56 AM
Last Post: massimo_m
  Error while fetching data from PostgreSQL linu 3 4,373 May-13-2019, 02:38 PM
Last Post: rxndy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020