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

Cache SVG Template and Count for Endpoint using GenServer #3

Open
nelsonic opened this issue Sep 9, 2017 · 3 comments
Open

Cache SVG Template and Count for Endpoint using GenServer #3

nelsonic opened this issue Sep 9, 2017 · 3 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Sep 9, 2017

https://robots.thoughtbot.com/make-phoenix-even-faster-with-a-genserver-backed-key-value-store

@leordev
Copy link
Contributor

leordev commented Dec 14, 2017

Can I also have this one?

@nelsonic
Copy link
Member Author

@leordev we first need to "benchmark" the Filesystem version of the script,
but yeah, would be good to attempt to use GenServer. 👍

note: we still need to save the data to disk after the Http response to ensure that data is safe if server crashes. 💾

@leordev
Copy link
Contributor

leordev commented Dec 14, 2017

About the save part, I'd do it in an async fashion after I already give the count response to the user...

I did not understand about the filesystem script benchmark though... Can you please elaborate it a lil bit?

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

2 participants