[squid-users] external helper development

André Bolinhas andre.bolinhas at articatech.com
Tue Feb 1 21:54:35 UTC 2022


Hi

Thanks for your response

I will need the faster response possible because the goal is to then create ACL based on categories, so if the response to get the categories is slow this is also slow the user internet navigation

 

De: roee klinger <roeeklinger60 at gmail.com> 
Enviada: 1 de fevereiro de 2022 21:52
Para: Squid Users <squid-users at lists.squid-cache.org>; André Bolinhas <andre.bolinhas at articatech.com>
Assunto: Re: [squid-users] external helper development

 

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.

If you don’t need immediate results, you can simply send the log data to something like Elasticsearch, and transform it there later.

This will not effect Squid performance in any way, and you can distribute it to micro services, which is preferable IMO.

Hope that helps.

On 1 Feb 2022, 23:47 +0200, André Bolinhas <andre.bolinhas at articatech.com <mailto:andre.bolinhas at articatech.com> >, wrote:



Hi

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..

The helper will work like this.

1º  will check the hot memory for faster response (memcache or redis)

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.

 

In what language do you recommend develop such helper? PHP, Python, Go..

 

Best regards

 

 

_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org <mailto:squid-users at lists.squid-cache.org> 
http://lists.squid-cache.org/listinfo/squid-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220201/ac397d82/attachment.htm>


More information about the squid-users mailing list