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

Any performance improvement? #26

Open
byungjikroh opened this issue Jun 27, 2018 · 2 comments
Open

Any performance improvement? #26

byungjikroh opened this issue Jun 27, 2018 · 2 comments

Comments

@byungjikroh
Copy link

I have been using this library for more than a year and thank you for maintaining. :)

As my sites are growing, there are a few million entries, so it takes almost 12 hours to generate sitemaps.

I have been using Repo.stream with an option(max_rows: 500) not to exceed max memory limit and Repo.transaction with options(timeout: :infinity, pool_timeout: :infinity) not to be closed before finishing generation.

Do you have any ideas to make it faster or plans to improve the performance?

Thanks for your answer in advance.

@Schultzer
Copy link
Contributor

Schultzer commented May 17, 2019

Hi @byungjikroh, I had the same issue and it seams that this repo is unmaintained, but if you still in need you can try the one I created it's about 200x faster https://hex.pm/packages/fast_sitemap.

@byungjikroh
Copy link
Author

@Schultzer Thanks for suggestion. 🙂 I've changed to Ruby for creating sitemap but I'll try yours when I have a chance!

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

No branches or pull requests

2 participants