Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Using web.py for network appliance, should I bother with a real web server?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan Shechter  
View profile  
 More options Oct 9 2012, 7:48 am
From: Dan Shechter <dans...@gmail.com>
Date: Tue, 9 Oct 2012 04:48:14 -0700 (PDT)
Local: Tues, Oct 9 2012 7:48 am
Subject: Using web.py for network appliance, should I bother with a real web server?

Hi All,

I have a network appliance I am developing which has CLI written in python
(cmd).

I want to add a web interface.

I plan to use ajax only, which means that the browser will get static pages
and use ajax (via RESTful web service over SSL) to retrieve data to
populate the pages.

But not only users will use the web service, I expect any other application
to use it to retrieve data using RESTful web services over SSL.

Here is my question:

Since _very_ few users will be using the web UI, I don't expect much load.
Do I need to bother to use a real web server or can I just use the built in
web server which is used for development?

Thanks, Dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alec Taylor  
View profile  
 More options Oct 9 2012, 8:24 am
From: Alec Taylor <alec.tayl...@gmail.com>
Date: Tue, 9 Oct 2012 23:05:52 +1100
Local: Tues, Oct 9 2012 8:05 am
Subject: Re: [webpy] Using web.py for network appliance, should I bother with a real web server?
You mention very few users.

I'm guessing also very little data?

Can we get some concrete figures?!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Shechter  
View profile  
 More options Oct 9 2012, 9:53 am
From: Dan Shechter <dans...@gmail.com>
Date: Tue, 9 Oct 2012 06:53:12 -0700 (PDT)
Local: Tues, Oct 9 2012 9:53 am
Subject: Re: Using web.py for network appliance, should I bother with a real web server?

On average 1 RESTful transaction per minute.

The maximal transaction will send 400K bytes. On average I expect to send
about 100K of data per transaction.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alec Taylor  
View profile  
 More options Oct 10 2012, 8:33 am
From: Alec Taylor <alec.tayl...@gmail.com>
Date: Wed, 10 Oct 2012 23:32:58 +1100
Local: Wed, Oct 10 2012 8:32 am
Subject: Re: [webpy] Re: Using web.py for network appliance, should I bother with a real web server?
Wow!

With that little use you'll be fine with web.py's server, or even
http://docs.python.org/library/basehttpserver.html


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shannon Cruey  
View profile  
 More options Oct 10 2012, 1:06 pm
From: Shannon Cruey <shannon.cr...@cloudsidekick.com>
Date: Wed, 10 Oct 2012 13:06:37 -0400
Local: Wed, Oct 10 2012 1:06 pm
Subject: Re: [webpy] Re: Using web.py for network appliance, should I bother with a real web server?

Agreed.  We're using the web.py built in server for a pretty robust
multiuser application and so far have had no problems.  Some pages perform
as many as 10 ajax requests to populate the page.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Shechter  
View profile  
 More options Oct 11 2012, 5:59 am
From: Dan Shechter <dans...@gmail.com>
Date: Thu, 11 Oct 2012 02:59:23 -0700 (PDT)
Local: Thurs, Oct 11 2012 5:59 am
Subject: Re: Using web.py for network appliance, should I bother with a real web server?

Thank you all.

I'll use the built in server.

Now since all of the pages will be static (dynamic content wil be ajaxed),
any suggestions regarding how to handle this?

I think to redirect /index.html to /static/index.html and make all internal
link relative to /static.

What do you think?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shannon Cruey  
View profile  
 More options Oct 11 2012, 10:34 am
From: Shannon Cruey <shannon.cr...@cloudsidekick.com>
Date: Thu, 11 Oct 2012 10:34:21 -0400
Local: Thurs, Oct 11 2012 10:34 am
Subject: Re: [webpy] Re: Using web.py for network appliance, should I bother with a real web server?

for this I'm using web.py templates, but only for one specific purpose - a
shared header and footer.  So all my pages are in templates and rendered
via the render() function.  Aside from that difference I'm like you... all
pages are static and content is ajax.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »