I have been a software professional since I was in high school in 1998. I'm enthusiastic about open source, and I really enjoy working in unusual software systems or within strange constraints.
Caching deterministic functions like this is great fun. For larger applications of this caching method, or to distribute the cache, you can also employ memcached or Redis.
I've been programming in multiple languages for the past decade, loving every second of it.
I've tried to surround myself with highly motivated individuals who try to change the world - together.
I agree with you! We are using Redis in production exactly for this purpose.
Of course there are many other ways to accomplish this.
It was my intention to explain how to do it in a very simple and easy way, without diving too deep to implementations where the memory is cashed, timeouts and so on.
Iβm so happy to hear that you enjoyed itπ€
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Caching deterministic functions like this is great fun. For larger applications of this caching method, or to distribute the cache, you can also employ memcached or Redis.
What a fun read, thank you so much.
Hi Michael,
I agree with you! We are using Redis in production exactly for this purpose.
Of course there are many other ways to accomplish this.
It was my intention to explain how to do it in a very simple and easy way, without diving too deep to implementations where the memory is cashed, timeouts and so on.
Iβm so happy to hear that you enjoyed itπ€