Smallworld 5 Migration Experiences

Download Report

Transcript Smallworld 5 Migration Experiences

© Globema 2015. All rights reserved.
1
ABOUT GLOBEMA
Leading provider and integrator
Energy Management
in Smart Grid &
Renewables
Real-Time
Advanced
Tracking of
Distribution
Assets & Staff
Management
of geospatial and location-based
software solutions
that enable effective planning,
management and control
Optimizing
Decisions
with Maps
& Data
of networks, assets, resources and
works
in utilities, telecoms & other
enterprises
© Globema 2015. All rights reserved.
2
GLOBEMA
SOLUTIONS
& SERVICES
Mobile
Workforce
Management
Network
Inventory
& Service
Handling
ABOUT GLOBEMA
01
02
03
© Globema 2015. All rights reserved.
Proven software development process
• Based on Agile
• Best Practices of SCRUM, FDD, MSF, RUP
• Project Managers Certified in PRINCE2
Globema’s own apps and add-ons
• Smallworld FAT client
• Mobile and web integrated applications
Outsourcing – product development
• Smallworld™ PNI for GE
• Smallworld™ LNI for GE
• Smallworld™ NIG for GE
04
Experience in systems integration
• SAP, Clarify, various SCADA systems,
various NMS systems
05
Experience in conducting implementation
projects worldwide
06
3
Magik programmers to hire
• MSA agreement with GE
• Outsourcing and nearshoring
• GE Products development: GDO, EO
Why Smallworld 5?
© Globema 2015. All rights reserved.
4
Windows
NT 4.0
(1996)
199x
MagikSF
Virtual machine
designed by
Smallworld
Windows
XP
(2001)
2000
Smallworld
acquired
by GE
Google
Maps
(2005)
Java 8
(2014)
2003
2006
2012
2015
4.0
4.1
4.3
5.0
Smallworld platform releases
Smallworld GIS platform history
© Globema 2015. All rights reserved.
Android
1.0
(2008)
5
Magik
on
Java
GOALS OF SMALLWORLD 5
Modern technology stack
based on the Java VM
Improved performance and
user experience
Simplified integration and
interoperability
Straightforward upgrade
© Globema 2015. All rights reserved.
6
JAVA VM
Benefits of adopting Java VM
• Multithreading, 64-bit processing
• Optimized virtual machine
JIT (just-in-time) compilation
Advanced memory allocation algorithms
• Profiling tools available
• Broad availability of Java libraries
© Globema 2015. All rights reserved.
7
USER EXPERIENCE
SWIFT – Smallworld User Interface Toolkit
Foundation of a modern user interface
Successful customer trials
Adopted or emulated in Smallworld 5
GE and Google Global partnership
Google Maps, StreetView and address search
Integrated with network data
© Globema 2015. All rights reserved.
8
INTEGRATION AND INTEROPERABILITY
Preserving your existing investment
• Applications can still be written in Magik
• Existing SWAF applications supported
• Extends GE’s open architecture policy
Reducing TCO
• Availability of libraries and tools
• Open standards
• Simplified integration – e.g. Java to Java
Leading technology for many years into the future
© Globema 2015. All rights reserved.
9
EASE OF UPGRADE
• GE’s objective is to support smooth and successful upgrades
Working closely with Globema and other partners
• Limited changes between 4.3 and 5.0
Minimal data model or API changes
Minimal functional changes
• Smallworld 5 portfolio released in Q4 2015
Smallworld Core, PNI, LNI, EO, GSS, NV, NIG, …
© Globema 2015. All rights reserved.
10
GLOBEMA INVOLVEMENT
• LNI
Developed for GE by Globema since 2008
Migration to version 5.0 started in November 2014
5.0 released in November 2015
• Other products
Telecommunication – PRM, ONA, CATV Design
Utilities – DH.GIS (district heating), EL.GIS (power grid)
• Customers’ applications
© Globema 2015. All rights reserved.
11
GLOBEMA INVOLVEMENT
• LNI
Developed for GE by Globema since 2008
Migration to version 5.0 started in November 2014
5.0 released in November 2015
• Other products
Telecommunication – PRM, ONA, CATV Design
Utilities – DH.GIS (district heating), EL.GIS (power grid)
• Customers’ applications
© Globema 2015. All rights reserved.
12
ARCHITECTURE COMPARISON
Application
Globema Products + Customisation
Magik Modules
GE Applications (PNI, LNI, EO, GTO)
Smallworld Core
MagikSF Virtual Machine
Database
(SWMFS)
© Globema 2015. All rights reserved.
13
Smallworld
4.3
ARCHITECTURE COMPARISON
Application
Globema Products + Customisation
Magik Modules
GE Applications (PNI, LNI, EO, GTO)
Smallworld Core
MagikSF
Java Virtual
Virtual
Machine
Machine
Database
(SWMFS)
© Globema 2015. All rights reserved.
14
Smallworld
5.0
Our experiences
© Globema 2015. All rights reserved.
15
MAGIK (PROGRAMMING LANGUAGE)
•
•
•
•
•
Still the primary programming environment
Excellent backward language compatibility (> 99%)
Code compiled to Java VM
Noticeably faster
Integration with Java
libraries
© Globema 2015. All rights reserved.
16
DATABASE (VMDS)
• No functional changes
Practically 100% backward compatible
• Faster access
API read even 4x times faster in some scenarios
• Same communication protocol
Improvements planned after 5.0 release
• Concurrent access for 4.x and 5.0 clients
© Globema 2015. All rights reserved.
17
USER INTERFACE
• New set of UI elements – SWIFT
New icons, different modern look
Emulation of “old” components from version 4.x
4.3
• No 100% backward compatibility
Most of the code works without changes
• Whole user interface needs review
5.0
Large number of small changes
© Globema 2015. All rights reserved.
18
USER INTERFACE - CHALLENGES
• Emulation is not perfect
Documentation does not clearly describe all differences
How to find the missing 1%
• Keyboard handling
Different notifications
Some shortcuts do not work
• Performance
© Globema 2015. All rights reserved.
19
THREADING
• Threads are different in Smallworld 5
Native Java threads
Pre-emptive thread switching
• Basic conversion well-documented
• Issues
UI synchronization
Some features are missing
In one case significant application re-design was needed
© Globema 2015. All rights reserved.
20
TRIVIA
• Magik images are gone
closed image
open image
 compile code into jars
 use database contexts
