rest - CDN for a RESTful API? -
i have restful api resources updates once week. is, each resource, update once , week , allow clients access it. it's ever changing calculator.
there 10,000 resources could requested.
is possible put behind cdn? traditionally cdns undeniably static content, ie images. i'm not sure situation sits in spectrum of dynamic <-> static.
cheers
90% of resources might not called, , if are, called few times only. wont mass of repetitive calls.
right there in comments, showed me cdn not beneficial you.
usually how cdn works first call downloaded main server regional cdn node delivered client meaning first have no improvements. following gets same regional node have speed improvement. if have little no repetitive calls, not see noticeable improvement.
as said in comments, small files, clients spending time on dns lookup on download. global dns solution (like anycast) reduce connection times. easy setup , requires little no maintenance.
Comments
Post a Comment