Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8252671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:37:09+00:00 2026-06-08T00:37:09+00:00

I am creating a webservice in Python and I have a question. I want

  • 0

I am creating a webservice in Python and I have a question. I want to separate the user login user data. For this I am creating two different Python programs.

For example:
login.py -> localhost: 8080
userData.py -> localhost: 8081

My question is: how I can run these two programs on the same server? Is there a Python application server that is easy to use?

Thank you very much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:37:11+00:00Added an answer on June 8, 2026 at 12:37 am

    If the webserver is embedded in the application, you may want to use some “watchdog” application to start/stop/restart.

    Ubuntu uses upstart.

    I like to use supervisord for this as well.

    If the application supports some webserver integration protocol like FCGI or WSGI (python’s standard), you may want to deploy it using a webserver. I’ve used apache mod_wsgi for a long time, lately I tend to use nginx+uwsgi. Apache is a fine webserver, but nginx+wsgi scale better.

    [update]

    Applications use Bottle + PyMongo (MongoDB) What do you recommend to be scalable?

    First you should follow the advice on your framework documentation about deployment (bottle is not verbose about this subject, so I understand why you are asking).

    B1 comment is right. You definitely want to place the database and application on distinct servers.

    For maximum scalability with minimum fuzz you may want to look at some PasS provider like heroku, instructions here. This makes sense specially if you are a developer and not a system administrator.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is regarding the ASP.NET webservice that i am creating using the DAL-BLL
I have a question about manually creating a .Net webservice proxy class. The WSDL
I'm creating a webservice and I want to store the source on github and
I was wondering which thing is better from below two... retrieve data by creating
I'm creating some data as a string in a webservice and returning that string
I have a webservice with .NET 1.1 (old school ASMX) and I am creating
I want my .net2.0 webservice application to run on IIS7.0 under CLR4.0, Is this
I am running an automated install of webservice on server, creating user, creating site
i want to create a webservice (SOAP & REST) in python which cab be
I'm creating a webservice client. And I have the problem - in MainWindow.xaml there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.