Closed

Fastapi/python endpoint requires redis caching

Hi There,

I have a fastapi API running on GCP. I do a lot of calculations that do not need a change every day but take a long time to calculate(almost 30 seconds for some).

I would like to implement Redis caching to speed things up. I have almost 100 endpoints so it is not feasible to manually implement this on each one. I want to see what you did for a few API endpoints then apply this to all others myself (and future ones) so ideally, the cache setup can be dynamic and not configured for each endpoint manually.

I'm open to solutions but I'm thinking you need to build a decorator that is called each time and results are returned if in cache otherwise function is processed then stored in cache for next time.

Let me know if you have any questions. If you know GCP that's great but if not we have a cloud engineer on the team.

Skills: Python, Linux, Software Architecture, PHP, Java

About the Employer:
( 0 reviews ) Russia, Russian Federation

Project ID: #31499449

5 freelancers are bidding on average $617 for this job

(73 Reviews)
8.2
lejenome

Hello, I'm a Web services developer with 6+ YoE and with prior experience on implementing endpoints caching using Redis. The caching implementation depends on the following details: - What are the varying entries that More

$333 USD in 7 days
(1 Review)
3.0
sreenathbs97

Hi, I would suggest the best solution would be to add a cache at the API gateway level so that response could be provided from the gateway itself without hitting the real API. If you're interested, let's connect on c More

$500 USD in 3 days
(4 Reviews)
1.5
naiklancer

Hey there! I am available now to discuss the project! I am an expert WordPress Developer and I use WordPress and Adobe Illustrator to craft the designs with skills including Python, PHP, Software Architecture, Linux More

$550 USD in 10 days
(0 Reviews)
0.0
PythonMLdev

Hi, We are making Amazon Machine Trunk's Replica and we are using there Fast API, we can try to resolve your issue as we have good idea of Fast API. Yeah we don't have Good Hand on GCP but we can try only. Thanks

$700 USD in 10 days
(0 Reviews)
0.0