applications with node.js resistance is futile, resilience is...
TRANSCRIPT
COMPUTE STORAGE SERVICES
CF Abacus Billing Engine Invoice
Metering APIs
App Usage
Monetizing Your Applications Using Cloud Foundry Abacus and Billing Engines - Pankaj Kumar, SAP
COMPUTE STORAGE SERVICES
CF Abacus Billing Engine Invoice
Metering APIs
App Usage
Monetizing Your Applications Using Cloud Foundry Abacus and Billing Engines - Pankaj Kumar, SAP
Usage event
Collector
receives and
stores usage
Meter
applies
metering
formulas
Accumulator
accumulates
daily and
monthly usage
Aggregator
aggregates by
org, space,
service etc
Reporting
provides usage
summaries
collector
DB
meter
DB
accumulator
DB
aggregator
DB
Usage
Docs
“Fallacies of distributed computing:
� The network is reliable� Latency is zero� Bandwidth is infinite� Topology doesn't change
https://blogs.oracle.com/jag/resource/Fallacies.html
Network Problems
Unreliable network
Insufficient bandwidth / latency
Application availability� Crashes� Updates
Bandwidth & Latency
Scaling� Cost, discovery, ...
Batching� ↓Connections & latency� ↑Throughput
Throttling� Limit requests
Monitoring & Discovery
Performance? Security?
Monitoring
Indexed apps� “collector-0”� Single instance
App 1 App 2
Router / LB
Indexed apps� “collector-0”� Single instance
App-to-App� Via router / LB
Container Networking
MonitoringDiscoveryPerformanceSecurity
Functional Programming� Composition
Asynchronous control flow� Generators
yieldable(throttle(retry(breaker(batch(request)))))
Node.js
Mozzle
https://github.com/Bo0mer/mozzle
Applications vs. Processes
12-factor apps� Factor VI: Processes
Abacus: set of processes
CF: single-process apps
One huge dataset� How big?� When do I delete?� Performance?� DevOps?� Costs?
Datasets
Several large datasets� How many?� How big?� Data distribution?� Load-balancing?� DevOps?� More Costs!?
Benefits� Manageability � Performance� Availability� Load balancing
https://en.wikipedia.org/wiki/Partition_(database)
Partitioning
Credits
Special thanks to all the people who made and released these awesome resources for free:� Presentation template by SlidesCarnival� Photographs by Unsplash
SlidesCarnival icons are editable shapes.
This means that you can:● Resize them without losing quality.● Change fill color and opacity.
Isn’t that nice? :)
Examples:
Now you can use any emoji as an icon!And of course it resizes without losing quality and you can change the color.
How? Follow Google instructions https://twitter.com/googledocs/status/730087240156643328
������������������������������������ and many
more...
