Post on Medial

Nirbhay Jain

 • 

SaaS Labs • 7m

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

0 replies4 likes

More like this

Recommendations from Medial

Somen's 8D world

Stealth • 6m

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
0 replies3 likes
Anonymous
Image Description
Image Description

I want to build a saas product for data analysis for the manager and admins of the company... The workflow will be like that 1. Register to the platform 2. Connect their db 3. List of charts will be shown 4. People will select the chart 5. Now they h

See More
5 replies1 like
Image Description
Image Description

Kranthi

Stealth • 4m

💡Idea: i will build an app which pays the users(mostly students) for watching ads. This is just the overview of my idea. I know lot of websites and apps are doing the same thing. But just imagine I have strong user base. I have the DAU(daily active

See More
7 replies6 likes
Image Description

Armaan Nath

Stealth • 1m

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 replies7 likes
8
Image Description

Antazya S Jatrana

Stealth • 5m

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 replies3 likes

Sairaj Kadam

Stealth • 3m

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
0 replies3 likes
1

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