Welcome! Log In Create A New Profile

Advanced

Architecture for asynchronous Mongo GridFS module for Nginx

Alexander Rodin
January 20, 2016 12:08PM
Hi all!

I'm researching possible approaches to development of asynchronous GridFS
module for Nginx (because the existing one blocks the main Nginx thread).

I've read the source codes of most modules from
https://www.nginx.com/resources/wiki/modules/ and found that all of
asynchronous modules (e.g. Postgres or Mongo) implement the database
protocol by itself working with upstream. Is it the only way? I would like
to use mongo-c-driver (https://github.com/mongodb/mongo-c-driver) but I
need an example how to embed it into Nginx event loop to make non-blocking
module.

Could you suggest any module that uses the same approach or some manual
about it?

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

Architecture for asynchronous Mongo GridFS module for Nginx

Alexander Rodin 663 January 20, 2016 12:08PM

RE: Architecture for asynchronous Mongo GridFS module for Nginx

tigran.bayburtsyan 494 January 20, 2016 12:32PM



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

Online Users

Guests: 156
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