Search Engine Ranking and Optimization - query-optimization

How can I optimize my website's (www.magnadoctors.com) performance and reduce page load times to improve user experience and search engine rankings? I attempted to reduce my CSS and JavaScript files by removing unnecessary codes and comments and even used optimization sites like Google Pagespeed Insights but I still cannot identify the issues at hand that are impacting my website's performance. Do you guys know of any sites that are best to retrieve that. What are some things you've done to improve yours?

Related

PageSpeed Insights gatsby-plugin-fullstory

I'm using Gatsby on my website and PageSpeed Insights report keeps reporting /s/fs.js from edge.fullstory.com as a cache issue or an unused script issue (on some pages). As I understand that is because I'm using gatsby-plugin-fullstory, and since it is a 3rd party plugin I can't control the cache, and I don't want to self-host the plugin.
How can I resolve this issue?
PageSpeed Insights suggest improvements that may make a difference.
Caching assets needed by the page is a best practice to avoid them having to be refetched from the server for each page load.
However, in some cases that does NOT make sense to do. Particularly for analytics services where you explicitly WANT them to be called for each page load. Google Analytics and gatsby-plugin-fullstory fall into this category.
PSI is an automated scan that does an incredible job of giving advice for any URL plugged into it. But that does not mean it is completely infallible or that it's advice MUST be followed. In this case the advice is not relevant and can (and in fact should!) be ignored for this particular resource. In fact, this audit is under the "Diagnostic" sections showing it's something that it has diagnosed as a potential problem, rather than definitely an actual problem.
Note that if the rest of the site has a decent caching policy then these outliers are often not flagged by PSI, so the fact they are being flagged for your site, suggests that perhaps you have other assets that could have improved caching settings. If you fix those, then maybe these will stop flagging? But either way take the "Diagnostics" as potential improvements, rather than something that MUST be done.

How can I Google App Engine performance improved?

I currently has serviced my app in Korea.
But, my app is installed in us-central because GAE not supported install for Asia.
so, i suppose it is very slow because it is faraway from GAE.
If that's problem, how can I solve this problem?
please suggest to me... thank you.
I have been using Google Cloud Platform for 4 years now, Including the Google App Engine. The performance of your application backend system can only be slow if the developer did not optimise the program well. I would suggest that you try out using some of the following key aspect in solving your problem:
Try so much to use MemCache for requests that are common to users and do not require instant real time updates.
Look at the algorithms you are putting in place. This is very important for your execution through put. For example lets say you want to run a search though a billion records, u can use quick search algorithms like QuickSort3way.
Lastly look at the choice of database you are using. You could mix NoSQL with SQL if you were only using SQL. If you are into big data then use BigQuery. This way your application's performance can drastically increase and scale up enormously.

Keeping SEO rankings when moving to AngularJS

We are moving a PHP app to AngularJS and would like to keep our site rankings. Obviously we will use 301 redirects but do the major search engines keep SEO ranking if you move to an AngularJS frontend and use prerendered HTML? I just want to make sure that even if we allow the Angular app to be spiderable via phantomJS and prerendered HTML, we still keep our Google rankings.
Most articles I have read, talk about indexing an Angular app. I assume that once you solve that you can worry about ranking. You are asking about keeping your ranking. If you keep your ranking, how would you make sure that your ranking is maintained.
When to ask:
You are asking at the start of the redesign which is excellent.
Who to ask:
I am not in a position to recommend anyone but I found this explanation of what you are up against very helpful: What are you going to do about Seo
What I tell my clients is that they should not rely on programmers to do their SEO planning. You might find a programmer that is passionate about SEO and has a deal of knowledge about the subject but personally I believe that it requires another kind of professional that is dedicated and keeps track of google updates. Updates can easily outdate your previously chosen SEO strategy. Once you have a strategy in place, your programmer can get busy with url rewrites if needed. Your programmer has enough to worry about & a programmer != digital marketer. You are asking the right questions but perhaps to the wrong forum. The world of SEO changes on a almost daily basis Perhaps the team doing Angular UI Router (not to be confused with original Angular team) can help suggest where to go.
Assuming you have changed your url, you seem to be on the right track:
If there is one thing you need to get right during the redesign, it’s this step. As I’ve explained already, you need to make sure all of your older pages 301 redirect to their newer counterparts. 301 redirects will safely pass PageRank from your older pages to the newer ones, and will enable you to maintain your Search Equity. If you fail at this stage, your trending could very well look like the graphs I included earlier. Don’t botch the 301 redirection plan. You will pay dearly.
Read more at http://www.searchenginejournal.com/how-to-avoid-seo-disaster-during-a-website-redesign/42824/#6RCBeyeG5wHQW3l8.99
Lastly, this article, explains quite a few options on how to get started with indexing and their conclusion is similar to mine:
Although we present a relatively easy methods of creating SEO opportunities for our apps, it does take work to set it up and maintain. There are definitely professional services that offer SEO as a service.
We recommend one of our sponsors, brombone that has fantastic service and great service.

App Engine Full Text Search vs Geohashing for location queries

