Asp.Net MVC Site with more Images - Need CDN recommendation [closed] - asp.net

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I currently have a Travel site built using Asp.Net MVC. The site have many articles and albums with lot of images asssociated with it. Currently, we are uploading the images locally to a folder and linking it in the article content and similarly for the albums too. Since the number of images are growing day by day, there are more loads on the webserver for every request which downloads lots of images.
I have seen other sites where they do similar thing by referring the images alone from a subdomain and some using CDN.
I am currently having shared hosting site plan and i need to reduce the stress to webserver by rendering the image from elsewhere.
Is there any CDN recommendation that is not so costly but can integrate well with my ASP.Net MVC site? I want to only upload the image to a CDN and link the image from CDN instead of local folder from the article posting page.
If CDN is not the option, can anyone suggest something else to serve my purpose?
Thanks in advance!

Yes, You need to move content to CDN. Because CDN provides very huge speed over network and it will reduce traffic to your web server.
There are very high range of CDN's available in market. I would suggest some of those for your purpose.
CDN77
Azure
MAXCDN
Akamai
From all above, CDN77 and Azure are less costly than others as per my experience.
and also you should try CDN77 14days free trial for testing purpose.
Thanks,
Hayat S.

Related

Will web scraping only cause harm to those who have a website? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Today I scrape a website using beautifulsoup4 and try to fetch about 16.000 data on that site.
And just few minutes after that, that site got down and can't access about few hours.
So.. my question is:
Will web scraping only cause harm to those who have a website?
First of all, it is advisable to check out the robots.txt file of every site before bombarding it with automated requests like you just did. It is not good for the website owner as well as for you. In order to scrape a website, follow these steps before starting to write a web scraper:
Check if the website has an API available already to make your task easy. If not, then go to step 2.
Check out the robots.txt file which is present at www.anywebsite.com/robots.txt. If the owner has listed this page (which in most cases he will), you can see whether robots are allowed to access the website or not. If yes, then check out which pages are disallowed and also check if there are any rate-limits for it.
If the robots.txt file is not present, then make sure you are gentle enough not to shoot requests to the website at bullet-speed. It might cause harm to the owner and you might get blocked forever from accessing the site.

WordPress horizontal scaling: how to share files across servers? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
So in a project i'm working on i'm trying to horizontally scale wordpress, my actual stack idea is :
HA Proxy as a load balancer
3 webservers behind the load balancer running Nginx/ PHP7
1 Redis Server
1 or more MySql servers to make sure everything is ok for high availability
The issue comes to my mind when I think about file uploads, if a user tries to upload a picture to wordpress, the picture will be available only in the Nginx/PHP VPS the loadbalancer gave him.
My question would be something like :
How can I centralize all uploads ? Like using a "shared" wp-content folder ... I've read about GlusterFS and Ceph, will these be usefull ?
Rather than solve this strictly at the backend, I'd suggest you first consider something like CloudFlare in front of your WordPress site. You could setup caching on the upload directory... You're going to get enormous horizontal scalability out of that. And it's basically free and pretty easy to setup. We've got CloudFlare in front of a site serving over 500,000 page views a day and you'd be shocked at how light the load is on that server.
Beyond that, if you do put a load balancer up in front of your site, you should be able to have it route traffic from the same user to the same backend node, so it should be consistent for that user for the duration of their browser session. That'll give you time for a file synchronization tool of some kind to keep all of your balanced nodes in sync. You might look at https://github.com/bcpierce00/unison for this.

How to make Wordpress websites from scratch [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am currently learning front end web development. So far I am pretty familiar with HTML and CSS. I can make a website with (hours of)tinkering. I am going to learn some more advanced css and Javascript along the way. I have a website I am building from notepad and my question is: How do I upload a custom website to wordpress? I mean like is there a way to upload the files instead of using wordpress system.
EDIT: I was notified that this may have not made perfect sense. I apologize. I am working on a website as practice. It is being built in notepad and I was just wondering if there is any possibility of publishing it to the internet. Is there some sort of hosting service available for that kind of thing?
"Building a website with notepad" and building a website with Wordpress are TWO DIAMETRICALLY OPPOSED approaches.
SUGGESTION:
If you want to learn wordpress, then install wordpress, work through a couple of tutorials, and play with a couple of different plugins and different templates. Focus on "Wordpress", not HTML or any underlying technologies.
NOTE:
You really don't have to know ANY HTML or ANY Javascript to effectively use Wordpress.
But if you DO get serious about "what's under the covers" with Wordpress ... then you'll likely be getting your hands dirty with PHP and with mySQL, too.
https://wordpress.org/support/topic/uploading-theme-7
There's a lot of work involved with creating a WordPress theme from scratch, however. You should consult the official WordPress documentation. https://codex.wordpress.org/

Enable youtube in pakistan [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i have a WordPress site and i want to run youtube videos in my site but in my Pakistan youtube is blocked is any option in wordpress to play youtube videos in my site?
if Pakistan ISP's are blocking youtube, there's not much you can do. There are probably ways to unblock it, like using an intermediate server (on which youtube isn't blocked) and streaming it back to the client that is trying to watch the video, but that would probably be considered illegal.
If you still want to make your video's available to your users, I think your best solution would be to upload your video to some other kind of social media (facebook?) that isn't blocked and share them through an embedded link. Or upload your video's to your webserver and use the HTML5 video tag to make your video's viewable on your website.
You can Embed, Watch Youtube Videos or Download :)
http://playit.pk/
PlayIt.pk brings multitude of features under one umbrella making video discovery, sharing and downloading easier than ever.

Web hosting and CMS for twitter bootstrap site [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am starting a new project for a Custom Home Building company's website. I am new to web development but I have programming experience, so please excuse my newbie questions.
Here is what I have been trying to find answers to, but to no avail...
I am planning on using Twitter's Bootstrap to design the website which will mostly consist of images, videos,a contact page and portfolio (pretty basic). I am also planning on purchasing a bootstrap theme to get started and modify from there (a theme from a site called "wrapbootstrap"). Does anyone have any good experience with using Bootstrap themes and does this sound like a solid plan of action?
I am planning on using the Bootstrap theme but I am worried about content management. I would like the client to be able to change out and modify pictures and edit text easily. Is it good practice to give clients a CMS on the site to be able to do this or is this unheard of?
Also one last question. I am planning on hosting this on GoDaddy, does the host I choose need special requirements to host a Bootstrap site or can I easily upload it to a GoDaddy host?
All help is very much appreciated, Cheers!
GoDaddy, if you Google it, has notoriously slow and lousy hosting. You should familiarize yourself with what Bootstrap is. It's simply html, css, and jQuery, so any host will work. But a CMS has specific requirements, some require php 5+, image manipulation, and other server side apps, RAM requirements, and so on. Therefore you need to figure out a good host for your CMS.
If you are good with your CMS and understand html, and CSS and some jQuery then you can take a pre-created theme or your own and put in the tags, loops, menu, footer, header, and other includes and create a database driven site. Most developers use a CMS to allow customers the ability to add content to their sites. Wordpress developers create admin themes in html, css, and php so it's easy for their customer to update.
There's also hosted CMS systems that have built in functions for nearly all the common functions like galleries, blogs, etc., you need to look around. http://vandelaydesign.com/blog/web-development/hosted-cms/

Resources