Apidays London 2024 - Open Standards, AI and Data for Better Decisions, Ravinder Singh.pdf

APIdays_official 154 views 44 slides Oct 10, 2024
Slide 1
Slide 1 of 44
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44

About This Presentation

Challenges and Opportunities in API Utilisation and Governance Across Global Governments: A Study of Best Practices and Success Stories
Dr. Ravinder Singh Zandu, Head of Digital and Systems Team - Cabinet Office - Government Commercial Function (GCF)

apidays London 2024 - APIs for Smarter Platforms...


Slide Content

Dr.Ravinder Singh
Modernising Technology Programme Manager
Cabinet Office-Central Digital and Data Office
[email protected]

Open Standards, AI and Data
for better business decisions

Source: domo
CDDO

>2.6 quintillion bytes
Data Generated everyday
By 2025 : 463 exabytesper day
Instagram photos and videos : 95 million
Every day,306.4 billion emailsare sent, and500 million Tweetsare made.
YearData GeneratedChange Over
Previous Year
2020*64.2 zettabytes↑ 23.2 zettabytes
2021*79 zettabytes↑ 14.8 zettabytes
2022*97 zettabytes↑ 18 zettabytes
2023*120 zettabytes↑ 23 zettabytes
CDDO

Every minute of the day:
•Number of Google Searches: 5.9mn
•WhatsApp Messages: 41.7mn
•TikTokVideos: 167 mn
•$3805 for mobile Apps
•On Facebook: 510 K comments are posted, 293 K statuses are updated, and 136 K photos are uploaded.
•Instagram photos: 55 K
•Twitter Tweets: 0.5 mn
•Youtubevideos seen: 4.5 mn
•Instagram posts: 277 K
•Tinder: 1.4 mnSwipes
•188 mnemails
•103 mnspam mails
•18 mntext messages
Every Day:
•2.9 bn email users
•Number of Facebook users: 2.38 bn
•Facebook logon daily: 1.56 bn
•Mobile Facebook users: 1.74 bn
•Fake profiles: 83 mn
•Instagram users: 600 mn(400 mnactive every day)
•95 mnphotos and videos shared in Instagram
•100 mnuse stories on Instagram
•232 K skype calls

BI to AI

Image: University of Wisconsin

ØTransparency and accountability:
AI-ML remains a black box
ØData Quality and Algorithm
ØData Availability and integrity
ØData privacy and security issues.
ØResource / lack of expertise
ØWorkforce development
ØRegulations
ØLegal and ethical considerations
ØSecurity
ØLegacy systems and Integration
CDDO
Current challenges

ØEnhanced Efficiency and productivity
ØImproved service delivery to citizens
ØData-Driven Decision Making
ØCitizen Engagement and Participation
ØCost savings and resource optimization
ØEnhanced transparency and accountability
ØPolicy Writing
ØWriting Business case
ØWriting Project reports
ØSoftware coding to develop bespoke or
customisation of existing services
ØMedical field
CDDO
Opportunities

$5bn to $30bn£1bn
China (2017-2030)UK, backed by £300mn of private investment
Beijing -$2bn
Tanjin$16bn
$1.8bn$ 1bn
FranceUSA
47%
Employment opportunities taken by machines
It has been estimated that AI could add an additional USD $814 billion (£630bn) to the UK economy by 2035,
increasing the annual growth rate of GVA from 2.5 to 3.9%.
Estimated that AI has the potential to add $957 billion to India’s GDP by 2035 and boost India’s annual growth by
1.3 percentage points by 2035.
CDDO

CDDO
Stages of the
Machine Learning
Process

CDDO
Continuous ML Model and
Control Framework

Judgement BasedRules Based
Programmed
Strictly Controlled
Contained
Transformational
Tactical
Business Impact
Self-Learning
Autonomous
Unbounded
Automation
Platform
Foundation Automation
VB Scripts, Excel Macros,
Hotkeys, Unified
Desktop
ArtificialIntelligence
Virtual Assistance
RoboticsProcess Automation
CDDO

