Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add accounting #5

Open
5 tasks
mcopik opened this issue Jul 9, 2021 · 4 comments
Open
5 tasks

Add accounting #5

mcopik opened this issue Jul 9, 2021 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mcopik
Copy link
Collaborator

mcopik commented Jul 9, 2021

We need an accounting system to easily conduct benchmarks.

  • Gather lambda runtimes.
  • Count queue events.
  • Aggregate DynamoDB operation counts.
  • S3 operations count.
  • Storage fees.
@mcopik mcopik added the enhancement New feature or request label Jul 9, 2021
@mcopik mcopik added the good first issue Good for newcomers label Feb 16, 2023
@nitilpoddar

This comment was marked as outdated.

@mcopik
Copy link
Collaborator Author

mcopik commented Mar 24, 2023

@nitilpoddar JS will not be necessary for this project. FaaSKeeper cost is based on three components: Lambda runtimes, queue operations, and database access cost. What we want to is to be able to run a program using FaaSKeeper, and then estimate their costs.

In all functions, we already gather storage use statistics, and we use it in functions to count how often we update the storage. We also use this structure in faaskeeper-python to count the number of storage accesses on the client side.

What we want to do is to implement a method in the client library that would parse Lambda logs, extract storage logs, add this to the data accesses done on the client side, and export it. I think the best way to start is to deploy FaasKeeper, run few updates, look at Lambda logs and see what data needs to be extracted. Then, you can look into faaskeeper-python and start implementing there the function that would parse CloudWatch logs of our functions.

@nitilpoddar
Copy link

Hello, @mcopik I tried making an AWS account specifically to learn about this project but failed because my debit card provider is not yet accepted by AWS. I am sorry I wasted your time.

If possible can you point me to a beginner-friendly project to which I could contribute?
Again! I apologize

@mcopik
Copy link
Collaborator Author

mcopik commented Mar 28, 2023

@nitilpoddar No worries :-) I'm sad to hear that the free account will not work for you.

So there's another opportunity that we explored in the past, but it didn't work as expected - I opened issue #25. You can start working with the serverless offline framework and report progress there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants