<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">I don’t consider myself knowledgeable enough to answer your question in regards to Squid, but I have a similar solution for my own needs.<br />
<br />
If you don’t need immediate results, you can simply send the log data to something like Elasticsearch, and transform it there later.<br />
<br />
This will not effect Squid performance in any way, and you can distribute it to micro services, which is preferable IMO.<br />
<br />
Hope that helps.</div>
</div>
<div name="messageReplySection">On 1 Feb 2022, 23:47 +0200, André Bolinhas <andre.bolinhas@articatech.com>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">Hi</span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">I’m building an external helper to get the categorization of an website, I know how to build it, but I need you option about the best language for the job in terms of performance, bottlenecks, I/O blocking..</span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">The helper will work like this.</span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">1º  will check the hot memory for faster response (memcache or redis)</span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">2º If the result not exist in hot memory then will check an external api to fetch the categorie and saved it in hot memory.</span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">In what language do you recommend develop such helper? PHP, Python, Go..</span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">Best regards</span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US"> </span></p>
</div>
_______________________________________________<br />
squid-users mailing list<br />
squid-users@lists.squid-cache.org<br />
http://lists.squid-cache.org/listinfo/squid-users<br /></blockquote>
</div>
</body>
</html>