Storing and providing Stock Market tickers using cloudflare
Hi, what cloudflare services would you use today to store every 60sec the prices of some Stocks (let's say 2000+) in a db/cache and also provide an endpoint for users to fetch globally.
I'm currently using Worker + separated Turso database, but I realized that maybe makes more sense to use a cache instead, or something that lives within the worker environment, rather than a separated database.
The writes would be: Max 2000 * 60 * 24 * 30 = 86400000
The reads much less,
I guess the issue here is the number of writes.
I've already explored solutions such as MomentoCache, but as I'll have to provide global access to this endpoint, I'd rather have the storage on cloudflare "next" to the endpoint, let me know if it makes sense.
Any idea? Thank you
0 Replies