Skip to content

Instantly share code, notes, and snippets.

View pradeexsu's full-sized avatar
:octocat:
open source

Pradeep Suthar pradeexsu

:octocat:
open source
View GitHub Profile
autoplay in app
#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;
}
@pradeexsu
pradeexsu / markdown-details-collapsible.md
Created September 13, 2021 06:45 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets

APIs

  1. 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.
  2. 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.
@pradeexsu
pradeexsu / Storage-System.md
Created May 19, 2024 11:00
Read Write Heavy

Read/Write Heavy System

Read Heavy

  • 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.