What are the steps to a successful web application deployment? How does web application deployment differ from desktop or mobile application deployment?.
Collaboration Between Development and Operations
It is important that operations be in the loop when it comes to planning any software deployment. They need to know when the project starts, not at the last minute about your new deployment. Ensure that operations is aware of any infrastructure changes needed well in advance. If the operations team is your front-line defense for monitoring and troubleshooting your app, help them help you by collaborating on how best to monitor the app and discuss early warning signs of trouble to be alerted to.
Build & Release Automation
Removing the human factor is important to duplicating software deployment success. How you deploy the code doesn’t have to be state of the art. Utilize a basic build server like Maven, Bamboo, or TFS to automate the process or even a simple script that copies the files across the network can be sometimes sufficient. The key here is to make it easily repeatable by anyone on the team and eliminate the possibility of skipping any manual steps.
Minimize the Amount of Change
When things break in IT, typically it is because something changed. When you introduce small changes in each software update it is easier to roll back those changes, or know exactly where to look for the source of the problem. As each release takes a certain amount of work in planning and testing, the key is finding the right balance of frequency and size of your releases that is optimal for your team to handle.
Create and Test SQL Change Scripts
Prior to your app deployment make sure you use tools like Red Gate SQL Compare to know what SQL schema and data changes have to be moved to production. to ensure there are no environmental differences that will cause potential headaches, I recommend never to forget to take a backup of production and run the test scripts on the backup copy before the final release. Production data differences or different database software versions can commonly cause hiccups. Also, have a plan to roll back to a previous state if the release has issues. Code is easy to roll back, but SQL requires some planning.
Know your KPIs
Every app should have some form of key performance indicators or metrics that can be used to know if everything is running smoothly. These will vary wildly from one app to another. They can be as simple as server CPU, page load times, or database performance metrics. The best metrics are more custom though. Knowing how many orders are happening per minute, or how many messages are being processed off a queue and how long it takes, or how long a certain piece of code takes to execute is a critical part of your app. Make your KPIs the heartbeat of your application and monitor them at all times.
Setup Synthetic Transactions Tests
Create a few tests that test things like your login page, key pages within your apps, APIs, etc. This will allow you to feel very confident that all systems are operational after the app deployment. I highly recommend Selenium, the leading open source framework for web automation.
Notify Your Users and Colleagues
Don’t forget to notify your users and others within your company about the upcoming changes. Make sure you have time to update documentation, train internal staff about new features, and coordinate with other departments in your company.
PART 2: AFTER THE DEPLOYMENT
Monitor Server Utilization
Make sure servers are all online, in the load balancer, and still receiving traffic. Monitor server and app CPU, memory, network, and disk usage. No utilization can be as bad as sudden high utilization.
Monitor Exception Rates
After a new release your software is likely to throw some new exceptions you have never seen. Utilize an error tracking program so you can immediately identify new errors introduced in the release and to ensure previously resolved errors haven’t been reintroduced. A comparison of your overall error rates before and after the deployment will give you good indication of the release health.
Check Your KPIs
Keep an eye on your performance indicators that let you know if your application is running properly.
Watch Your Logs
After an app deployment make sure logging is still working and the volume of logging hasn’t changed dramatically. No logging at all can be as bad as sudden high logging rates. A centralized log management tool makes this easy to monitor. You might also want to check the logs of new features that were released to ensure they are behaving properly.
Monitor Page Load Times and HTTP Error Rates
Watch the overall page load times of your application and keep a closer eye on 2-3 requests that are mission critical to your app. Also watch out for the rate of 400 and 500 level HTTP requests to ensure they haven’t dramatically changed.
Monitor Database Performance
After your deployment make sure database CPU, IO, and overall traffic look normal. Nothing is scarier than a sudden drop in database traffic after a release… unless it’s a sudden spike in database traffic.
Monitor Key Database Queries
Setup monitors in your monitoring system to test key queries to ensure they are loading quickly and returning proper results. For example, if some important background processes work based on SQL queries, run similar queries to make sure it isn’t missing work to be done and is working properly.
Monitor Application Queues
Monitor how many messages are in your application queues to ensure everything is flowing properly and not getting backed up.
Cache Server Changes
Don’t forget about caching. Depending on how you use caching, you may need to clear your caches or make other configuration changes. Data type changes can commonly cause some weird serialization type issues in cache.
Have a celebratory beer!
At Stackify we prefer a local joint with some good craft IPAs or the one brewed by one of our developers. Make sure your team has a good tradition for after releases.
Post Mortem Meeting
It can be very valuable to stop for a few minutes and discuss how the last release went and how things potentially can be improved. These kinds of conversations can help identify team weaknesses, allow people to vent, and take note of issues that can try to be prevented in future development cycles.
SUMMARY
Deployment success over a long period of time depends on being able to automate and create processes that minimize issues for all stakeholders. Creating some automation or scripts around your build and release processes pay big dividends in the long run. Utilizing various monitoring tools or looking for new ones that can help monitor your server and application health from every angle. Tracking trends over time can help you show off the improvements you’ve made with each release in availability, performance, KPIs, and user experience.
main important thing to remember backup should be taken before implimenting any deployment
for your second question
im working with MICROSOFT IIS WEB SERVER there is no difference between mobile application deployment from desktop
What are the steps to a successful web application deployment? How does web application deployment differ...
What is a cloud deployment model? How does the cloud deployment model relate to the cloud service model?
How does the testing of IT application controls differ from the testing of manual transaction controls and why?
How does the focus of research and evidence-based practice (EBP) differ ? Discuss the application of research findings into evidence-based practice .
Suppose you are developing three versions — desktop, web, and mobile — of the BMI Calculator app. The Visual Studio solution folders containing the development files for these versions of the app are named bmiD_soln, bmiW_soln, and bmiM_soln, respectively. Correspondingly, the project folders for the the three versions are named bmiD_proj, bmiW_proj, and bmiM_proj, respectively. For the desktop version, the name specified for the UI is BMIForm, while the UI for the web app version is specified in the file...
1. What is SNP? How does it differ from Mutation? Is there a possible medical and scientific application for SNP? 2. What is epigenetics? What is the significance of epigenetic changes? 3. What is hybridization? List the importance of this process in studying the natural world?
A successful cross-site scripting (XSS) attack against a Web application could result in a violation of which policies? Which mechanisms are defeated?
What are the major differences between a web application and a windows application? What are the advantages and disadvantages of Web-based systems and windows-based systems? Why would you use one instead of the other?
Presence on the Web and Internet are critical components of just about any business, large or small. However, having a website presence can increase the security risks and threats to which an organization is subject. Consider the questions below and respond to at least two of them. What risks do Web and database attacks create for an organization? What harm could result from a successful attack? What roles do security analysts play in preventing Web server, application, and database attacks?...
2-6. What are the main activities that make up the listening process? [LO-5] 2-7. How does content listening differ from critical listening and empathic listening? [LO-5] 2-8. What are the six major categories of nonverbal commu- nication? [LO-6] 2-9. Why do mobile devices present unique etiquette chal- lenges? [LO-7] 2-6. What are the main activities that make up the listening process? [LO-5] 2-7. How does content listening differ from critical listening and empathic listening? [LO-5] 2-8. What are the six...
What features are centralized in your web application by master pages? How are master pages implemented and what tier(s) do they fall into?.