Amazon Services for Magento Hosting

Listed below are the reasons for using Amazon service for magento application:

  •  Amazon Elastic Compute Cloud (EC2) -Amazon Elastic Compute Cloud delivers scalable, pay-as-you-go compute capacity in the cloud.
  • Auto Scaling – Auto Scaling allows you to automatically scale your Amazon EC2 capacity up or down according to conditions you define.
  • Elastic Load Balancing -Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances.
  • Amazon CloudFront (CDN) – Amazon CloudFront is a web service that makes it easy to distribute content with low latency via a global network of edge locations.
  • Amazon Relational Database Service (RDS) – Amazon Relational Database Service is a web service that makes it easy to set up, operate, and scale a relational database in the cloud.
  • Amazon Route 53 – Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.
  • Amazon ElastiCache – Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud.
  • Amazon Simple Storage Service (Amazon S3) – Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers.
  • Flexibility – One of the most important features of Amazon AWS is its flexibility. The communication of all AWS services are working together perfectly. AWS offers a great API which brings an ability of creating new instances ( server ), overbalance, external database ( RDS ) and storage ( NFS ) on demand. You can use all these services just in the moment they are created. In case you need more server power, memory and space you can just change the instance type and you´re done. Server managing was never easier and faster.
  • Performance – The speed of AWS is just fantastic. The performance of the “Elastic Block Storage” is similar to S3, but it offers more features.  You get a higher reliability than most standard hosters (data center) world wide offer. Magento Development India
  • AWS Security – At a high level, Amazon taken the following approach to secure the AWS infrastructure.

Physical Security: Amazon has many years of experience in designing, constructing, and operating large-scale data centers. AWS infrastructure is housed in Amazon-controlled data centers throughout the world. Only those within Amazon who have a legitimate business need to have such information know the actual location of these data centers, and the data centers themselves are secured with a variety of physical controls to prevent unauthorized access.

Secure Services: Each of the services within the AWS cloud is architected to be secure and contains a number of capabilities that restrict unauthorized access or usage without sacrificing the flexibility that customers demand. For more information about the security capabilities of each service in the AWS cloud, consult the Amazon Web Services: Overview of Security Processes whitepaper.

To know more about our web and mobile development service visit http://evincetech.com.
For more information, please contact us with the specifications for your project. You can email our sales team at info@evincetech.com, also you can call us at following numbers.
India: (+91) 44 42170775, (+91) 91766 40375
USA [Toll Free]: 866 220 6565

Magento Site Performance Optimization

1)  Enable output compression

Apache files compression is the fastest way to improve your Magento website speed and performance.

To enable Apache served files compression mechanism, you need to open .htacess file of your Magento. Find this code in .htaccess file:
And replace it with this code:
—————————————————-

# Insert filter on all content
SetOutputFilter DEFLATE
# Insert filter on selected content types only
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don’t compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary
# enable resulting html compression
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
php_flag zlib.output_compression on

2)  Enable Expires Headers

Expires headers tell the browser whether they should request a specific file from the server or whether they should grab it from the browser’s cache.
The whole idea behind Expires Headers is not only to reduce the load of downloads from the server, but rather to reduce the number of HTTP requests for the server.
To turn this feature on, just uncomment in .htaccess file the appropriate line and add “ExpiresActive On” right above it. See below:

ExpiresActive On
ExpiresDefault “access plus 1 year”

3)  Disable ETags

ETags are a way for browsers to validate cached components across subsequent visits. They can slow down a site served from a cluster if the cluster hasn’t implemented them properly. It is best to just turn them off as follows:

FileETag none

4)  Increase php memory limit

Most PHP settings actually do not influence the performance of Magento, but just set certain limits. For instance, settings like memory_limit and max_execution_time do not increase the page load but just make sure that certain actions do not timeout or run into memory problems.

Find the following section in the php.ini file.
max_execution_time = 300
max_input_time = 600
memory_limit = 512M

5)  Disable Magento logging

Within the Magento configuration, you can enable logging under the Developers-tab. Depending on the Magento modules this could lead to more logs needed to be written to the filesystem, slowing down your shop. Because the logging-abilities are only needed to debug something, in daily usage, it’s best to disable logging altogether.

6)  MySQL table optimization

Goto MySQL Admin and select all the tables and repair and then optimize them.

Through phpMyAdmin, you can perform the command OPTIMIZE TABLE on specific Magento database-tables. When a table is cluttered, this could lead to improved performance. This does not only count for the complex EAV-tables, but also for regular MySQL tables that are used frequently (for instance, core_config_data).

Database Log Cleaning using Magento Administration

  • From the Magento administrator interface, go to System > Configuration.
  • In the left menu under Advanced, click System.
  • Under Log Cleaning, change Enable Log Cleaning to Yes and configure the Save Log for 15 days:
  •      Click Save Config.

Mysql server memory size increase

Recommended innodb_buffer_pool_size.
Combined web and db server, 6 GB RAM:  2-3 GB
Dedicated database server, 6GB RAM: 5 GB
Dedicated database server, 12 GB RAM: 10 GB

 7)  Combine CSS and JS files

Combine Javascript and Combine CSS files: System ->Configuration ->Advanced ->Developer -> ‘Javascript settings’ and ‘CSS Settings’. You can also consider using an extensions to do this like the Fooman Speedster extension, whichever works best for you.

Attention: Combining CSS/JS when using CDN will cause CSS/JS to “break” until the CDN updates completely. Nexcess recommends starting this process at the beginning non-peak hours to allow enough time for the “new” CSS/JS to reach the CDN.

8)  Remove Unnecessary Components

There were leftover embedded scripts and css that were not being used. When removed the speed increased. This wasn’t tested, because everyone’s situation will change.
Check for leftover scripts
Check for leftover CSS

Disable not needed extensions in app/etc/modules/*.xml or delete

9)  Enabling Flat Catalog

The model Magento uses to store customer and product data results in longer than average SQL queries and more reads. Enabling the Flat Catalog option for Categories and Products will merge product data into one table, therefore improving performance. Magento Development India

Login to your administration area and go to – System > Configuration > Catalog
Under “Frontend”, change “Use Flat Catalog Category” to yes.
Under “Frontend”, change “Use Flat Catalog Product” to yes – this is optional.
Finally you will want to clear your Magento cache.

10)  Use a Content Delivery Network (CDN)

In most cases it makes sense to distribute static media in a different way than HTML – it can be a different web daemon, moving media to a subdomain, distribution across several servers or moving it out on a CDN.

CDN helps to trim down server load, by serving the static content like images, CSS files or JavaScript files through a network of servers intimately located to your customers. A CDN can truly perk up the user experience on the web site.

To know more about our web and mobile development service visit http://evincetech.com.
For more information, please contact us with the specifications for your project. You can email our sales team at info@evincetech.com, also you can call us at following numbers.
India: (+91) 44 42170775, (+91) 91766 40375
USA [Toll Free]: 866 220 6565