I have following Scenario:\[code\]PHP(Server, Writer) ----> MySQL Database <------ PHP(Client, Reader/ Writer);\[/code\]
- PHPS = PHP Server
- PHPC = PHP Client
- if the task is successful it removes it from databases
- if its unsuccessful it adds that record in database under a reports table.
- No half written records from PHPS get to PHPC.
- PHPC can cache all records locally after one query to process them.