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

Prevent scaling issues by improving efficiency of file writes #6

Open
adammcarth opened this issue Apr 1, 2014 · 0 comments
Open

Comments

@adammcarth
Copy link
Owner

JTask isn't designed to scale anywhere close to a database in terms of performance, but it still should be reasonably fast (if not faster) in low to medium scale applications.

Currently, JTask methods save(), update(), chop() and destroy rewrite the entire file with the new version.

Surely there are better ways of doing this? A way to accurately write and delete characters from dynamic positions in a file should be at least looked into. I'll get around to posting some speed tests later showing the extent to which completely rewriting files effects scalability.

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

No branches or pull requests

1 participant