Cost Efficient XL Generation for Large Products
Hey guys, title could have been better, but I am basically trying to setup an XML product feed for my store, which has 20k+ products including variants, and it constantly grows and shrinks throughout each day. I want the feed to rerun every 15 minutes, and I want to host this on vercel. I am worried about serverles costs since this is a function, below is my code with my approach I am doing caching, is this the most efficient way to handle this to reduce costs in Vercel? Is serverless (vercel) hosting bad for this use case?
Then I would setup a cron job in vercel
5 Replies
I guess a non serverless service will always be cheaper for an API like this
store as blobs
do you need constant access to it?
No its for a search engine, they told us they need it. They will access it once every 15min.
if they need all the data and you won't be mutating and accessing it directly
storing as a blob should be good enough, "super cheap"
Thanks!