“By 2021, The RPA Market value,
While Large, It's Only A Subset Of
The $48.5 Billion Broader AI
Cubicle Spend”, Forrester 2017
of the world’s leading
organizations will implement a
Chief Robotics Officer role
and/or define a robotics-
specific function within the
business by 2019.
IDC Worldwide Robotics 2017
Predictions-Jing Bing Zhang30%
3M
workers globally will be
supervised by a “roboboss” by
2018, GARTNER
A world in which your organisation is 15% human and 85% robots?
$2.9B
of all customer
interactions will be
handled without a
human agent by
2020, GARTNER
85%
$9T
1/3of the workforce
may be replaced by
robots by the year
2025, GARTNER
“Employment costs could be cut with AI-
enabled automation of knowledge work by
2020”, Everest, Bank of America

CDDO

CDDO
Generative AI and LLM
•Abranch of AI/ML that focuses on creating or
generating new content, such as images, text,
audio, or even entire virtual worlds, based on
patterns and data it has been trained on.
•Unlike traditional AI systems that primarily focus
on recognizing patterns and making predictions
based on existing data, generative AI goes a
step further by generating new and original
content that closely resembles the data it has
learned from.
•Generative AI techniques typically rely on deep
learning models, such as generative adversarial
networks (GANs), variational autoencoders
(VAEs), or transformers.
•Generative AI has various applications across
different domains. It can be used for creative
purposes, such as generating artwork, music, or
storytellingImage: BCV

Internet of Things (IoT)
CDDO
Three Key components
•Things/Devices: physical objects or
devices equipped with sensors,
actuators, and connectivity capabilities.
•Connectivity: Wi-Fi, Bluetooth, cellular
networks, low-power wide-area
networks (LPWAN), or other wireless
protocols.
•Cloud and Data Processing: The data
collected by IoT devices is sent to cloud-
based platforms or edge computing
systems, where it is processed,
analysed, and stored.
IoT
•Smart Homes
•Industrial IoT (IIoT)
•Healthcare IoT
•Agriculture IoT

CDDO

Interoperability

We support and encourage the use of
open standards in government
CDDO

"Open Standards" are standards made available to the general public
and are developed (or approved) and maintained via a collaborative
and consensus driven process.
"Open Standards" facilitate interoperability and data exchange among
different products or services and are intended for widespread
adoption.
CDDO

•Lower Costs, Vendor Neutrality and no Lock-in
•No boundaries, more choices and variety
•Interoperability and Collaboration
•Increases Innovation
•No Licence Management
•Easier portability of application
•Regular Updates and Quick Fixes
•Flexibility and easier customisation
•Robustness and durability
•Increased available skills
•Efficient use of existing resources
•Higher Quality Software
•More options provide more opportunities to optimise
Advantages of
using Open
Standard
CDDO

CDDO

•Digital transformation engagement models
•Integration of applications, data and
systems
•Optimise channel performance while still
maintaining business continuity
CDDO

•Address disparity
•Take advantage of expertise of the back-
end systems-Increased productivity
•Enable innovation with data with more
accurate and trustworthy data
•Derive enterprise-grade artifacts
•Faster decision-making
•Cost-effectiveness
CDDO

•Legacy system integration
•Enterprise application integration (EAI)
•Third-party system integration
•Business-to-business integration

Ways to connect systems
•Middleware
•Webhooks and Message Queues
•Electronic Data Interchange (EDI)
•Application Programming Interfaces (APIs)
CDDO

System integration Approaches
•Point-to-point integration model(P2P) Star/Spaghetti
•Hub-and-spoke model
•Enterprise Service Bus (ESB) model
•Integration Platform as a Service (iPaaS)
CDDO

Application
Programming
Interface (API)

Why we need APIs
•Improved collaboration: The average enterprise uses almost 1,200 cloud
applications
•Easier innovation and flexibility: A company began as an API with just seven
lines of code. The company has since partnered with many of the biggest
enterprises in the world, diversified to offer loans and corporate cards, and was
recently valued at USD 36 billion
•Data monetization: API economy initially free and then charge. When
AccuWeather launched its self-service developer portal to sell a wide range of API
packages, it took just 10 months to attract 24,000 developers, selling 11,000 API
keys and building a thriving community in the process.
•Added security: APIs create an added layer of protection between your data and
a server. Developers can further strengthen API security by using tokens,
signaturesand Transport Layer Security (TLS) encryption; by implementing API
gateways to manage and authenticate traffic
CDDO