• Conversion of icons .ico  .png
• Keep Smallworld 5.0 directory locally
Disable localisation products if possible (to be fixed in 5.1)
• perform()
Do not redefine perform() method in Magik
Even a single re-definition can seriously degrade DB write performance
© Globema 2015. All rights reserved.
21
DEVELOPMENT ENVIRONMENT
• MDT – limited experience
Difficult to change developers’ habits
• Emacs
Not officially supported – but still works!
Including class browser
• Native Java diagnostic tools (performance, memory)
• Developer tools not available in 5.0
© Globema 2015. All rights reserved.
22
OTHER CHANGES
• Documentation and context help
Based on HTML 5
Context help delivered with application
Documentation available on-line on GE servers
• Google Maps and StreetView
Built in the application
Address search
StreetView integrated with other tools (e.g. trail)
© Globema 2015. All rights reserved.
23
LNI – version 4.3
© Globema 2015. All rights reserved.
24
LNI – version 5.0
© Globema 2015. All rights reserved.
25
LNI - RESULTS
• Product upgraded, tested and released
• Much more changes than initially anticipated
We have started early – platform was not stable at that time
UI changes and threading
Unexpectedly large number of small changes/corrections
A number of performance issues identified together with GE
Platform performance improved
© Globema 2015. All rights reserved.
26
LNI - STATISTICS
Modules with biggest changes
58%
cit_protection_diversity_editor
20%
• Total lines of code
cit_config_rule
13%
lni_gui_components
12%
cit_channel_editor
13%
LNI 4.3
LNI 5.0
192.500
191.200
• Changes: 16.600 lines [9%]
Added
Modified
Deleted
© Globema 2015. All rights reserved.
6.100
800
9.700
58% of changes in just 4 modules
Migration of legacy code
Changes after adjustment:
~7.000 lines [4%]
27
NETWORK VIEWER FOR DH.GIS
• NV to replace a legacy web application
• New features available in NV 5.0.1
Printing improvements
Large internals
• Partial upgrade of DH.GIS application
Data model and API level only
No changes in application-level Magik code between NV 4.3.2 and 5.0.1
Migration of some low-level modules needed
© Globema 2015. All rights reserved.
28
PNI MODULES
• PRM, ONA, CATV Design
Products upgraded and
released on 5.0
Next release on 5.1 – Q2 2016
• Upgrade experience like with LNI
Few new core issues encountered (fixed fonts, keyboard handling)
More heavy use of threads  more work needed
• Products to be maintained on PNI 4.3
© Globema 2015. All rights reserved.
29
SMALLWORLD 5.1
• Faster start-up
• Bug fixes
• Minimal functional changes
Same data model
Upgrade 4.x  5.1 as easy as (or easier than) 4.x  5.0
• Development tools are back
© Globema 2015. All rights reserved.
30
HOW TO START?
• Difficult to assess upgrade
costs
• Upgrade in stages
• Client application upgrade
© Globema 2015. All rights reserved.
31
HOW TO START?
• Difficult to assess upgrade
costs
Primary areas – UI and threading
• Upgrade in stages
• Client application upgrade
© Globema 2015. All rights reserved.
32
HOW TO START?
• Difficult to assess upgrade
costs
Primary areas – UI and threading
• Upgrade in stages
Start with the low-hanging fruit
Database-level and API should be easy
NV/NIG/GSS may be a good candidate
Can run simultaneously with 4.x clients
• Client application upgrade
© Globema 2015. All rights reserved.
33
HOW TO START?
• Difficult to assess upgrade
costs
Primary areas – UI and threading
• Upgrade in stages
Start with the low-hanging fruit
Database-level and API should be easy
NV/NIG/GSS may be a good candidate
Can run simultaneously with 4.x clients
• Client application upgrade
Concentrate on UI
© Globema 2015. All rights reserved.
34
SUMMARY
• Mature/proven platform (Java VM)
• Excellent Magik compatibility
• Minimal changes to the architecture
Ease of migration
• UI changes
Needs review and fixes
• Performance
Possible to achieve decent performance, but it needs work
© Globema 2015. All rights reserved.
35
CONTACT US!
•
•
What is Smallworld 5?
How to prepare and what to expect when planning
to upgrade your Smallworld system to version 5?
[email protected]
www.globema.com
www.globema.com/solutions/smallworld-gis
© Globema 2015. All rights reserved.
36
Thank you
© Globema 2015. All rights reserved.
37