September 30, 2011 03:30AM
On Wed, Sep 28, 2011 at 10:32:28AM +0100, Brendan Kennedy wrote:
> Hi All,
>
> I'm working with a hardware crypto accelerator at the moment and have some
> basic questions.
>
> The accelerator gives best performance when operations can be done
> asynchronously (a thread doesn't wait for a request to the engine to
> complete before submitting the next request, results are returned using a
> callback mechanism). It also preserves the request order in it's responses.
>
> Can nginx be used in this manner without having to force synchronous
> operation at an application level?
>
> For a given connection, does nginx spawn a new thread per packet or does
> each packet have to be processed sequentially?

In theory nginx may work with accelerator asynchronously, but in practice
work with OpenSSL which is (as I understand) synchronous only.


--
Igor Sysoev

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Hardware accelerator + Nginx

Brendan Kennedy 2209 September 28, 2011 05:34AM

Re: Hardware accelerator + Nginx

Igor Sysoev 1280 September 30, 2011 03:30AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready