Skip to content

Commit

Permalink
Update draft and fix folder path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tehnix committed Oct 28, 2023
1 parent 4d93e90 commit 5f13c26
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 1 deletion.
75 changes: 75 additions & 0 deletions drafts/2023-10-17-the-stack-part-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,81 @@ We will start from our building blocks, which will be our subgraphs, and then bu
The Router needs an HTTP endpoint, we will use [AWS Lambda Function URLs](https://aws.amazon.com/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/).


Price per 1ms (eu-west-1):
- 128MB = $0.0000000017
- 512MB = $0.0000000067
- 1024MB = $0.0000000133
- 1536MB = $0.0000000200
- 2048MB = $0.0000000267

Cold-start:
- ms-gql-reviews
- Memory: 128MB
- Billed Duration: 67ms
- Total time: 257ms
- Init:
- Invocation:
- ms-gql-users
- Memory: 128MB
- Billed Duration: 57ms
- Total time: 210ms
- Init:
- Invocation:
- ms-gql-products
- Memory: 128MB
- Billed Duration: 53ms
- Total time: 164ms
- Init:
- Invocation:

Warm-start:
- ms-gql-reviews
- Memory: 128MB
- Billed Duration: 2ms
- Total time: 7ms
- ms-gql-users
- Memory: 128MB
- Billed Duration: 1ms
- Total time: 6ms
- ms-gql-products
- Memory: 128MB
- Billed Duration: 2ms
- Total time: 6ms


Cold-start:
- ms-gql-reviews
- Memory: 1024MB
- Billed Duration: 45ms
- Total time: 226ms
- Init: 39ms
- Invocation: 1ms
- ms-gql-users
- Memory: 1024MB
- Billed Duration: 44ms
- Total time: 201ms
- Init: 38ms
- Invocation: 4ms
- ms-gql-products
- Memory: 1024MB
- Billed Duration: 43ms
- Total time: 202ms
- Init: 39ms
- Invocation: 1ms

Warm-start:
- ms-gql-reviews
- Memory: 1024MB
- Billed Duration: 2ms
- Total time: 6ms
- ms-gql-users
- Memory: 1024MB
- Billed Duration: 2ms
- Total time: 8ms
- ms-gql-products
- Memory: 1024MB
- Billed Duration: 2ms
- Total time: 6ms

## DynamoDB: A database for our services

Expand Down
2 changes: 1 addition & 1 deletion posts/2023-10-16-the-stack-part-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Let's start by adding the dependency:
$ bun add next-intl
```

We'll also create a folder that will contain our localization files, which we'll call `locales/` in the root of the `ui-app/` project:
We'll also create a folder that will contain our localization files, which we'll call `messages/` in the root of the `ui-app/` project:

```bash
$ mkdir messages
Expand Down

0 comments on commit 5f13c26

Please sign in to comment.