Find Jobs
Hire Freelancers

Python workers, autoscale, SQL Alchemy, database connection pool

$2 USD / hour

Zavřený
Zveřejněno před více než 5 roky

$2 USD / hour

Description of our setup: We have an API which has a connection pool with 10 concurrent permanent database connections. For the API we use use sqlalchemy, because the database models were written for sqlalchemy. We have different types of python workers, lets call them type A, type B, type C. Each type of worker is processing different things by design. Description of our problem: We are using AWS EC2 instance autoscaling feature to scale all types of workers so that we could have for example 6 A, 20 B and 50 C type workers as needed. We are using the basic RDS instance for our MySQL database which I believe has 66 MaxConnectionLimit. The problem is that currently each worker is creating a permanent connection to the DB, which means that at some point we will hit the 66 concurrent connection limit and the app will crash. The work scope Have a solution so that the app would not crash when the total number of all types of instances is more than the MaxConnectionLimit. I will not be able to share our source code, therefore you will have to make a simple app that matches our design with some dummy workers, a simple way to launch a new worker so that we can test the case when there are more workers than the MaxConnectionLimit. If you have read all the description and understand the task, please start your proposal with !SREEHC.
IČ projektu: 18280403

O projektu

2 nabídky
Vzdálený projekt
Aktivní před 5 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
2 freelanceři nabízejí v průměru $9 USD/hodinu za tuto práci
Avatar uživatele
!SREEHC. Hello Prospects, I will create the app. Thank for posting details. Please provide complete details. Thank you, With Regards,
$2 USD v 40 dnech
5,0 (3 recenze)
2,6
2,6

O klientovi

Pochází z UNITED STATES
Santa Clara, United States
5,0
18
Ověřená platební metoda
Členem od říj 8, 2014

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.