← Back to team overview

maria-developers team mailing list archive

Re: Implementation of Threadpool


[out of topic]

i don't know if proxysql works with AIX, but maybe it's a workaround


Em ter, 17 de set de 2019 às 09:13, GUESNET, ETIENNE (ext) <
etienne.guesnet.external@xxxxxxxx> escreveu:

> Hi,
> I am implementing a threadpool system to AIX. The AIX equivalent of epoll
> / kqueue on AIX is pollset (and IOCP, but partial implementation only).
> However, pollset has only a level-trigger mode and MariaDB needs
> edge-trigger (see comments of sql/threadpoll_generic.h file). Adding a
> pollset support in MariaDB would be difficult, and probably not so
> efficient, as we need to simulate the edge-trigger behavior.
> Obviously, AIX has poll and select support. MariaDB has not. Is there a
> reason to don’t implement threadpoll through poll or select? No interest?
> Performance issues?
> MariaDB currently works on AIX without threadpool; in term of efficiency,
> do you know what can be obtained using threadpool with poll/select or a
> more modern solution?
> As far I know, SunOS/Solaris/Illumos threadpoll system (called “port”) is
> also level-trigger only, but I do not find specific functions to manage
> this.
> Thanks!
> Etienne Guesnet.
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-developers
> Post to     : maria-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-developers
> More help   : https://help.launchpad.net/ListHelp

Roberto Spadim
SPAEmpresarial - Software ERP/Scada
Eng. Automação e Controle, Eng. Financeira