Back

Manmit Tiwade

Software Developer |...ย โ€ขย 4m

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

Image Description

Himanshu Singh

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

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

Chandu Naidu

SSV Groupย โ€ขย 3m

๐Ÿš€ 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

Shanu Chhetri

CS student | Tech En...ย โ€ขย 4m

๐Ÿ” 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

Naman Rathi

Student of Computer ...ย โ€ขย 1m

โ€œImagine if your brain could instantly recall everything you learned without ever forgetting. Thatโ€™s what LM Cache does for AI.โ€ That is what LM Cache makes possible. Normally, an AI has to reprocess everything from the beginning each time you ask a

See More
Reply
2

Gigaversity

Gigaversity.inย โ€ขย 4m

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
Image Description
Image Description

Kumod Yadav

Building Voltko, Kri...ย โ€ขย 1m

Dear Medial, Let suppose I am a trial user and forget to cancel auto pay and next month money deducted automatically so if I request you that I don't want to continue with a subscription (on the same day of deduction) will you refund? if not then wh

See More
5 Replies
7

Arnav Aggarwal

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

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...ย โ€ขย 6m

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...ย โ€ขย 5m

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...ย โ€ขย 10m

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

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