- Caching Before read load on db or service.
- Client side, server side.
- Database Replication Increase ready only instance
- Load Balancing Distribute read traffic across the resource.
- Data partitioning Sharding
- Parallel data retrieval and concurrency.
- SOAP (Simple Object Access Protocol): - Exchanging structured data, highly secure and reliable. - Built-in support for features like transactions, security, and ACID compliance. - Commonly used in enterprise-level integrations where interoperability, formal contracts (via WSDL), and centralized control are important considerations. - Stateful interactions or when the service contracts are predefined and need to be strictly adhered to.
- REST (Representational State Transfer): - Scalable, lightweight APIs that are easy to understand and use. - Suitable for web applications, mobile apps, and public APIs, simplicity, performance, and scalability.
- Best suited for stateless interactions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "bits/stdc++.h" | |
using namespace std; | |
using ll = long long; | |
bool is_valid(string &p, string &s, int i, int j){ | |
if(j==s.size() and i==p.size()){ | |
return true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoplay in app |