Project ID:
467044
Project Type:
Fixed
Budget:
$30-$250 USD
Project Description:
I am using an http get to perform routing and billing.
http://127.0.0.1/Pricing.php?sender=%p&receiver=%P&time=%t
Pricing.php:
<?php
$sender = $_GET["sender"];
$receiver = $_GET["receiver"];
if (preg_match('/^39/', $receiver)) {
$smsc_id = 'route_italy';
$price = '0.025';
}
else if (preg_match('/^1/', $receiver)) {
$smsc_id = 'route_usa';
$price = '0.03';
}
else if (preg_match('/^242/', $receiver)) {
$smsc_id = 'route_route3';
$price = '0.025';
}
else {
$smsc_id = 'route_uk';
$price = '0.025';
}
header("price: ".$price);
header("route: ".$smsc_id);
?>
---------------------------------------------------------
The problem i experience, is that i must perform routing and billing via HTTP api and do that EXTREMELY FAST and without expensive resources.
Some data to think of before bidding.
a) The values are static.
b) The values are more than 16.000 ( 16.000 different preg_match)
c) I want to evaluate your suggestion before i choose a supplier. ( If you bid with answers like - i can do it choose me - !!! dont bid)
d) I suggest you to read http://www.danga.com/memcached/
e) I need the BEST solution for this situation.
Thank you for reading my project,
Bid only if you are experienced.
Skills required:
C Programming,
Linux,
PHP,
SQL,
System Admin