Your team is tasked with optimizing a large-scale e-commerce application that experiences sporadic spikes in traffic. Which set of optimizations would be most effective in handling high traffic while maintaining a responsive user experience?
- Implement caching for frequently accessed data
- Use a single server instance to minimize resource usage
- Disable load balancing to simplify the architecture
- Optimize for low-bandwidth connections only
Implementing caching for frequently accessed data is an effective optimization strategy for handling high traffic while maintaining a responsive user experience. Caching can reduce the load on your backend servers and speed up response times. Using a single server instance and disabling load balancing may lead to performance bottlenecks and decreased reliability. Optimizing for low-bandwidth connections alone may not address the scalability and responsiveness issues during traffic spikes.
Loading...
Related Quiz
- You are initializing a new Node.js project and want to set up a private repository. How would you ensure that your project's package.json file is correctly configured to reflect this?
- In Jest, ______ is used to generate snapshot files of a component's output render.
- The ______ script in the package.json file is run after the package is uninstalled and before the package is unpublished.
- In a document-oriented NoSQL database, the ________ defines the structure and data types of the document.
- When are CORS preflight requests sent by the browser?