Back

Manmit Tiwade

Software Developer |...ย โ€ขย 24d

Offering APIs with caching + rate limiting. Problem: When users send the same payload multiple times within milliseconds, credits get deducted for each. Why? The first request is still processing, so the cache isnโ€™t ready โ€” the rest hit backend as new. How to avoid this? Any clean solution?

2 replies8 likes
Replies (2)

More like this

Recommendations from Medial

Image Description

Himanshu Singh

Help you to build yo...ย โ€ขย 5m

As a backend engineer. You should learn: - System Design (scalability, microservices) -APIs (REST, GraphQL, gRPC) -Database Systems (SQL, NoSQL) -Distributed Systems (consistency, replication) -Caching (Redis, Memcached) -Security (OAuth2, JWT

See More
1 replies4 likes
1

Shanu Chhetri

CS student | Tech En...ย โ€ขย 12d

๐Ÿ” Backend dev = building a burger! Start with a base: Java, Python, or Node.js Add frameworks: Django, Express, etc. Then layer: ๐Ÿ”ธ Git/GitHub ๐Ÿ”ธ CI/CD (Jenkins, Azure) ๐Ÿ”ธ Docker ๐Ÿ”ธ APIs (REST, JSON) ๐Ÿ”ธ DBs (MySQL, MongoDB) ๐Ÿ”ธ Caching (Redis, CDN)

See More
0 replies3 likes
1

Gigaversity

Gigaversity.inย โ€ขย 21d

What is an API? Have you ever ordered food at a restaurant? The internet works in a similar way! An API (Application Programming Interface) is like a waiter - it takes your request, delivers it to the kitchen (backend), and brings back the response.

See More
0 replies7 likes

Arnav Aggarwal

Love to Code | React...ย โ€ขย 2m

Ever had a friend join your trip after youโ€™ve booked seats? ๐ŸŽŸ๏ธ Youโ€™d call support ๐Ÿ“ž or tweak the booking. Without a system, itโ€™d be chaosโ€”miscommunication galore! In tech, APIs (Application Programming Interfaces) save us ๐Ÿฆธ. Theyโ€™re the internetโ€™

See More
0 replies11 likes
2
Image Description
Image Description

Abdul Shaikh

Every Dream is Worth...ย โ€ขย 2m

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 replies25 likes
9

Vansh Khandelwal

Full Stack Web Devel...ย โ€ขย 7m

In modern app development, new database trends like GraphQL and Redis are transforming data management. ๐†๐ซ๐š๐ฉ๐ก๐๐‹ is a query language for APIs that allows clients to request specific data, avoiding over-fetching. Advantages include flexible da

See More
0 replies1 like
Image Description

Arnav Aggarwal

Love to Code | React...ย โ€ขย 2m

Hit an unexpected 'rate limit' message while creating Studio Ghibli-style images on ChatGPT? You weren't alone.This is a great example of API traffic management techniques like Rate Limiting and Throttling. โžก๏ธRate Limiting - Sets a hard cap; reque

See More
1 replies11 likes
2

Shubham Shrivastwa

Always give more tha...ย โ€ขย 2m

๐Ÿš€ Join Me in Building REST APIs! ๐Ÿš€ Hey developers! I'm inviting you to collaborate on some exciting REST API projects using cutting-edge technologies. Whether you're a beginner looking for hands-on experience or an experienced developer wanting to

See More
0 replies3 likes

Shubham Shrivastwa

Always give more tha...ย โ€ขย 3m

๐Ÿš€ Kickstarting the REST API Project Lecture Series! ๐Ÿš€ APIs are the backbone of modern web applications, enabling seamless communication between frontend and backend. But how do we design, build, and optimize a scalable REST API? ๐Ÿค” In Lecture 1,

See More
0 replies1 like

Rohit R

Founding Engineerย โ€ขย 2m

Job Description: Flutter Developer Intern Position: Flutter Developer Intern Location: Bengaluru Responsibilities: Develop mobile applications using Flutter and Dart Implement UI designs and integrate APIs Debug and optimize app performance Work

See More
0 replies1 like

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