Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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
Institut...
Vision
3
4
The Mendeley API
5
Background
No. 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

• D...
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

• A...
12
Depression
What’s the point? It’s doooooooomed!
13
Acceptance
Just 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

...
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 i...
Final final thought
• Kübler-Ross model of grief

• “It’s fine. It’s not too bad”

• “Who can I blame?”

• “Maybe we can l...
Thank you
21
• Find me on Twitter @MendeleyStack
Upcoming SlideShare
Loading in …5
×

APIStrat & APIDays Berlin 2015

1,508 views

Published on

Mendeley's story of how an API helped them carve out a monolith technical stack. This talk gives you some of the realities of learning RESTful APIs and retrograding features.

Lessons from the Trenches.

Published in: Technology
  • D0WNL0AD FULL ▶ ▶ ▶ ▶ http://1lite.top/LKy1q ◀ ◀ ◀ ◀
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

APIStrat & APIDays Berlin 2015

  1. 1. 1 Mendeley The Story of the Mendeley API Joyce  Stack  /  @MendeleyStack
  2. 2. 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?
  3. 3. Vision 3
  4. 4. 4 The Mendeley API
  5. 5. 5 Background No. You can’t have that.
  6. 6. 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”
  7. 7. Monolith 7
  8. 8. 8 Tackling the monolith. We’re going on a dig.
  9. 9. What did we find? • Different methodologies • Custom MVC framework • FIXMEs and TODOs • Spaghetti junction of code • Dead code 9
  10. 10. 10 Bargaining Maybe we can live with it, we can cope.
  11. 11. 11 Problems • 7 years organic growth • No independent release cycles • Inconsistent standards • Eternal version 1 • API != product • API with no client • Privileged citizens
  12. 12. 12 Depression What’s the point? It’s doooooooomed!
  13. 13. 13 Acceptance Just deal with it.
  14. 14. Everything Connected 14
  15. 15. 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. 16. 16 API v1 Rebirth.
  17. 17. Birth of API v1 • Consuming clients • Quick deployments • Versioning • Dog fooding • A dev portal • SDKs 17
  18. 18. 18 Final Thoughts The lessons learned bit.
  19. 19. 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
  20. 20. 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
  21. 21. Thank you 21 • Find me on Twitter @MendeleyStack

×