Input compression module for Nginx, written in C/C++. -- 2

Closed Posted 4 years ago Paid on delivery
Closed Paid on delivery

Allow nginx proxy w/cache to compress and store the compressed files and deliver them pre-compressed directly to all future clients instead of storing the uncompressed files and compressing on output to every client.

Suggested implmentation: Hook into the proxy's data-from-upstream-server pipeline and compresses the input body using the existing nginx gzip module and adds the correct header. Practically just moving the entrypoint for gzip compression from output to input.

Relevant details:

- Module should use the existing gzip module's settings such as what mime types to compress, compression level, etc. If implemented as suggested, this can probably be offloaded to the gzip module entirely without this module knowing anything about those settings.

- Output from upstream server is ~99% uncompressed, so module also needs to check for pre-compressed input.

- Compression policy choice:

Either 1. Always compress (Easiest)

or optimally 2. check whether file will be cached and/or client supports gzip before compressing (More development work)

(2 prevents us from compressing and then decompressing a file that will not be cached and is delivered to a client not supporting gzip. Not critical but nice-to-have.)

- Clients not accepting gzip can get uncompressed files by activating the existing nginx gunzip module (decompresses cached files on-the-fly)

C Programming C++ Programming Linux Nginx

Project ID: #21789275

About the project

5 proposals Remote project Active 4 years ago

5 freelancers are bidding on average $627 for this job

drozhkov

hi, i have experience with Nginx modules development, so probably can handle this project too ......

$750 USD in 7 days
(8 Reviews)
4.8
athminteam

Hi, This is Vipin, an alumnus of IIT Kanpur. I have 6+ years of experience in customized software, web and mobile app development and has expertise in Android, iOS, Python, Magento, PHP, HTML, Java, Angular and Ioni More

$500 USD in 7 days
(1 Review)
0.5
usmanirfanuaf

Good Day! Here I’m a developer with experience of 3+ years. Using C sharp I’ve made many powerful software and applications. Your project will be a chance to explore myself more. Contact me if you are interested!

$500 USD in 7 days
(1 Review)
0.0
trulsnyberg

Nice to meet you I am an Amazon Cloud Architect for the web infrastructure serving 90 million page impressions and 12 TB Internet traffic per month. The AWS services I use are EC2, ELB, MySQL RDS, VPC, CloudFront, Elas More

$637 USD in 9 days
(0 Reviews)
0.0