Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ZeroServices lightning talk

Boris Feld
January 31, 2015

ZeroServices lightning talk

A small lightning talk about ZeroServices (https://github.com/Lothiraldan/ZeroServices)

Boris Feld

January 31, 2015
Tweet

More Decks by Boris Feld

Other Decks in Programming

Transcript

  1. ZeroServices
    Micro-Services made f*****g easy.

    View full-size slide

  2. About me
    • Python Dev
    • DevOps
    • API fan
    • @lothiraldan

    View full-size slide

  3. So you want an API…

    View full-size slide

  4. The API debate
    • The API should be written in NodeJS
    • We should use PUT instead of PATCH
    • I want an xml representation
    • Collection+json is better than JSON-LD.
    • Flask / Django debate.
    • Etc…

    View full-size slide

  5. The missing debate
    • What about not HTTP interaction (filesystem,
    XMPP, IRC, …).
    • Need for a distributed architecture.
    • Integrating several languages / DB.
    • Integrate old soap API.

    View full-size slide

  6. ZeroServices
    • A distributed resource (as in REST) framework.
    • Event-driven.
    • Automatic realtime API.
    • And some others cool features:
    • Dynamically computed attributes.
    • Broker-less worker.

    View full-size slide

  7. Challenge
    • A distributed micro-services architecture with a
    realtime API and a broker-less task worker in 33
    lines of Python which compute the root of some
    values?
    • Challenge accepted!
    • https://github.com/Lothiraldan/ZeroServices/tree/
    master/examples/fosdem_2015

    View full-size slide

  8. FLOSS
    • https://github.com/Lothiraldan/ZeroServices

    View full-size slide