Skip to content
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

Experimental sync_assets feature to speed up asset compilation #119

Merged
merged 2 commits into from
Dec 11, 2014

Conversation

martinemde
Copy link
Contributor

This has been tested on a few large deploys and appears to work. I think it's safe to add it as an experimental option that we can try for a while.

  • This doesn't change the choice of private vs shared vs shifting assets. Assets can still be managed in the way an application prefers with or without this features. Picking a strategy to use for asset sync shoehorns everyone. (This may be what I end up doing in the long term, since there's likely a "winner" of the strategies. Private is my current favorite for isolation and rollback tolerance.)
  • The mechanism I have available for pre-building stuff like this on one server is underdeveloped. I'd like to figure that part out before unmarking this as experimental.

@martinemde martinemde changed the title Rough draft of sync_assets feature (speeds up asset compilation) [NEEDS FEEDBACK] Rough draft of sync_assets feature (speeds up asset compilation) Oct 9, 2014
Minor bump for new features that are backwards compatible.
When set to true, asset compilation will be executed on the primary
deployment server and rsync'd to other servers.

This feature is experimental.

It has been tested live but the current approach may not prove to be the
most effective way to speed up asset compilation. Future versions will
attempt to maintain a similar feature, but the implementation is subject
to change.
@martinemde martinemde changed the title [NEEDS FEEDBACK] Rough draft of sync_assets feature (speeds up asset compilation) Experimental sync_assets feature to speed up asset compilation Dec 10, 2014
@martinemde
Copy link
Contributor Author

Fixes #70

jlindley added a commit that referenced this pull request Dec 11, 2014
Experimental sync_assets feature to speed up asset compilation
@jlindley jlindley merged commit 0cce74d into master Dec 11, 2014
@jlindley jlindley deleted the compile-sync branch December 11, 2014 22:24
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.

2 participants