Find Jobs
Hire Freelancers

Fastapi/python endpoint requires redis caching

$250-750 USD

Đã đóng
Đã đăng vào hơn 2 năm trước

$250-750 USD

Thanh toán khi bàn giao
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.
Mã dự án: 31499449

Về dự án

5 đề xuất
Dự án từ xa
Hoạt động 2 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
5 freelancer chào giá trung bình $617 USD cho công việc này
Avatar người dùng
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 affect the endpoint response: auth token, language, ...? - The cache invalidation strategy is based on cache duration or the cache can be invalidated following an action? - The caching implementation will be on the code side (using python decorators) or on the gateway side (using openAPI specification) ? - What are the GCP tools and technologies are using or are you willing to use that can influence the implementation decision (always running autoscale-instances like Cloud Engine vs pay-as-you-go like Cloud Run and Cloud Functions, are you using API management solutions like Apigee or Cloud Endpoints) ? - What endpoint data are you willing to cache (the in-memory python object or the json rendered string) ? We can discuss any details over chat.
$333 USD trong 7 ngày
5,0 (1 nhận xét)
3,0
3,0
Avatar người dùng
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 chat. Thanks.
$500 USD trong 3 ngày
5,0 (4 nhận xét)
1,5
1,5
Avatar người dùng
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 trong 10 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của RUSSIAN FEDERATION
Russia, Russian Federation
0,0
0
Thành viên từ thg 9 14, 2021

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.