Open in app

Sign In

Write

Sign In

Vlad Holubiev
Vlad Holubiev

501 Followers

Home

About

Published in

Shelf.io Engineering

·Mar 28

Five Ways to Deal With AWS DynamoDB GSI Throttling

Understanding DynamoDB Throttling DynamoDB is a fully managed NoSQL database service designed to deliver fast and predictable performance to applications. It stores data across multiple partitions and provides single-digit millisecond response times. However, handling increased load or demand may sometimes result in performance bottlenecks. …

Dynamodb

8 min read

Five Ways to Deal With AWS DynamoDB GSI Throttling
Five Ways to Deal With AWS DynamoDB GSI Throttling
Dynamodb

8 min read


Published in

Shelf.io Engineering

·Nov 10, 2022

How to Scan a 23 GB DynamoDB Table in One Minute

A 50x speed improvement — While running DynamoDB workloads in production with over 500 GB of data for a couple of years, I accumulated a couple of lessons learned that I’ll be sharing. One of them I wrote previously about: How to Speed-up Long DynamoDB Queries by 2x. AWS DynamoDB is a great database. It’s…

AWS

7 min read

How to Scan a 23 GB DynamoDB Table in One Minute
How to Scan a 23 GB DynamoDB Table in One Minute
AWS

7 min read


Published in

Shelf.io Engineering

·Nov 10, 2022

Running LibreOffice In AWS Lambda: 2022 Edition, Open-Sourced

History Exactly 5 years ago, I wrote about running LibreOffice in AWS Lambda for the first time. It enabled people to generate PDFs from any office file format for a fraction of a dollar. As opposed to a traditional server-based approach, it utilizes serverless computing to drastically reduce costs and get…

AWS Lambda

4 min read

Running LibreOffice In AWS Lambda: 2022 Edition, Open-Sourced
Running LibreOffice In AWS Lambda: 2022 Edition, Open-Sourced
AWS Lambda

4 min read


Published in

Shelf.io Engineering

·Aug 12, 2022

AWS Route53: How to Share Subdomains with Multiple AWS Accounts

Learn how to deploy beta.api.example.com from a different AWS account that doesn’t own the example.com domain. At my current company, we started development from a single AWS account. As the product grew in size, we faced a need to provision multiple AWS accounts to share the infrastructure across them. A…

AWS

4 min read

AWS Route53: How to Share Subdomains with Multiple AWS Accounts
AWS Route53: How to Share Subdomains with Multiple AWS Accounts
AWS

4 min read


Published in

Shelf.io Engineering

·Jan 5, 2022

How to Speed-up Long DynamoDB Queries by 2x

Note: “Long” queries are the ones that scan over 2 MB of data. The trick described in this article only applies to those. TL;DR; Implement parallel pagination from both ends instead of a sequential one. Situation Imagine you’re in a situation when you have thousands of items under the same partition…

Dynamodb

4 min read

How to Speed-up Long DynamoDB Queries by 2x
How to Speed-up Long DynamoDB Queries by 2x
Dynamodb

4 min read


Published in

Shelf.io Engineering

·Nov 2, 2020

3x Smaller Lambda Artifacts by Removing Junk From node_modules

Reducing artifact size proportionally correlates with the cold start latency. The most obvious way would be to use webpack and do tree shaking. But I’m not a fan of that approach. …

Serverless

4 min read

3x Smaller Lambda Artifacts by Removing Junk From node_modules
3x Smaller Lambda Artifacts by Removing Junk From node_modules
Serverless

4 min read


Published in

Shelf.io Engineering

·Dec 28, 2019

How to Put A .txt File Into The Root of AWS API Gateway Domain

Some services require you to put a file (usually a .txt one) into the root of your domain to prove you own it. When your API runs on a server, it’s a pretty straightforward task, but not so much when your API is Serverless and runs on AWS API Gateway. …

AWS

3 min read

How to Put A .txt File Into The Root of AWS API Gateway Domain
How to Put A .txt File Into The Root of AWS API Gateway Domain
AWS

3 min read


Published in

HackerNoon.com

·Feb 19, 2018

How I Reindex Millions Elasticsearch Documents Using AWS Lambda

Or how to overcome the 5 minute Lambda execution limit — So last December I was rewriting our indexing microservice in a serverless way. Along the way, I had to migrate Elasticsearch from version 2.3 to 6.1. Not that I was eager to rush the upgrade, quite opposite. But one day Elastic Cloud announced version 2.3 is approaching the end-of-life. As…

AWS

3 min read

How I Reindex Millions Elasticsearch Documents Using AWS Lambda
How I Reindex Millions Elasticsearch Documents Using AWS Lambda
AWS

3 min read


Published in

HackerNoon.com

·Nov 13, 2017

How to Run LibreOffice in AWS Lambda for Dirty-Cheap PDFs at Scale

Did you know you can convert almost 100 document formats to PDF with LibreOffice? Did you know you can do this in Lambda now? TL;DR; online demo and github sources — This short post will answer 2 simple questions Why? and How? Skip to How. Why? To not ruin your expectations, let’s clarify some things from the start. This is not something you can run in production, at least yet. Ok, so let’s go on. If you ever had to work with…

Serverless

3 min read

How to Run LibreOffice in AWS Lambda for Dirty-Cheap PDFs at Scale
How to Run LibreOffice in AWS Lambda for Dirty-Cheap PDFs at Scale
Serverless

3 min read


Published in

CloudBoost

·Nov 8, 2017

I wish I knew how to use MongoDB connection in AWS Lambda

A few weeks ago something strange began to happen. Random Lambda functions from ALL environments throwing errors. My face turned white. MongoError: no connection available at nextFunction (/var/task/node_modules/mongodb-core/lib/cursor.js:540:25) at Cursor.next No clear pattern. Same code for mongo connection worked fine for 11 months and broke at 1 day. 0.0004% of…

Serverless

4 min read

I wish I knew how to use MongoDB connection in AWS Lambda
I wish I knew how to use MongoDB connection in AWS Lambda
Serverless

4 min read

Vlad Holubiev

Vlad Holubiev

501 Followers

🇺🇦 Sr. Director of Technology @ shelf.io

Following
  • Addy Osmani

    Addy Osmani

  • Pinterest Engineering

    Pinterest Engineering

  • Anton Babenko

    Anton Babenko

  • Apiko

    Apiko

  • Vsimashko

    Vsimashko

See all (230)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams