---
title: "Alex (@r11baka) | Hashnode"
description: "serverless. Read the latest articles by Alex on Hashnode."
url: "https://hashnode.com/@r11baka"
---

@r11baka

# Alex

@r11baka · Joined August 2023

serverless

### [Find slowest queries in cloudwatch in mysql query log](https://r11baka.hashnode.dev/find-slowest-queries-in-cloudwatch-in-mysql-query-log?utm_source=hashnode&utm_medium=feed)

RDS with engine mysql sends to cloudwatch slow query log in format like # Time: 140905 6:33:11 # User@Host: user\[dbname\] @ hostname \[1.2.3.4\] # Query\_time: 10.116250 Lock\_time: 0.000035 Rows\_sent: 10 Rows\_examined: 20878 use dbname; SET timestamp=...

1 min read · [r11baka.hashnode.dev](https://r11baka.hashnode.dev/find-slowest-queries-in-cloudwatch-in-mysql-query-log?utm_source=hashnode&utm_medium=feed)

[Dec 29, 2024](https://hashnode.com/posts/find-slowest-queries-in-cloudwatch-in-mysql-query-log/6770edca13260afafb79474b)

### [Write 'once' function with TS from scratch](https://r11baka.hashnode.dev/write-once-function-with-ts-from-scratch?utm_source=hashnode&utm_medium=feed)

TLDR I know about lodash implementation of once. I know about Parameters and ReturnType generic function in Typescript. I want to reinvent the wheel. Here is example full example on ts playground Example of code Once? Suppose I want to create functio...

3 min read · [r11baka.hashnode.dev](https://r11baka.hashnode.dev/write-once-function-with-ts-from-scratch?utm_source=hashnode&utm_medium=feed)

[Mar 21, 2024](https://hashnode.com/posts/write-once-function-with-ts-from-scratch/65fc3285cb6aee3be5714713)

### [AWS Lambda and Rust](https://r11baka.hashnode.dev/aws-lambda-and-rust?utm_source=hashnode&utm_medium=feed)

Once I wanted to experiment with Rust and try to write and deploy a simple lambda function and deploy it to AWS Cloud. A lot of tutorials provide building and deployment of lambda by hand, but I am too lazy to do this. At first glance, it seems like ...

3 min read · [r11baka.hashnode.dev](https://r11baka.hashnode.dev/aws-lambda-and-rust?utm_source=hashnode&utm_medium=feed)

[Feb 3, 2024](https://hashnode.com/posts/aws-lambda-and-rust/65be75fdcdd78398aaa275e4)

### [How to add custom headers to appsync response?](https://r11baka.hashnode.dev/how-to-add-custom-headers-to-appsync-response?utm_source=hashnode&utm_medium=feed)

So imagine you have direct aws lambda as a resolver. Like in this serverless.yaml file. https://github.com/R11baka/appsynctemplate/blob/master/serverless.yaml service: appsync-demo frameworkVersion: "3" configValidationMode: "warn" provider: name:...

2 min read · [r11baka.hashnode.dev](https://r11baka.hashnode.dev/how-to-add-custom-headers-to-appsync-response?utm_source=hashnode&utm_medium=feed)

[Oct 2, 2023](https://hashnode.com/posts/how-to-add-custom-headers-to-appsync-response/651b2f592c969822c17e0149)

### [Increase the speed of serverless deployment](https://r11baka.hashnode.dev/increase-the-speed-of-serverless-deployment?utm_source=hashnode&utm_medium=feed)

Do you want to increase the speed of your deployment? Waiting for deploying your serverless? TLDR: add deploymentMethod: direct to you serverless.yaml config provider: name: aws deploymentMethod: direct What's going on? Serverless introduces a n...

1 min read · [r11baka.hashnode.dev](https://r11baka.hashnode.dev/increase-the-speed-of-serverless-deployment?utm_source=hashnode&utm_medium=feed)

[Sep 23, 2023](https://hashnode.com/posts/increase-the-speed-of-serverless-deployment/650f51dc2834af027c1071af)
