Download - Smallworld 5 Migration Experiences

Transcript
Page 1: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.1

Page 2: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved. 2

ABOUT GLOBEMA

Leading provider and integrator

of geospatial and location-based software solutions

that enable effective planning, management and control

of networks, assets, resources and works

in utilities, telecoms & other enterprises

Mobile Workforce

Management

Real-TimeTracking of

Assets & Staff

OptimizingDecisions

with Maps & Data

Energy Managementin Smart Grid &

Renewables

Network Inventory & ServiceHandling

AdvancedDistribution

ManagementGLOBEMA

SOLUTIONS & SERVICES

Page 3: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.3

120+ Geospatial Software Engineers at 5 R&D Labs

SELECTED TECHNOLOGIES & PLATFORMS WE USE

Page 4: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.4

OUR GE SMALLWORLD SERVICES

Application developmentCOTS Products on Smallworld

GIS Solution Delivery & Implementation

Business AnalysisTechnical Consulting

System AuditsSmallworld Trainings

GIS Data MigrationGIS Data consolidation

GIS Data Quality assurance

HelpdeskRemote System AdminMaintenance & Support

Project Management

Page 5: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.5

Why Smallworld 5?

Page 6: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.6

Smallworld GIS platform history

2000 2003 2006 2012 2015

MagikSF

Virtual machine designed bySmallworld

Magikon

Java

Java 8(2014)

Smallworldacquired

by GE

4.0 4.1 4.3 5.0

199x

Smallworld platform releases

WindowsXP

(2001)

Google Maps(2005)

WindowsNT 4.0(1996)

Android1.0

(2008)

Page 7: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.7

GOALS OF SMALLWORLD 5

Modern technology stack based on the Java VM

Improved performance and

user experienceSimplified integration and

interoperability

Straightforward upgrade

Page 8: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.8

JAVA VM

Benefits of adopting Java VM• Multithreading, 64-bit processing• Optimized virtual machine

JIT (just-in-time) compilationAdvanced memory allocation algorithms

• Profiling tools available• Broad availability of Java libraries

Page 9: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.9

USER EXPERIENCE

SWIFT – Smallworld User Interface ToolkitFoundation of a modern user interfaceSuccessful customer trialsAdopted or emulated in Smallworld 5

GE and Google Global partnership Google Maps, StreetView and address searchIntegrated with network data

Page 10: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.10

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

Page 11: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.

EASE OF UPGRADE

• GE’s objective is to support smooth and successful upgradesWorking closely with Globema and other partners

• Limited changes between 4.3 and 5.0Minimal data model or API changesMinimal functional changes

• Smallworld 5 portfolio released in Q4 2015Smallworld Core, PNI, LNI, EO, GSS, NV, NIG, …

11

Page 12: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.12

GLOBEMA INVOLVEMENT

• GE Smallworld Logical Network Inventory (LNI)Developed for GE by Globema since 2008Migration to version 5.0 started in November 20145.0 released in November 2015

• Other productsTelecommunication – PRM, ONA, CATV DesignUtilities – DH.GIS (district heating), EL.GIS (power grid)

• Customers’ applications

Page 13: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.13

GLOBEMA INVOLVEMENT

• GE Smallworld Logical Network Inventory (LNI)Developed for GE by Globema since 2008Migration to version 5.0 started in November 20145.0 released in November 2015

• Other productsTelecommunication – PRM, ONA, CATV DesignUtilities – DH.GIS (district heating), EL.GIS (power grid)

• Customers’ applications

Page 14: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.14

ARCHITECTURE COMPARISON

Database(SWMFS)

Application

MagikSF Virtual Machine

Smallworld Core

GE Applications (PNI, LNI, EO, GTO)

Globema/Partners’ Products

Smallworld 4.3

Magik Modules

Customisations

Page 15: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.

ARCHITECTURE COMPARISON

Magik Modules

Smallworld 5.0

Database(SWMFS)

Application

MagikSF Virtual Machine

Smallworld Core

GE Applications (PNI, LNI, EO, GTO)

Globema/Partners’ Products

Customisations

Java Virtual Machine

15

Page 16: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.16

Our experiences

Page 17: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.17

MAGIK (PROGRAMMING LANGUAGE)

• Still the primary programming environment• Excellent backward language compatibility (> 99%)• Code compiled to Java VM• Noticeably faster• Integration with Java

libraries

Page 18: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.18

DATABASE (VMDS)

• No functional changesPractically 100% backward compatible

• Faster accessAPI read even 4x times faster in some scenarios

• Same communication protocolImprovements planned after 5.0 release

