Questions tagged [aws]

AWS refers to Amazon Web Services.

Filter by
Sorted by
Tagged with
-4 votes
0 answers
73 views

What is the required tech stack for building a webapp with user-specific reports and data upload? [closed]

I am a beginner and don't know what a viable tech stack for this is. I've searched elsewhere and am unable to find an answer. I want to know what services (the tech stack) are requisite for making a ...
BigMistake's user avatar
-2 votes
0 answers
51 views

What is a viable tech stack for building webapp with user-specific reports and data upload? [closed]

I'm not wondering what the "best" tech stack is, because I know this is subjective and depends heavily on the specific context. However, I am a beginner and don't know what a viable tech ...
BigMistake's user avatar
0 votes
0 answers
67 views

Transactionally update a set of files in s3

I have a bucket with several csv files at differing paths. The problem is that I want to update these csv files transactionally. The s3 bucket should represent the "latest" consistent set of ...
Jeremy Fisher's user avatar
1 vote
1 answer
117 views

AWS multiple SQS queues on one bucket without fanout

I am coming into a project that uses an Amazon S3 Bucket for a process. For my application, I need to know (within a reasonable time - order of a few minutes, at most) whether a new file has beeen ...
SRNissen's user avatar
  • 145
0 votes
1 answer
141 views

How do I avoid reading from S3 every time the user updates a filter on the webpage?

I am building a web application where a user logs in, and uploads a CSV file with employee data to S3. This is an example of the format of the file. id name country age 3243 John Doe USA 48 Using ...
the_muffin_man's user avatar
2 votes
1 answer
348 views

In an event-driven system, what are the best practices around the number of events and size/atomicity?

If you can have one event with multiple "things to process" or one event per thing to process, what is considered the best practice? Bearing in mind, the former option may involve persisting ...
Dr. Thomas C. King's user avatar
1 vote
1 answer
83 views

Moving Transaction Logic to Middle Layer: Pros and Cons

We have an event booking system that allows patrons to add themselves to a waiting list if an event is fully booked. When somebody cancels, the system moves the first person from the waitlist into a ...
Anatol5's user avatar
  • 13
1 vote
2 answers
406 views

Multi-tenant multi-region SaaS with per-customer subdomain

I am trying to figure out how to design SaaS system that offers subdomain per customer (e.g. <customer>.example.com), where each customer is on specific region. Due to compliance and regulation, ...
del-boy's user avatar
  • 159
0 votes
0 answers
43 views

How to achieve high performance routing to Kinesis streams?

