{"id":25398138,"url":"https://github.com/axnjr/authlambda","last_synced_at":"2026-05-10T02:48:14.249Z","repository":{"id":225944614,"uuid":"767310344","full_name":"Axnjr/authLambda","owner":"Axnjr","description":"Serverless AWS Lambda function to handle Authentication \u0026 Rate limit for Spark my SAAS, written in Rust.","archived":false,"fork":false,"pushed_at":"2024-03-07T14:34:12.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T22:34:41.232Z","etag":null,"topics":["api","authentication","authorization","aws","aws-lambda","background-jobs","background-service","cargo-lambda","db","rate-limit","rate-limiter","rust","rust-lang","rust-on-aws","serverless"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Axnjr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-05T04:01:17.000Z","updated_at":"2024-08-16T03:00:39.000Z","dependencies_parsed_at":"2024-03-05T05:25:07.430Z","dependency_job_id":"d4447b97-1735-4ad6-970d-8b875b05278c","html_url":"https://github.com/Axnjr/authLambda","commit_stats":null,"previous_names":["axnjr/authlambda"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FauthLambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FauthLambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FauthLambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Axnjr%2FauthLambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Axnjr","download_url":"https://codeload.github.com/Axnjr/authLambda/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358549,"owners_count":21090401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","authentication","authorization","aws","aws-lambda","background-jobs","background-service","cargo-lambda","db","rate-limit","rate-limiter","rust","rust-lang","rust-on-aws","serverless"],"created_at":"2025-02-15T22:34:43.872Z","updated_at":"2026-05-10T02:48:14.223Z","avatar_url":"https://github.com/Axnjr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"### A Lambda function to authenticate and rate limit the incomming user request's according to their respective subscriptions in the background without increasing the overall latency for my new Real time SAAS Spark.\n### Spark will have 3 plans viz:\n\n  - Hobby (Free): 100 Daily Requests\n  - Priority: 5000 Daily Requests\n  - Enterprize: Infinite Daily Requests ( Not planned lmao 😅 )\n\n### However after running a few benchmark tests I was disappointed. Rust lambda's are not that fast \u0026 efficient. \n### Processing Each request took around **2s** each that's indeed fast for what I am doing but I still felt that it could be more fast, so I researched and found that: Lambda's have some issues with Tokio Async Runtime.\n\n# Solution\nI re-wrote it in Go \u0026 now each request takes around **800ms** 🚀🤘 https://github.com/Axnjr/authLambdaGo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxnjr%2Fauthlambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxnjr%2Fauthlambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxnjr%2Fauthlambda/lists"}