Đã hoàn thành

Project 1 ( = Program 1 & 2) "Calling some Amazon APIs in Golang, storing into Postgresql"

Program 1: /usr/local/bin/mturk-hit-monitor

This is run from cron once every minute.

It runs

select hit_id from mturk_job_details on image_id

where not(ready_for_collection) and not(collected)

and calls GetHit in random order for each hit that it finds there. To

stop the problem of a cascade of mturk-hit-monitors running, if is

about to call GetHit but it is now more than 59 seconds since the

program started, it quits instead.

If GetHit says that an assignment has been completed by all workers

then mturk-hit-monitor:

- sets ready_for_collection = true

- set when_ready_for_collection = timenow

- triggers a postgresql "NOTIFY collection_ready, $hit_id"

- spawns /usr/local/bin/collect-results -g $hit_id

--------

Program 2: /usr/local/bin/collect-results -g $hit_id

/usr/local/bin/collect-results -a

If passed the "-a" argument, it acts like it has been invoked with "-g ..." for every record in mturk_job_details

where ready_for_collection = true and collected = false.

When passed with the "-g ..." option:

- Starts a SQL transaction

- It checks to make sure that mturk_job_details.ready_for_collection is true and collected = false where hit_id = $hit_id

- It looks up which image_id this corresponds, running a

"select image_id from mturk_job_details where ... for update skip locked"

- Calls ListAssignmentsForHit and GetAssignment to get the mturk workers' answers and puts them into the table human_reported_mirror_positions, or if the response was "nothing to label" into human_reported_mirrorless_images

- Note that the positions that the human beings report need to be multiplied by the scale_factor from the mturk_job_details page.

e.g. if the human reports (35,25) for the top left hand corner and scale_factor=2 for the job, then what gets stored in human_reported_mirror_positions is top_edge=70, left_edge=50.

- Sets collected = true

- Sets when_collected = timenow

- updates the images_received table setting worker_answers_fetched = true and works_answers_fetch_timestamp = timenow

- commits the transaction

- triggers a postgresql "NOTIFY collection_complete, $image_id"

- spawns /usr/local/bin/calculate-consensus -i $image_id

Kĩ năng: PostgreSQL, Linux, Golang, Amazon Web Services

Xem nhiều hơn: program lowers prices amazon, bid freelancer project program coding, anti theft design project program, similar project program, school project program, deploy project program, project program voting tally, java quiz project program, day birth mini project program, library management project program, clock project program, free example j2me project program, wii project program, openscout project program, vb6multi project program, exercise project program, small flyer help project program, project program written basic program

Về Bên Thuê:
( 11 nhận xét ) Beecroft, Australia

ID dự án: #24096923

Được trao cho:

ankurs13

Hello. I am an experienced independent developer who has worked extensively with Go, AWS, Postgres and Linux and can create your mturk-hit-monitor (cron) and collect-results scripts compiled from go code that will do t Thêm

$1000 AUD trong 14 ngày
(1 Nhận xét)
2.9

13 freelancer đang chào giá trung bình $777 cho công việc này

rinsadsl

Hello, I have experience in working with Posgres and Linux. I can do your work in Go language, let me know if you are interested in continuing with me Thank you

$1100 AUD trong 20 ngày
(168 Nhận xét)
7.5
augurstech

Dear Employer, Greetings from Employer. Coming to your project scope you can hire our exp developer with having exp of more than 6 years and your requirements perfectly match our skills which are Golang, AWS , Postgre Thêm

$900 AUD trong 35 ngày
(9 Nhận xét)
6.2
alonlong

● I have been in software development for 10+ years. ● I am a Golang developer with 5+ years of experience. ● I was responsible for many projects which is based on the microservice architecture and the design and deve Thêm

$666 AUD trong 7 ngày
(11 Nhận xét)
4.6
rehanalan

**********AWS Expert in + RDS +S3 + Ec2 + Docker + Mysql + UBUNTU + Linux EXPERT*********** i can Complete your project, lets discuss more about your project With 3 years of Experience , currently monitoring 87 serve Thêm

$500 AUD trong 2 ngày
(7 Nhận xét)
2.2
fervensong

Hello, I read carefully about your project. I want to know how you can test the result. I am an expert in golang and linux. I hope to discuss more detail with you by chatting. Best regards.

$700 AUD trong 7 ngày
(1 Nhận xét)
2.0
gargankit642

Nice to meet you I am an Amazon Cloud Architect for the web infrastructure serving 90 million page impressions and 12 TB Internet traffic per month. The AWS services I use are EC2, ELB, MySQL RDS, VPC, CloudFront, Elas Thêm

$559 AUD trong 7 ngày
(0 Nhận xét)
0.0
nelishazoli001

Hello, Thank You For Job Posting :) I have 6+ years of experience in Website and Application development. I have checked The requirement and understand that as well. I have created SIMILAR in past. Do you want to Thêm

$700 AUD trong 7 ngày
(0 Nhận xét)
0.0
AITSoft

Hello, I hope you are doing great. I have good experience with doing similar jobs. You can check my portfolio here:https://www.freelancer.com/u/AITSoft I can do this job because have great experience with Amazon Web Se Thêm

$1000 AUD trong 21 ngày
(0 Nhận xét)
0.0
$777 AUD trong 10 ngày
(0 Nhận xét)
0.0
milosjovanovic88

Hi, My name is Milos from Serbia who is specialized in Web Dev. I am familiar with PHP/AWS/Postgre. I estimate to complete your project within a short time after clarifying all requirements, project details. I would ap Thêm

$600 AUD trong 5 ngày
(0 Nhận xét)
0.0
golurk

hello I can do these 2 programs for you, also tell you that I can use ORM in database issues with postgres or make complete queries, I would like to work for you, greetings

$600 AUD trong 7 ngày
(0 Nhận xét)
0.0
mars4tiger

Hi there, I have looked at both projects you posted, and I am very interested on them. It looks like a better design could be to deploy this as a Linux daemon/service, instead of executing these CLI commands via cron Thêm

$1000 AUD trong 7 ngày
(0 Nhận xét)
0.0