How do APIs work
CDDO

Traditional integration architecture
Centrally provisioned and administered
Modern integration architecture
Fine-grained deployment, decentralized ownership,
and cloud native infrastructure
CDDO

Common API examples
•Universal logins
•Third-party payment processing
•Travel booking comparisons
•GoogleMaps
•Twitter
CDDO

•Open APIsareopen sourceapplication programming interfacesyou can access with the
HTTP protocol. Also known aspublic APIs, they have defined API endpointsand request and
response formats.
•Partner APIsareapplication programming interfacesexposed to or by strategic business
partners. Typically, developers can access these APIs in self-service mode through apublic
APIdeveloper portal. Still, they will need to complete an onboarding process and get login
credentials to access partner APIs.
•Internal APIsareapplication programming interfacesthat remain hidden from external
users. These private APIs aren't available for users outside of the company and are instead
intended to improve productivity and communication across different internal development
teams.
•Composite APIscombine multiple data or service APIs. These services allow developers to
access several endpoints in a single call. Composite APIs are useful in microservices
architecture where performing a single task may require information from several sources.
Types of APIs
CDDO

Types of API Protocol
•SOAP(Simple Object Access Protocol) is an API protocol built with XML, enabling users to
send and receive data through SMTP and HTTP. With SOAP APIs, it is easier to share
information between apps orsoftware componentsthat are running in different environments
or written in different languages.
•XML-RPCis a protocol that relies on a specific format of XML to transfer data, whereas SOAP
uses a proprietary XML format. XML-RPC is older than SOAP, but much simpler, and
relatively lightweight in that it uses minimum bandwidth.
•JSON-RPCis a protocol similar to XML-RPC, as they are both remote procedure calls
(RPCs), but this one usesJSONinstead of XML format to transfer data. Both protocols are
simple. While calls may contain multiple parameters, they only expect one result.
•REST(REpresentationalState Transfer) is a set ofweb APIarchitecture principles, which
means there are no official standards (unlike those with a protocol). To be aREST API (also
known as aRESTfulAPI), the interface must adhere to certain architectural constraints. It’s
possible to buildRESTfulAPIs with SOAP protocols, but the two standards are usually viewed
as competing specifications.
CDDO

Microservice Architecture
A microservices architecture consists of a collection of small, autonomous services. Each service is self-
contained and should implement a single business capability within a bounded context
CDDO

Big data architecture
A big data architecture is designed to handle the ingestion, processing, and analysis of data that is too large
or complex for traditional database systems

IoT architecture
Internet of Things (IoT) is a specialized subset of big data solutions. The following diagram shows a possible
logical architecture for IoT. The diagram emphasizes the event-streaming components of the architecture
CDDO

API Standard
Ten Commandments
•Have you considered whether the need for your API endpoint is most appropriatelyserved
by a new API or an existing API (or extending existing functionality)?
•Have you got confidence that an external developer with no additional context can
understand and integrate with your API?
•Have you defined appropriate Authorisation requirements for your API?
•Have you considered the risks and potential impact associated with exposing your API?
•Have you established owners for the key processes required for your API?
•Have you built a mature understanding of volumetrics (or expected volumetrics) of your API
and what requirements you have to meet them?
•Have you comprehensively defined the performance metrics that your API needs
tocapture?
•Have you defined Transaction Monitoring / Auditing events that are appropriate for
yourAPI?
•Have you considered support model requirements for your API?
•Have you ensured that your API has been built with the expected level of technicalquality?
CDDO

•ONS -Integrated Data Services
•UKRI –Administrative Data Research
•Amazon uses Big Data, and the warehouse closest to the customer is
selected and shipping costs to be considerably reduced by 10-40%
•1.71 bn Facebook users-targeted marketing and influences
•Election result influence
•Open Data
•Open API
CDDO

CDDO

CDDO

CDDO