lmirosevic
lmirosevic

Reputation: 16317

What is a fast/scalable way to write a RESTful API today?

I will be writing a RESTful API soon and am wondering as to which technology lends itself most to making the end product scalable and fast.

Currently I am considering:

Upvotes: 1

Views: 459

Answers (1)

Jan Algermissen
Jan Algermissen

Reputation: 4978

I strongly suggest you look into the fascinating topic of HTTP caching. It is not so much the server implementation that determines your response performance or server capacity but how you take advantage of cachability ( which is a core rationale behind REST's design).

Remember: the fastest request is that which you do not need to handle but that comes out of a cache. Technologies like edge side includes (ESI) let you split your representations into parts that have different volatily.

On the sever side, use the tools that suits you development process needs.

Upvotes: 2

Related Questions