FastCGI Functional HandlerΒΆ

fcgi_function is a c/c++ programs which built as service function handler for listening to nginx fastcgi.

There are some core features:

  1. Atomic Hashtable - lockfree table hashing a struct for multhreading read write operation..
  2. Binary Array - is a struct array for your to add index for struct field member and it can be binary search When the field been indexed, it will auto sorted while inserting new node, please make sure the field has value pre-allocated memory, it is one time write operation only.
  3. Signal Handler - It will auto handling the signal such as segfault segment, memory out of range and auto release the thread to avoid program exit unknowingly.
  4. Multiple Workers based to handling heavy request.
  5. Built in memory allocation pool details

The benchmarks test can be found here

The step by step setup can be found here

Please visit github or wiki for more details.