際際滷

際際滷Share a Scribd company logo
1
Mendeley
The Story of the Mendeley API
Joyce	
 Stack	
 /	
 @MendeleyStack
World of Researchers
2
5
Build institutional
Reputation
showcase
Impact
find & win
Grants
Promote
research
expand
Institutional
network
Fulfil
Administrative
duties
Imposing researchers with many challenges & KPIs
Doing Research
But how about my PASSION?
Vision
3
4
The Mendeley API
5
Background
No. You cant have that.
6
No we cant add more users 

No we cant add a column to
that table

No we cant do realtime sync

No
Monolith
7
8
Tackling the monolith.
Were going on a dig.
What did we find?
 Different methodologies

 Custom MVC framework

 FIXMEs and TODOs

 Spaghetti junction of code

 Dead code
9
10
Bargaining
Maybe we can live with it, we can cope.
11
Problems
 7 years organic growth 

 No independent release cycles

 Inconsistent standards

 Eternal version 1

 API != product 

 API with no client

 Privileged citizens
12
Depression
Whats the point? Its doooooooomed!
13
Acceptance
Just deal with it.
Everything Connected
14
Reality
 Your first client will hate you

 You wont make them care about the new API

 You will compromise on design

 Your client will have specific behaviour

 You will feel REST symmetry pain

 You will feel that its never ending
15
16
API v1
Rebirth.
Birth of API v1
 Consuming clients

 Quick deployments

 Versioning 

 Dog fooding

 A dev portal 

 SDKs
17
18
Final Thoughts
The lessons learned bit.
Final Thoughts
 Focus people on the long term

 Software is not an asset

 Make services disposable

 Recognise when its too big

 Recognise client pain
19
Final final thought
 K端bler-Ross model of grief

 Its fine. Its not too bad

 Who can I blame?

 Maybe we can live with it 

 Its too big a problem. Doomed

 Might as well get on with it
20
denial
anger
bargaining
depression
acceptance
Thank you
21
 Find me on Twitter @MendeleyStack

More Related Content

APIStrat & APIDays Berlin 2015