6
votes
Accepted
Server architecture for short bursts of ~150 parallel CPU-heavy subqueries
Since you are CPU-limited, you need to get your hands on 150 CPU cores, one for each thread. This rules out a single server, since a server of such proportions would be prohibitively expensive – and ...
3
votes
How to efficiently process CPU intensive tasks on the server in the background
Rails has a built-in framework for background task processing, so lengthy tasks don't block the controller from returning a response to the client. It's called Active Job. (See: https://guides....
3
votes
Are AWS Lambda functions a good fit for the use case of fetching huge amount of records from database on User request?
I believe there is a 6Mb limit on the request/response, which would make it unsuitable.
https://docs.aws.amazon.com/lambda/latest/dg/limits.html
Ideally you want a resumable stream of data for large ...
3
votes
Accepted
Messaging between microservices on AWS
"We are considering creating a queue for each microservice and publishing the messages to the queues via SNS."
Yes, then your queues can subscribe to the notification and you no longer need the ...
2
votes
Server architecture for short bursts of ~150 parallel CPU-heavy subqueries
I would design my interface and task master under two assumptions:
Processing power is distributed
I don't always have enough processing power available
If the jobs are inherently long, and the ...
2
votes
Accepted
What is the threat model for deciding between unencrypted vs. encrypted EBS volumes?
Basically, you've answer you're own question. Except one nagging thing... all hard drives fail at some point, and must be disposed of. If someone disposed of the drive improperly, or simply steals the ...
1
vote
When creating a RESTful API in AWS, why would you use EC2 over a Lambda integration?
Why EC2, some points:
More control
EC2 allows for more control on what is running on the hardware like specific tech versioning etc. EC2 allows for custom provisioning. Lambda is more hands off ...
1
vote
Accepted
Upload fingerprint from android/ios to cloud
I don't know the details for Android, but iOS will most definitely not allow you to directly access the fingerprint data, let alone upload it.
By handling all biometric encryption/decryption in a ...
1
vote
Are AWS Lambda functions a good fit for the use case of fetching huge amount of records from database on User request?
If you know the limits on the response then you can use aws lambda but also make sure you know how to handle the situtation when aws lambda timed out because of reasons out of your control. How would ...
1
vote
Accepted
Are AWS Lambda functions a good fit for the use case of fetching huge amount of records from database on User request?
Sounds like a possible use case but it really depends on the type of database, how much data you're returning and if the hard limits on AWS services prohibit the use of API Gateway/Lambda.
SQL ...
1
vote
Allowing a dynamic list of IP addresses to access a specific port in an AWS EC2 Instance
Based on the tools mentioned in your post, one potential way to solve this is through the use of Lambda function. It might be overkill for your situation but you could have a function determine the ...
1
vote
Accepted
How to automate my AWS spark script
You have 2 options. If you also want to shutdown and start cluster then option 1, the AWS Data Pipeline is better:
1. AWS Data Pipeline
DeveloperGuide: what-is-datapipeline
2. Oozie Workflow
You ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
amazon-ec2 × 30aws × 11
cloud-computing × 5
azure × 4
google-app-engine × 4
security × 3
database × 2
web-development × 2
web-applications × 2
sql-server × 2
server × 2
lambda × 2
serverless × 2
java × 1
python × 1
project-management × 1
microservices × 1
sql × 1
web-services × 1
android × 1
mysql × 1
node.js × 1
authentication × 1
github × 1
ruby × 1