Find Jobs
Hire Freelancers

c Queuing script with spawns

$30-5000 USD

Terminado
Publicado hace alrededor de 16 años

$30-5000 USD

Pagado a la entrega
I need a program written in C that will work in Linux. It needs to do several things. - It will do a SELECT on a mysql database for 3 fields. server, request, and ID. It will then send a URL request to http://$server/$request/ and wait for the $server to respond, when it responds, it needs to insert the "results" in another table, associated with the ID. That should be the simple part. Now, I need it to do queuing (spawning) and it should be able to do 10 spawns at any given time. So, it will grab 10 rows in this queue table, send 10 URLs to the servers, wait for responses, and once it receives 1 response, it will go ahead and do another one. It should NOT do anymore then 10 at any given time. It needs to keep track of all of them because each spawn will have a different ID, where it will need to update the other table with the results. All the configuration tags should be able to be put into the startup script. Example: ./queue -s 10 -t 20 -s would be how many spawns to do at any given time -t would be how long to wait when it runs out of things in the queue. So, for -t, let's say it continues to do a select, over and over, as spawns die off. Eventunally it's going to catch up to the table and not have anymore rows in the queue, so when there's no more rows in the table, it should wait 20 seconds (in my example) and then do another select to see if there's more in the queue. Thanks.
ID del proyecto: 3833766

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 16 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$84,15 USD en 5 días
4,9 (75 comentarios)
5,2
5,2
2 freelancers están ofertando un promedio de $148 USD por este trabajo
Avatar del usuario
See private message.
$212,50 USD en 5 días
5,0 (23 comentarios)
6,6
6,6

Sobre este cliente

Bandera de UNITED STATES
Gilbert, United States
5,0
51
Miembro desde jun 18, 2006

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.