Skip to content

Add support for tmpfs mounts. #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sourenaraya
Copy link

Add support for tmpfs mounts.

Why tmpfs at all?

In some cases tmpfs volume is much faster than anonymous volume. For example, on my machine postgres is so I/O bound, that mounting tmpfs to pgdata speeds things up up to 250% 🤕.

Bind mount directory inside /tmp would do, right?

Yes, but it is less convenient. I would have to create directory beforehand and remove it afterwards. And tox can't do that. Or, at least, i am not aware how.

Where is tests?

I am open for the ideas, how one would test tmpfs volume mount.
For now i added tmpfs volume to the healthcheck-custom container.

@sourenaraya
Copy link
Author

welp, tests failed because of deprecated image, just like on my local machine. Any suggestions?

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

Successfully merging this pull request may close these issues.

1 participant