I'm thinking of porting an application from RoR to Python App Engine that is heavily geo search centric. I've been using one of the open source GeoModel (i.e. geohashing) libraries to allow the application to handle queries that answer questions like "what restaurants are near this point (lat/lng pair)" and things of that nature.
GeoModel uses a ListProperty which creates a heavy index which had me concerned about pricing as i have about 10 million entities that would need to be loaded into production.
This article that I found this morning seems pretty scary in terms of costs:
https://groups.google.com/forum/?fromgroups#!topic/google-appengine/-FqljlTruK4
So my question is - is geohashing a moot concept now that Google has released their full text search which has support for geo searching? It's not clear what's going on behind the scenes with this new API though and I'm concerned the index sizes might be just as big as if I used the GeoModel approach.
The other problem with the search API is that it appears I'd have to create not only my models in the datastore but then replicate some of that data (GeoPtProperty and entity_key for the model it represents at a minimum) into Documents which greatly increases my data set.
Any thoughts on this? At the moment I'm contemplating scraping this port as being too expensive although I've really enjoyed working in the App Engine environment so far and would love to get away from EC2 for some of my applications.
You're asking many questions here:
is geohashing a moot concept: Probably not, I suspect the Search API uses geohashing, or something similar for its location search.
can you use the Search API vs implementing it yourself: yes, but I don't know the cost one way or the other.
is geohashing expensive on app engine: in the message thread the cost is bad due to high index write costs. you'll have to engineer your geohashing data to minimize the indexing. If GeoModel puts a lot of indexed values in the list, you may be in trouble - I wouldn't use it directly without knowing how the indexing works. My guess is that if you reduce the location accuracy you can reduce the number of indexed entries, and that could save you a lot of cost.
As mentioned in the thread, you could have the geohashing run in CloudSQL.

Google App Engine as production platform [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 9 years ago.
Improve this question
We are about to start working on new commercial web project and considering Google App Engine as a potential platform.
Questions:
Does Google App Engine is really
scalable and may be considered as a
production platform for commercial
project?
Is it more expensive (or
cheaper) than good hosting company
service in long run?
Is it
possible (and pretty cheap) to move
the app from Google App Engine to
independent server/farm (e.g. to use it
as a private system, to exploit our
own hardware etc.)?
Is there some
mechanism to deal with DDoS attacks?
Can I make a full backup of the
app data?
Sorry for such silly questions.
I'll answer question 1:
I'm in the pilot phase of a new web application on app engine. We've spent about a month writing code and getting things ready for our first customer. They went live last week. They love the software but a couple of days ago I started to get random deadline exceeded errors in the application. You look up a record or a list and it would come back in miliseconds. The next go it would take 30 seconds and come back with a deadline exceeded error.
The stack traces in the dashboard give random results. I've tried everything, even stripping the app down to a hello world. I put a log message into our django process request middleware, the first bit of our code that gets executed. It was showing that on the timeout requests it took 25 seconds from google getting the request to running our process_request code. I posted to the google forum and got nothing. I contacted someone at google and they answered back quickly but only said they would contact the team. Nothing since.
It is possible there's something I'm doing to cause this but I really doubt it. Google doesn't provide support so I'm basically out of luck.
If this was a full blown commercial application I'd be out of business.
tl;dr: google app engine has great promise but needs to mature and is not yet suitable for comercial production
Watch google IO (Whre among other they say that: "yep it's scallable".
That depends ... It can even be free for you (you pay for load that you've got).
You can move to Amazon for example using appdrop. It's also a good idea to use app-engine-patch.
... Good question. I realy do not know.
Use GAEBar.
It all depends on your needs.
For a project that has the need to scale from very few users to possible millions of users in short time, google app engine might be exactly what you're looking for.
However, note that you might be surprised by the limitations that GAE comes with. Datastore can amongst others not do full-text search or queries using the IN statement.
So be carefull to specify what needs your application will have, and what data you're going to store and search for.
This also means that moving your application from GAE to a separate server might be troublesome, since the database architecture will most likely be different.
My answers:
BuddyPoke runs on gae (probably the biggest app), check their millions numbers.
You don't pay until your app grows quite a bit
If you are familiar with python, web2py offers this feature with some limitations
Dos protection (java, python)
Gaebar, here a great article.
You're question #3 raises a red flag. If this is an important issue, I'd caution against App Engine at this time. I love the platform, and don't doubt that their will be viable migration paths to a self-hosted solution at some point, but not now. Things like appdrop prove it would be possible to do, but would the effort and investment be worth it? That's the question I'd ask. I'd love to know if somebody has successfully ported a real-world production app engine app to another host.
Backups should be easily scripted or there are tools like GAEbar as Bolotov mentioned.
Regarding cost, you can probably get tens (maybe hundreds) of thousands of objects (records) and decent traffic/use for free. Beyond that, I'm not sure about comparative hosting costs, sounds like a good area to do some research in (note to self).
Finally, Silfverstrom is right about limitations, especially around full-text search. There are some projects underway to tackle this, but probably nothing as robust as a mature RDBMS.
To update with some more recent info (2013), GAE now has a text search API. You can't search data in the database directly; you create searchable documents from your data, and add those to a searchable index. It's not terribly hard to do, but it's a hassle. In particular, whenever your data changes, you need to re-regenerate the changed documents and update them in the index.
It's also fairly easy to export data into Google Big Query, which makes it easy to do reporting.

Resources