apistrat & apidays berlin 2015

21
1 Mendeley The Story of the Mendeley API Joyce Stack / @MendeleyStack

Upload: mendeleystack

Post on 17-Jul-2015

712 views

Category:

Technology


7 download

TRANSCRIPT

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 & KPI’s

Doing Research But how about my PASSION?

Vision

3

4

The Mendeley API

5

BackgroundNo. You can’t have that.

6

“No we can’t add more users”

“No we can’t add a column to that table”

“No we can’t do realtime sync”

“No”

Monolith

7

8

Tackling the monolith. We’re going on a dig.

What did we find? •Different methodologies•Custom MVC framework• FIXMEs and TODOs•Spaghetti junction of code•Dead code

9

10

BargainingMaybe 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

DepressionWhat’s the point? It’s doooooooomed!

13

AcceptanceJust deal with it.

Everything Connected

14

Reality•Your first client will hate you•You won’t 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 it’s never ending

15

16

API v1Rebirth.

Birth of API v1•Consuming clients•Quick deployments• Versioning •Dog fooding•A dev portal •SDKs

17

18

Final ThoughtsThe lessons learned bit.

Final Thoughts • Focus people on the long term•Software is not an asset•Make services disposable•Recognise when it’s too big•Recognise client pain

19

Final final thought• Kübler-Ross model of grief• “It’s fine. It’s not too bad”

• “Who can I blame?”

• “Maybe we can live with it”

• “It’s 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