Hello all ,
Im about to start coding on my invoice system, and im in need of some help/inputs.
First of all i will show you how my servers are built up.
Software
Webpage1, webpage2, webpage3 are three different servers with three different webpages which stores invoices localy on each server.
Each of the webpages sell some kind of service (premium member etc).
Then we have my invoice server which will collect all invoices from each server once per day and put them in a queue table. This means that all invoices end up in correct line (dates etc). If one of the webpages goes down the invoice server halts and will continue to connect to the crashed server to gather the missing invoices.
If it succeeds to gather all invoices from all webservers it will start generating invoice numbers to all invoices and email em to the ones who payed.
Questions and problematics
What should i use to gather all invoice data? best coding way
I could write my own API but that's something really new to me maybe point me somewhere?
I could go for direct sql connections between the servers, what security risks are there?
Im planing to buy a Pentium 4 2.4Ghz 1GBRam 750Gb bandwidth, this is just for the invoice system.
Nothing else should be on it and its not more than 120 invoices per month. I have never used a P4 before is it stable? Ive always ran Dual Xeon or WoodCrest but i dont feel like paying that much for such a small system.
I would greatly appreciate ideas and inputs , i hope my post makes sence.
Best Regards
Jawn
Im about to start coding on my invoice system, and im in need of some help/inputs.
First of all i will show you how my servers are built up.
Software
Webpage1, webpage2, webpage3 are three different servers with three different webpages which stores invoices localy on each server.
Each of the webpages sell some kind of service (premium member etc).
Then we have my invoice server which will collect all invoices from each server once per day and put them in a queue table. This means that all invoices end up in correct line (dates etc). If one of the webpages goes down the invoice server halts and will continue to connect to the crashed server to gather the missing invoices.
If it succeeds to gather all invoices from all webservers it will start generating invoice numbers to all invoices and email em to the ones who payed.
Questions and problematics
What should i use to gather all invoice data? best coding way
I could write my own API but that's something really new to me maybe point me somewhere?
I could go for direct sql connections between the servers, what security risks are there?
Im planing to buy a Pentium 4 2.4Ghz 1GBRam 750Gb bandwidth, this is just for the invoice system.
Nothing else should be on it and its not more than 120 invoices per month. I have never used a P4 before is it stable? Ive always ran Dual Xeon or WoodCrest but i dont feel like paying that much for such a small system.
I would greatly appreciate ideas and inputs , i hope my post makes sence.
Best Regards
Jawn