• Concurrent access for 4.x and 5.0 clients

Page 19: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.19

USER INTERFACE

• New set of UI elements – SWIFTNew icons, different modern lookEmulation of “old” components from version 4.x

• No 100% backward compatibilityMost of the code works without changes

• Whole user interface needs reviewLarge number of small changes 5.0

4.3

Page 20: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.20

USER INTERFACE - CHALLENGES

• Emulation is not perfectDocumentation does not clearly describe all differencesHow to find the missing 1%

• Keyboard handlingDifferent notificationsSome shortcuts do not work

• Performance

Page 21: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.21

THREADING

• Threads are different in Smallworld 5Native Java threadsPre-emptive thread switching

• Basic conversion well-documented• Issues

UI synchronizationSome features are missing

In one case significant application re-design was needed

Page 22: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.22

TRIVIA• Magik images are gone

closed image compile code into jarsopen image 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 MagikEven a single re-definition can seriously degrade DB write performance

Page 23: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.23

DEVELOPMENT ENVIRONMENT

• MDT – limited experienceDifficult to change developers’ habits

• EmacsNot officially supported – but still works!Including class browser

• Native Java diagnostic tools (performance, memory)• Developer tools not available in 5.0

Page 24: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.24

OTHER CHANGES

• Documentation and context helpBased on HTML 5Context help delivered with applicationDocumentation available on-line on GE servers

• Google Maps and StreetViewBuilt in the applicationAddress searchStreetView integrated with other tools (e.g. trail)

Page 25: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.25

LNI – version 4.3

Page 26: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.26

LNI – version 5.0

Page 27: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.27

LNI - RESULTS

• Product upgraded, tested and released• Much more changes than initially anticipated

We have started early – platform was not stable at that timeUI changes and threading

Unexpectedly large number of small changes/correctionsA number of performance issues identified together with GE

Platform performance improved

Page 28: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.28

LNI - STATISTICS

• Total lines of codeLNI 4.3 192.500LNI 5.0 191.200

• Changes: 16.600 lines [9%]Added 6.100Modified 800Deleted 9.700

Modules with biggest changes 58%cit_protection_diversity_editor 20%cit_config_rule 13%lni_gui_components 12%cit_channel_editor 13%

58% of changes in just 4 modulesMigration of legacy code

Changes after adjustment:~7.000 lines [4%]

Page 29: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.29

NETWORK VIEWER FOR DH.GIS

• NV to replace a legacy web application• New features available in NV 5.0.1

Printing improvementsLarge internals

• Partial upgrade of DH.GIS applicationData model and API level onlyNo changes in application-level Magik code between NV 4.3.2 and 5.0.1Migration of some low-level modules needed

Page 30: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.30

PNI MODULES

• PRM, ONA, CATV DesignProducts upgraded andreleased on 5.0Next release on 5.1 – Q2 2016

• Upgrade experience like with LNIFew new core issues encountered (fixed fonts, keyboard handling)More heavy use of threads more work needed

• Products to be maintained on PNI 4.3

Page 31: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.31

SMALLWORLD 5.1

• Faster start-up• Bug fixes• Minimal functional changes

Same data modelUpgrade 4.x 5.1 as easy as (or easier than) 4.x 5.0

• Development tools are back

Page 32: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.32

HOW TO START?

• Difficult to assess upgrade costs

• Upgrade in stages

• Client application upgrade

Page 33: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.33

HOW TO START?

• Difficult to assess upgrade costs

• Upgrade in stages

• Client application upgrade

Primary areas – UI and threading

Page 34: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.34

HOW TO START?

• Difficult to assess upgrade costs

• Upgrade in stages

• Client application upgrade

Primary areas – UI and threading

Start with the low-hanging fruitDatabase-level and API should be easyNV/NIG/GSS may be a good candidateCan run simultaneously with 4.x clients

Page 35: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.35

HOW TO START?

• Difficult to assess upgrade costs

• Upgrade in stages

• Client application upgrade

Primary areas – UI and threading

Start with the low-hanging fruitDatabase-level and API should be easyNV/NIG/GSS may be a good candidateCan run simultaneously with 4.x clients Concentrate on UI

Page 36: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.36

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

Page 37: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.37

CONTACT US!

[email protected]

• How to conduct migration to Smallworld 5?• How to get the most of your Smallworld 5 system?

www.globema.comwww.globema.com/solutions/smallworld-gis

Page 38: Smallworld 5 Migration Experiences

© Globema 2016. All rights reserved.38

Thank you

All trademarks and registered trademarks are the property of their respective owners. All rights reserved.