In the near future, everything will be connected: cities, enterprises, human beings, and more. This reality is just over the horizon, and it brings one of the largest challenges in building distributed systems. Today, developers often look to RESTful Web APIs to solve these problems. Are current trends in API design really prepared to handle the demands of the future? What’s missing from the equation? Learn new patterns for modeling Web APIs using state machines, hypermedia, and reactive streams to meet tomorrow’s challenges and make a solid attempt at standing the test of time.
31. Connection info is in the
action parameters or link URI
• mqtt://example.org:8863/topic
• stomp+ws://example.org/topic
• amqp://example.org/topic
• { “href”: “ws://example.org”, “protocol”: “custom” }
46. Reactive Stream Control
Protocol
• Consumer controlled streams
• Runs over WebSockets
• Multiplex streams
• URI scheme definition
• Will be supported on HTTP/2 + WebSockets.
47. What can you do with
streams?
• Monitoring values over time
• Distributed data processing
• Event sourcing
• Batches
48. // TODO:
• Extract reactive hypermedia framework from
Zetta internals.
• Produce a clean specification and
documentation.
• Experiment with multiple languages/platform
implementations.
49. Hit me up!
• kswiber@gmail.com
• https://twitter.com/kevinswiber
• https://linkedin.com/in/kevinswiber
• https://github.com/kevinswiber