Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

memory mapped files #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

memory mapped files #9

wants to merge 3 commits into from

Conversation

briangu
Copy link

@briangu briangu commented Aug 14, 2011

Hi,

Thanks for your netty tools. I was looking at the file handler and converted it from using a memory buffer to a memory mapped file. Please take a look and pull if you like.

Brian

@briangu
Copy link
Author

briangu commented Aug 15, 2011

I've updated the code and done some initial testing. Want to do more testing before I call it done. Take a look...I think it could be way faster than the prior implementation as no memory is every used to cache the file, as it's all memory mapped based.

@cgbystrom
Copy link
Owner

Sorry for the delayed response, busy at work. I'll take a look at this soon.

@briangu
Copy link
Author

briangu commented Aug 22, 2011

No worries. I'm in the process of combining some of your tools and some other tools into a single web server package. I've extended the tools to support HttpChunk proxies to the file system or Amazon S3. Additionally, it will support virtual hosts via a modified version of your RouterHandler. I've made some tweaks to the static file system handler to enable it to function normally as a rails-like /public folder. It's shaping up into a very nice little netty-based customizable webserver.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants