My usecase for AWS Batch
My system connects to share brokers using REST APIs during trading hours. Each thread takes care of a user account. Based on the number of my users several threads have to run simulationsly. Each thread takes care of a user account with a share broker. Can I use AWS Batch service for this usecase? Or is it better to use several Amazon ec2s by calculating memory and processor requirements?
You could use AWS Batch as an alternative to EC2. Batch would take care of load balancing the EC2 fleet, queuing tasks and packing tasks onto instances based on the memory and CPU requirements of the task. If your tasks are fault tolerant you could also use a Spot Compute Environment and take advantage of spot pricing.
An alternative could be using AWS Lambda if your tasks are small and will complete within the maximum allowed lifespan of Lambda functions.
Relevant questions
My usecase for AWS Batch
Accepted AnswerAWS-User-4573028asked 18 days agoAWS not responding within 24 hours on System impaired
AWS-User-6602001asked 5 months agoAppstream 2.0 accessing on-prem file shares
Accepted AnswerAWS-User-3851483asked 2 years agoRoute 53 showing IP in browser instead of my domain name
DarkCloudasked 2 years agoIs it possible to bill the marketplace customer for batch jobs executed in the seller account ?
steffewasked a month agoDoes Amazon QuickSight have a user limit?
Accepted AnswerAWS-User-4760880asked 2 years agoQuestions about networks of brokers
ssrpnsyeasked 3 years agoAmazon Connect & Lex V2 Voice
m66rusasked 24 days agoFlow rate limits for each client
Accepted Answerakazakiasked 2 years agoWhy is there a strict rule of number of brokers as multiple of AZ?
spreeasked 7 months ago
Thank you. Lambda doesn't suit me because the program has to live for seven hours.