Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zxch3n/cloudflare-do-calc


https://github.com/zxch3n/cloudflare-do-calc

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

```
Configuration:
DAU: 100000
WEBSOCKET_CONNECT_TIME_PER_HOUR_PER_USER: 2
MESSAGE_COUNT_PER_HOUR_PER_USER: 60
DAILY_DURATION_IN_HOURS: 2
AVG_MESSAGE_PROCESS_TIME_IN_S: 0.02
--- For Storage ---
AVG_READ_PER_MESSAGE: 2
AVG_WRITE_PER_MESSAGE: 2
AVG_DELETE_PER_MESSAGE: 0.1

Calculate Hibernation With Storage Cost
requestPrice: 4.35, computePrice: 6.52, storagePrice: 897.8
total: 908.67

Calculate Cost Without Hibernation
requestPrice: 4.35, computePrice: 34555
total: 34559.35
```