Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

average API response time

 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks

The assignment mentions average API response time <=5s blabla.

I want to ask is this "API" refer to web services API to external systems only or all method calls in web/ business (EJB) tiers? Such that load a JSP page is considered calling API.

Thanks
 
Mike Degteariov
Ranch Hand
Posts: 145
8
Java Mac MySQL Database Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey K. Tsang,

This requirement refers to your system, not to external integrations.

Basically, you are presented with the requirement: make sure you can deliver 5s or less on calls between request and response to your application

To tackle this requirement, you should consider multiple load balanced application server nodes, possibly with nodes dynamically allocated if demand surges (hardly achievable on physical nodes, but works well with cloud-based ones).
Also common tactics to address performance are using cache, increase throughput between nodes, use parallel rather then sequential calls where possible, using async calls.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic