Content pfp
Content
@
0 reply
0 recast
0 reaction

df pfp
df
@df
best practices for caching an external API of list of results to a postgres DB with a table of results. Doing updates + inserts - upsert or copy or something else. Is there a no code tool or service that does this perhaps?
9 replies
1 recast
17 reactions

jtgi pfp
jtgi
@jtgi
I store in memory with node-cache until I can’t. It gets flushed, isn’t distributed etc but for most use cases it’s fine, free and fast. If you start getting thundering herds, need locks/scale etc then redis/elasticache is ez.
0 reply
0 recast
1 reaction