Re: DDDS, NAPTR, et Encrypted NAPTR : Interrogations

Stephane Bortzmeyer <[email protected]>
Newsgroups gmane.network.dns.french
Message-ID <[email protected]>
On Fri, Nov 18, 2011 at 08:30:32AM +0100,
 Florian MAURY <[email protected]> wrote 
 a message of 20 lines which said:

> Sauriez vous m'expliquer pourquoi applique-t-on *d'abord* les
> substitutions *puis*, si cela donne une chaine non nulle, on teste
> que le service est celui attendu, alors que comparer les services
> revient à faire une comparaison de chaines de caractères (peu
> couteux) alors que la substitution est un lancement de regexp
> (couteux). Cela me semble ruineux en terme de performances.

Un collègue anglophone suggère :

In terms of performance, it is true the regexp substitution is costly,
but it provides added flexibility so that rules can defined at the
database (DNS) rather than at the application.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.