Hello,
A friend and I would like to do a website to manipulate facebook data.
The structure is:
- a php webrole (contains the webpage, user oauth login, interacts with queues, and interacts with sql azure database)
- a F# worker role (does statistics and quite heavy data extractions)
The process is (assuming a new user):
user arrives on the webpage and oauth on facebook, the php webrole then posts a messages in a worktodo queue with the login info and token.
F# worker role reads the message off the worktodo queue and starts doing data crunching (facebook api ) and stats, then it writes the results in a sql azure database. Finally it posts a message to the workdone queue stating it has succeeded in doing the dataprocessing for the user.
Finally the php webrole reads the workdone queue and notices the work is done, and displays the algorithm results.
I have two questions:
is there a big flaw in this design?
what is the best way to collaborate: one person will do the php and another the F#, is there a way to use developpement storage from two different machines?
Thanks a lot! (apologizes if some find this stuff too basic, I am very much a beginner in all these matters)