I have consumer pools that consume only events matching a specific attribute (e.g. origin=WINDOWS, the other origin=LINUX). Since ordering is important (ordering is based on instanceId, so this is the ...
Regyn's user avatar
  • 149
2 votes
1 answer
231 views

What is the best way to design a heavy lookup web app?

I am facing a bit of a conundrum with how I can structure my application, as I try to balance speed, cost, and efficiency. I currently have a website, algfinder.com, which solves states of rubik's ...
713sean's user avatar
  • 131
1 vote
1 answer
347 views

Is DynamoDB optimistic locking with one version attribute for each field in an item a valid design pattern?

It's common to implement optimistic concurrency control in DynamoDB by giving each item in the database a top-level "version" attribute and only allowing an update of an item to succeed if ...
fblundun's user avatar
  • 111
0 votes
0 answers
116 views

How would I model my NoSQL database for a conversational bot

I'm currently developing a chatbot that will be used for booking trips. The particular party I'm interested in for now is the rider. I'm using AWS's DynamoDB, because it seemed to be the most flexible ...
AlePouroullis's user avatar
0 votes
1 answer
816 views

How could creating symlinks/aliases to files on S3 work, while still taking advantage of CDN optimizations?

I am trying to imagine a website/system where only 1 copy of a file is ever stored, but multiple users get their own custom link to the file, and it uses the CDN features. For this question we can ...
Lance's user avatar
  • 2,561
4 votes
4 answers
687 views

Do Lambdas(AWS) stop making sense after a certain number of functions?

I am working on a project and created multiple lambda functions and now I am thinking about whether I made the correct decision to go this route. Reasons I chose lambda: The App will have spiky ...
AKT's user avatar
  • 149
0 votes
1 answer
216 views

Best practices to deal with realtime data in REST API, Postgres and Redis

Overview Today we have a monolithic service that deals with realtime time data. The monolithic are composed by follow stack: Django + AuroraDB Cluster (Postgres AWS) + Varnish cache and cloudfront at ...
Patrick Acioli's user avatar
1 vote
1 answer
428 views

Should I use different Buildspec files for branch builds and deployment builds?

Very recently a discussion came up regarding the usage of different buildspec.yaml files, one for branch builds and the other for deployment builds and I was wondering, since after some research I ...
Pmsmm's user avatar
  • 113
1 vote
1 answer
545 views

Storing large data shared between microservices running in containers at AWS

I'm dealing with an application that does the following: we have a microservice running on EKS called by jobs that pull XML data off an external system. The data volume can be fairly large (700MB-1GB ...
Rocket04's user avatar
  • 1,066
0 votes
1 answer
512 views

Removing successful cases from SQS batch. Is it wrong?

I have been working on a lambda that is triggered by a SQS with a batch (let's say of 5) and has automatic retry enabled. The most common problem with this kind of setup that I have seen is that, if ...
Javier Bullrich's user avatar
1 vote
1 answer
631 views

Multiple Lambdas, one database?

Having read through various microservices literature, I've seen a common recommendation that a microservice should generally be fairly cohesive, owning its own data repository, and serving as the ...
tunesmith's user avatar
  • 121
0 votes
0 answers
71 views

Do you put all CRUD Java Handler classes into a single AWS SAM template?

When building REST API with AWS Lambda + Java, do you define all lambda functions in a single AWS SAM template or create a separate project for each CRUD operation? Given that on AWS, each lambda ...
InterestedDev's user avatar
0 votes
1 answer
416 views

AWS Java Lambda Class Naming Convention?

I wonder if there is a naming convention or a best practice to name Java Classes when building AWS Lambda functions with Java for REST API? For example, if I have a Java project that contains Lambda ...
InterestedDev's user avatar
0 votes
1 answer
69 views

Table design question - DynamoDB the right choice?

Our team has started to use AWS and one of our projects will require storing approval statuses of various recommendations in a table. There are various things that identify a single recommendation, ...
CustardBun's user avatar
0 votes
1 answer
384 views

Is it a good practice to add a range key to an AWS dynamo table even if there is no need in current specification?

I am using AWS dynamodb for my project. One can choose to use a simple key (partition key alone) or a composite key (partition key + range key) when creating a dynamo db table. But once it is created, ...
Anthony Kong's user avatar
1 vote
0 answers
100 views

List Git branch currently on each EC2

We have a handful of AWS EC2s set up for testing ongoing feature developments. I'm wondering if anyone knows an easy, automated way to keep track of which git branch we're testing on each EC2. Maybe ...
UnhandledException's user avatar
0 votes
1 answer
303 views

Approaches for getting variables from AWS Parameter Store into app

I'm converting an app to run on AWS Fargate and was going to use the Parameter Store to hold configuration values. Most of the information I've seen about it revolves around injecting Parameter Store ...
Rocket04's user avatar
  • 1,066
0 votes
1 answer
747 views

Refresh Token Storage on cloud best practice?

Background I am building a web app that allows the user to integrate with multiple services like Google, Twitter, Github etc. using OAuth2.0. Currently, I retrieve the refresh token on sign-in to ...
shoaib30's user avatar
  • 101
9 votes
3 answers
6k views

How to handle backpressure in message queue

I am designing a AWS web service which is going to get 1000 TPS from devices(Android) and it has dependency on multiple downstream services. The usecase is to hit this service periodically from device,...
Jegan Babu's user avatar
0 votes
0 answers
73 views

How should I handle keys in production

I'm creating an authorisation service, which does signing using a key. For local development I was randomly generating a key on application start-up. Now I'm deploying to the cloud (currently going ...
Tobi Akinyemi's user avatar
1 vote
2 answers
256 views

In Publish-subscribe pattern can a microservice publish message for itself

I am designing a somewhat complex flow in publish subscribe pattern using AWS SNS, SQS , Microservice and Lambda functions. To break the whole flow into multiple logical & smaller sub-flows I am ...
user3001381's user avatar
-1 votes
1 answer
342 views

Design pattern to sync local databases with the cloud [closed]

I would like to find the best way to solve the following problem: I need a database for a software. The software needs to use the data to populate the UI and allow the user to interact with them (edit,...
Phrixus's user avatar
  • 101
0 votes
0 answers
22 views

AWS Serverless Service to trigger an event when something doesn't happen

I'd like to use some sort of AWS serverless technology to trigger an event when a clickstream stops receiving clicks. Imagine a website visitor clicking around a site. Within our current solution ...
Journeyman's user avatar
0 votes
0 answers
39 views

Kubernetes auto scaling

We are currently in the process of doing an infrastructure overhaul. A bit of background of what our business model currently is: We are an aggregator of bills and payment services for businesses. ...
kelvinleeweisern's user avatar
1 vote
0 answers
56 views

Designing an architecture for running multiple scripts

Our company is an aggregator of multiple payment services fragmented on the web. So instead of businesses integrating multiple services one by one, they will only need to integrate to our API, and we ...
kelvinleeweisern's user avatar
0 votes
2 answers
194 views

How to build an event sourced system with AWS (Specifically, how to deal with side effects)

So the current setup is a typical event sourced system built on AWS: Lambdas exposed with API Gateway to get the orders (commands), the domain (aggregates) apply some validations after loading the ...
Ali_Nass's user avatar
  • 101
1 vote
1 answer
266 views

AWS CodeCommit - duplicate test and production repos

I am using AWS CodeCommit with CodePipeline. I have two totally separate AWS accounts, one for test and one for production, identical Code Pipelines setup in each account, each with a corresponding ...
Journeyman's user avatar
3 votes
2 answers
419 views

Foreign Keys and Eventual Consistency

We have a project that loads metric data from various etls and services into an AWS SQS queue, where that data is processed and inserted into a metrics database, also running on AWS RDS. When we ...
Igneous01's user avatar
  • 2,343
1 vote
2 answers
304 views

When creating a RESTful API in AWS, why would you use EC2 over a Lambda integration?

In AWS you can easily create a RESTful API using API Gateway. With a serverless approach, you would have API Gateway integrate with Lambda to handle your endpoint logic. This seems like the most ...
Gary Holiday's user avatar
  • 1,171
0 votes
1 answer
315 views

Large file uploading in chunks

How to upload large(mb/gb) of video files from client to app server? The solution as of now I know is pretty simple and widely used is to break file in chunks at at client side and send http post ...
stkUser's user avatar
  • 81
0 votes
1 answer
299 views

AWS Architecture: How to search in Dynamodb?

Firstly, I want to state that this is my first time trying to build an app. I am doing this for fun, mostly as an exercise to learn system design/architecture. The goal is to build an app that would ...
fractalnature's user avatar
1 vote
0 answers
272 views

How to (simply) architecture a way to ingest multiple types of large files, process them, and send data in chunks to web services?

Note: All of this would be in AWS Hi everyone, What would you guys suggest for building something that: Takes in several different input file types (ex: csv, json, jsonl, xml, .gz, ...) That can be ...
user avatar
1 vote
1 answer
2k views

How to check if an AWS SageMaker endpoint already exists?

I am using the AWS SDK for Java V2, and I want to delete a SageMaker endpoint and a SageMaker endpoint config. What is the best way to do this? For example, I am currently first using the ...
Plonetheus's user avatar
2 votes
0 answers
392 views

Determining when to use Serverless vs Containerized application (AWS Lambda vs ECS) - Is Java Spring dead?

I work for an organization that heavily leverages AWS. There is a strong push that every team move from containers deployed on ECS to leverage AWS Lambda and step functions for (almost) every project....
greenJavaDev's user avatar
-2 votes
2 answers
226 views

What's better, using DB or Storage services to save videos?

I am creating a website that allows to teachers to uploading courses, what's better, to just use the DB or should I use storage services, and how could I know the size of the videos? I am using AWS if ...
Elzubair Mohammed's user avatar
9 votes
5 answers
696 views

Re-architecting CPU intensive Node application to handle multiple users

A few years ago, I wrote an application that allowed users to upload a file (it's a very specific file type) to a server. It then sends instructions to the server on how to visualise the data, and the ...
Mark's user avatar
  • 79
2 votes
1 answer
397 views

Should a Web Application File URL Have Public or Private Access

I am debating whether to give my files a public url or a limited private one. I am hosting various files for a mobile/web application. These will include product images and videos. Currently only ...
auerbachb's user avatar
  • 161
1 vote
2 answers
210 views

AWS Kubernetes - MySQL DB instance - RDS or Docker Mysql Image

We're trying to migrate to either a cheap hosting or aws Kubernetes to cut costs. Our website is a game site and has around 100 users. The servers include 2 mysql db, 2 tomcat server and a management ...
John Doe's user avatar
  • 111
3 votes
2 answers
387 views

AWS Serverless Microservice design

I am building an open source task management and note taking service that runs on AWS. I'm building it mostly as a hobby in my spare time and will eventually ship a mobile app that consume it into an ...
Johnathon Sullinger's user avatar
0 votes
1 answer
53 views

IOT data interpretation

This is a more architectural question and I am hoping to get more ideas out of this thread. I have a computer vision model detecting daily life activities and sending data to the server every second. ...
Aishwarya Smridhi's user avatar
-3 votes
2 answers
305 views

Cloudfront distribution having multiple domains

I am developing a multi-tenant project that will be a kind of micro "ecommerce" and therefore customers will be able to create their own stores and will be able to choose between creating a ...
João Silva's user avatar
0 votes
1 answer
321 views

designing a secure/encrypted file storage for a multi-tenant saas app with local and cloud storage in mind

as the title suggest, I need to handle the tenant files in a multi-tenant saas app. fairly common scenario I believe and should have been solved by the gurus already. right now the app is in infancy ...
Waku-2's user avatar
  • 143