Can cherrypy handle say 5,000 requests a minute for an eCommerce website? - cherrypy

I know this question is one step above 'how can I speed up my website' but I've looked around at sites powered by cherrypy and didn't find any eCommerce sites. We began working on a demo website using cherrypy and jinja2 as a proof of concept before we begin a rewrite of our current site. So maybe others have tried and could save us the attempt if in fact it is not feasible.
Thanks,
Andrew

3 per minute? Heck, it could do that from my netbook. 5,000 per minute? Yes, with a little load balancing. 5,000 per second would be a stretch.

Related

How much bandwith is needed for my website

i have a website what can be used by 50 users at the same time. Those users will be in the same room.
My problem is to know how much bandwith (in Mb/s) do I need to rent for that room so that they can access my website comfortably (speed up and down) ?
The average page size of my website is 1MB.
I searched for answers on the internet and all I got was bandwith used in a month (for servers).
Sorry if my question is "vague", I did my best to make it clear.
Thank you in advance for your answers.
Using https://gtmetrix.com/ you can test your websites speed, page size, and load times
There are several alternatives you just have to do the research
The more important issue you should focus on is why your page is 1Mb that should be your first priority to resolve and using tools like gtmetrix can help
I recommend load testing your site to figure that out. If you're at all familiar with JMeter, you can use it to create a script that simulates a user navigating your site, then run multiple instances of that user (in your case, 50) to see how the site holds up under load.
You can learn more about JMeter here:
https://jmeter.apache.org/
If you're not familiar with creating JMeter scripts, you can record and auto-generate basic scripts using the Blazemeter Chrome Extension, here.
For low-load testing (50 users is pretty low), you can upload your JMeter script to Blazemeter, and with a free tier Blazemeter account, you can perform some basic tests to see how your site holds up. If you go that route, I recommend focusing on avg. response time and hits/second in order to determine what your bandwidth need truly is under load.

Things to consider before launching a BIG website?

I’m about to launch a classifieds website like gumtree and OLX in South Africa…., but it’s not gonna be as big as Gumtree or OLX obviously. It’s going to operate in one province…planning to expand it over time.
The site works like a charm on my local machine, but I’m concerned coz I’ve never launched a big website before. Plus, I just graduated from University this year – no work experience. But I’m positive that if Facebook and Twitter were built by students, I too can build my own thing and run it successfully.
Are there any key issues to take into consideration before launching a big website ?
There is probably more to consider but I here are a few
Hire a lawyer and get a terms and conditions for your site with proper legality. You dont want to short yourself on this.
Get a decent backup and restore solution that you test and make sure that it works. Remember if you have paying clients with your site there will be implications for down time.
Get a security certificate https://
Know what you paying with your hosting solution. If your traffic does spike you could be in for a very large bill that you cant afford. And if you dont have scaling your site might run really slow. So get to know your hosting solution really well.
Good luck

Video and Song Streamming website development

Guys I need your help here,
I got a new project in PHP to make a website, basic functionality will be : admin can upload songs and videos from backend. Frontend will display songs and videos, categories and other music related stuffs. I ll be using CI or CakePHP but my main concern is about hosting. Traffic will be 5K users per day. Now what is the best hosting solution, where users will stream songs and videos online. Do I need to buy dedicated server or cloud or VPS will do?
Also if you have made this kind of website then suggest me some guidlines.
For a daily 5K users, it will always be better to go for dedicated as it is a server solely for you. So if tomorrow the number of viewers increase you wouldn't have to face any slow loading times (as in cloudhosting) and create a bad impression for users who would also leave your site and not return.

Using Nodejs for writing a web application

I am considering developing a web site which has many characteristics of a social networking site. The website, I am considering will have a lot of apps, which will interact with the database, and also, scraping other websites for information and a multiuser chat. Also, it will feature a forum, blog, and other similar CRUD applications. The key things I am looking at is
Response time
Max number of developers may be 1 to 3 during the initial stages
I expect the website to scale up to around 1000 concurrent users in a year, and then hopefully an exponential growth.
The users are expected to spend a lot of time, in the site.
With this requirements in mind, I looked at Django, and Web2Py, since I am knowledgable in Python. It fits the bill mostly, but, I am concerned about the scalability, and as it scales, I will require more servers to be added. This means, additional cost, and I don't have any ideas to monetize the app in the near future for various reasons. So, I have to be satisfied with a limited amount of resources.
Can you kindly advice me?
Thx
Ik
From what you had described, Node.js is perfect. Not only does it have a low memory footprint and can it handle thousands of concurrent clients out of the box, but you can definitely use it for scraping websites (see this and this), creating chats (check nodechat and this other nice tutorial)
The respond time depends on your application, but if you code the right way (don't block the event loop of Node.js, keep you 'heavy-lifting' outside the server process) Node.js is really fast.
This depends on you, but consider Node.js is JavaScript on the server-side, so there is already a great pool of developers that already know JS and could learn Node.js specific things fast.
There were some official benchmarks on the nodejs blog some weeks ago, look here: http://blog.nodejs.org/2011/11/05/node-v0-6-0/ A simple server with Node.js can handle 5-6 thousands of requests per second, so you can imagine that's really something.
Spending a lot of time on the site means that they'll be making many requests, so look at my point above 3).
http://highscalability.com/blog/2011/2/22/is-nodejs-becoming-a-part-of-the-stack-simplegeo-says-yes.html
Scaling node.js

How to determine the most frequently visited routes through a web site by visitors?

I want to be able to discover the 10 most popular routes through our web site that lead a visitor to register with us.
I have already logged all of this info, but don't seem to be able to find the best solution to query it.
The site is quite high traffic, > 3 million page views per month, so the solution needs to scale.
What suggestions do people have for how I could implement this?
Thanks
This is a very difficult problem. I finally solved it using neo4j.

Resources