Back

Nirbhay Jain

 • 

SaaS Labs • 1y

Yesterday I asked about unproductivity guilt and after going through all the suggestions I thought it will be best if I post overview of what I have learnt here everyday. So today I learned how we can scale our systems. Here is an overview of it 1. Use stateless web tier as in stateless apps each request is processed separately i.e they do not store session data and hence we can easily increase the server instances. 2. We should have multiple replication of db and make sure they all are synchronised to avoid single point of failure. 3. Use cache wherever db is getting hit very frequently. 4. Use CDN for static files 5. Use sharding if your table becomes so big that it takes too much time executing the query. Remember it has its own pros and cons 6. Use monitoring tools like grafana, new relic etc to know which API is slowing down the system or where the error has occured etc

Reply
4

More like this

Recommendations from Medial

Somen Das

Senior developer | b... • 1y

I don't know any stateless messageing system which can send data from server to client without steady client connection like websocket. so I built one. and name it RTCserver. it uses fcm and webrtc in a clever way to send server data to client. and

See More
Reply
3
Image Description

Armaan Nath

Startups | Product • 9m

Notion is crazy! Recently, I was able to sell a few Notion templates and got some amazing observations: 1. Most Startups still rely on Notion DB. 2. Notion templates are very useful if you're extensively creating content. 3. Most Founders turning Lin

See More
3 Replies
8
7
Image Description
Image Description

Kranthi

Want to start my own... • 12m

[This post has been deleted by the creator]

7 Replies
6
Image Description
Image Description

Abdul Shaikh

Every Dream is Worth... • 3m

Founder: The app is slow. Can we just increase the server size? Backend Dev: So you want to pay more instead of fixing the problem? Founder: ...What's the problem? Backend Dev: Too many database queries, no caching, and inefficient API calls. Fo

See More
4 Replies
9
25

Sanskar

Keen Learner and Exp... • 19d

Give feedback hey guys I am trying to build a logo as a personal project and want some fresh eyes to look at it an tell if it's conveying the desired message Overview This logo is for a company which specialises in creating unique content with uniq

See More
Reply
4
Image Description

Antazya S Jatrana

Building KRATE • 1y

Overview Retail supply chain consists of 4 major arms of operations: Manufacturer Wholesaler Distributor Retailer While there is much software penetration at the retailer’s end the distributors still do a lot of work by old means. Problem stateme

See More
1 Reply
3

Rohith R

I help businesses to... • 6m

SEO Lane Series - Lane 5 Keywords Research - Step by Step Guide The one who followed my posts, Knows what's keywords and its importance, If not check my previous posts. Now in this post, Let's see how to perform research the right keyword that matc

See More
Reply
5
15

Sairaj Kadam

Entrepreneur • 11m

The Most Common Practice in Startup Funding The Steps of Funding, Hey everyone, We know that most startups use a specific funding method to get off the ground. Yesterday, I mentioned how most startups use traditional funding methods. Today, I wan

See More
Reply
1
3
Image Description
Image Description

Comet

#freelancer • 2m

Use these prompts to finish more work in 2 hours than 95% of people do in 2 weeks: 1. Solve complex problems using First Principles Thinking Framework: Prompt: “I am having difficulty learning [insert topic]. Help me understand it better by using F

See More
2 Replies
12
22
1

Download the medial app to read full posts, comements and news.