Back

Manmit Tiwade

Software Developer |... • 1m

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 Replies
8
Replies (2)

More like this

Recommendations from Medial

Chandu Naidu

Co-founder and CEO o... • 10d

🚀 Early stage startup - we are focused on interpolating the 20-40 milliseconds of processing time between photons hitting the retina and conscious visual perception. This untapped real estate is the new frontier. We're targeting the marketing and de

See More
Reply
1
3
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 Reply
1
4

Shanu Chhetri

CS student | Tech En... • 1m

🍔 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
Reply
1
3

Gigaversity

Gigaversity.in • 1m

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
Reply
7

Arnav Aggarwal

Love to Code | React... • 3m

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
Reply
2
11
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
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 Reply
2
11

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
Reply
1

Mohammed Zaid

Building-HatchUp.ai • 6d

OpenAI has begun using Google's tensor processing units (TPUs) to power ChatGPT and other products, marking a significant shift away from its reliance on Nvidia chips and Microsoft's data centers. This strategic move aims to reduce the high costs ass

See More
Reply
1
2

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