Benim linux cinleri yazmak için tercih edilen yolu nedir?

0 Cevap php

Hello to All

I have a PHP website that should use some cached data (stored in Memcache, for example). The data should be stored in cache by daemons fetching it from web services and some of it should be stored in MySQL server too.

Cinleri aşağıdakileri yapmanız gerekir:

  1. , Döviz kurları getir onları ayrıştırmak ve ayrı makinelerde iki ayrılmış memcaches içinde veritabanında saklayabilirsiniz gibi.
  2. Mali endeksleri Fetch ve ayrılmış memcaches depolamak.
  3. Büyük bir XML veri almaya ve bu iki ayrılmış memcaches depolamak.

C / C + + / Perl / PHP / Python bu cinleri yazma kabiliyetim var.

I have to decide in which language/script I should choose in order to implement these daemons. The advantage of using PHP for this is that I can use API used by the website application itself. Another advantage is that PHP is easy and everyone knows it so I won't be tied up to maintaining these daemons but on the other hand PHP is slower and consumes much more resources.

PHP daha başka bir dil kullanmanın ana dezavantajı C / C + + / Perl ile yazılmış kod korumak zor olmasıdır. Günümüzde, ben C / C + + / Perl kullanarak görevleri bu tür yapmak için yaygın değil sanırım. Ben söyleyerek yanlış mıyım?

Ne bu durumda yapmamı önerirsiniz?

0 Cevap