My usecase for AWS Batch

0

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?

gefragt vor 2 Jahren288 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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.

AWS
Mark_S
beantwortet vor 2 Jahren
  • Thank you. Lambda doesn't suit me because the program has to live for seven hours.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen