3 ms·
Because this is not always a benefit. Want to cache something in between requests? You have to use memcached/redis. Want to have some background or periodic pro
by q3k 7y ago
Because this is not always a benefit. Want to cache something in between requests? You have to use memcached/redis. Want to have some background or periodic processing? Set up cronjobs, and/or use an external job queue system.
Sure, if you're writing a simple CRUD app with and RDBMS backend it can be just fine. But when you're dealing with more complex work just being able to start a goroutine or use an in-memory cache structure is so much nicer than having to deal with external systems.