En cours

Create a function in TypeScript to compute the peak volume of cloud storage utilized over a (month) 30 day period

We have built a search engine, where users can upload files (MS Office documents, PDF etc) into a "Case", and the files in the Case are made searchable. As a SaaS business we charge our users by the volume (in GB) of files that they upload. We want to bill our customers for the maximum amount of data they uploaded in a 30 day period. The volume of data in the case goes up and down over the 30 day period as users can delete files and add new files.

For e.g. Take the month of January. Let's say the following transactions occur

Jan 1: User uploads 15 GB of files

Jan 15: User uploads 10 GB of files

Jan 20: User deletes 20 GB

The user is billed on Jan 31, and the peak usage for this user is 25GB, which occured on Jan 15 (10 GB + 25 GB). Hence the user will be billed for 25GB. The table below illustrates the peak data over the month for the case.

Peak Data

Jan 1 : 15 GB

Jan 15: 25 GB

Jan 20 : 25 GB

Jan 31: 25 GB

Note : that since the user deleted 20 GB on Jan 20, that will only reflect in February, where the peak usage is reset.

This project's deliverables are (more details and test data to be provided):

A function named computePeakUsage in a module of its own, which will accept the allStores and forMonths parameters and return the peak usage information in the format described

This module will be written in TypeScript.

This module will accompany any needed test cases written in Mocha to validate the functionality of this function, including but not limited to:

Assert that the start and end dates of cases are taken into account.

Correctly handle events spanning month boundaries over a single or multiple months.

The delete in output flag is correctly marked for all deleted cases.

Correctly take into account allotted quotas (could be 0)

Correctly uses the per GB pricing, accurately accounting for multiplication of small numbers in JS.

Results for multiple cases are returned correctly with required data for each return cased.

Results for multiple cases for multiple months are returned correctly.

Results for current month are returned correctly till the very last second before the function was called.

The totals match up correctly.

Certain edge cases are accounted for, e.g. events at start and end of months, case deletions at start and end of the months.

The function is sufficiently performant for large sets of input.

Either returns computed data or throws an exception with good description of what went wrong (invalid input data e.g.).

Compétences : Algorithme, Backend Development, node.js, RESTful, Typescript

en voir plus : create function access 2007, create function zencart, create function search google php, firebase cloud functions tutorial, firebase cloud functions examples, website testing, ajax, node.js, algorithm, typescript, create function grid extjs, mysql distance latitude longitude create function, access vba create function, create function php fill combo mysql, create function vb net, phpcake create function, twitter create function, ireport create function, wordpress plugin cloud storage, build cloud storage server

Concernant l'employeur :
( 0 commentaires ) IOWA CITY, United States

Nº du projet : #18664480

Décerné à:

fukn3k

I am expert in working with cloud computing and all the needed TypeScript is easy enough for me. I can handle a shorter deadline when it comes to this project i think

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(0 Commentaires)
0.0

11 freelance font une offre moyenne de $780 pour ce travail

zekovicm

Hi there,I am Typescript expert from Bosnia & Herzegovina,Europe. I have carefully gone through with your requirements and I would like to help you with this project ! I can start immediately and finish it within the Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(4 Commentaires)
5.2
AwaisChaudhry

Hi there, I have checked the details I have rich experienced with TypeScript. Please initiate chat so we can discuss this job.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(4 Commentaires)
5.2
shaktistanwar

Hi I am a technical evangelist, developer and can do this task for you. I have more than 12 years of experience in software development and am a microsoft certified professional.I have strong work experience in Reac Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(3 Commentaires)
4.3
expatdev

Hi- I would like to work on your project. I understand clearly your definition of peak usage. I can deliver a simple but robust implementation that will cover all of the edge cases you've discussed. I have many years o Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(3 Commentaires)
3.9
fleedsteed

Hi Nice to meet you We are a senior Software Development Company - DG Electronic Entertainment Co., LTD, located in Dalian, China. (Hangzhou Dongcheng Electronic Co., LTD is changed to Dongcheng Global) We are Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
2.5
MoenTek

Hi there, We are already working with US companies like Convirza, ListenForce, Ababa. I have gone through project descriptions. You required to Create a function in TypeScript to compute the peak volume of cloud Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 8 jours
(1 Évaluation)
1.1
xxemre

I can write it with JavaScript or TypeScript, no problem. .

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(0 Commentaires)
0.0
gtaposh

Hi Client, We just checked your [login to view URL]'re a team of professional Web and App developers with 7+ years experienced. We will appreciate if we can have a detailed discussion regarding the project & I will explain how we Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 30 jours
(0 Commentaires)
0.0
nummanali

Honestly don't understand how some other people have bids so high. I'm UK based and regularly make such functions with mocha tests for my current company. Drop me a PM and we can discuss further.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(0 Commentaires)
0.0
%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0