Real Time, Secure

Michael Meeks General Manager michael.meeks@.com Skype - mmeeks, G+ - [email protected]

LibreOffice@CollaboraOffice Conference 2015, Aarhus | Michaelwww.CollaboraOffice.com Meeks 1 / 40 What is ?

● Documents + + Slides

● Viewing and Collaborative editing

● Interoperability with formats

● DOCX, DOC, RTF, XLSX, XLS, PPTX, PPT

● Import filters / Viewing for

● PDF, Visio, Publisher +many more

● Powerful WYSIWG rendering

● On-premise Integration with .

● Architecture – bet on CPU threads & network ...

Collabora Productivity www.collaboraoffice.com Collabora: ~100 staff – founded 2005 Collabora Productivity: ~30 staff – founded 2013 Subsidiary – 50/50 - Collabora / me. Shared raison d’etre: Make Open Source rock. We re-invest your money in the open product. Leaders in the LibreOffice Community Community: ~300 developers/year, ~1000 contributors Collabora Online 13 million image pulls … +1.5M/month Collabora Productivity www.collaboraoffice.com Collabora Productivity: examples

One of the top three Italian banks 20,000 seats deployed in all their branch offices. Visionary cost savings.

Partner:

Partner: 0

Powerful document classification – eg. “top secret”. Digital signatures and classification of paragraphs. 130 partners and growing ... 4 A seamless partnership

● Nextcloud - an awesome partner

● working together seamlessly and regularly ● Product support & Professional Services. ● A single support partner.

● Nextcloud have experts in Collabora Online ● No blame-game nightmares:

● Bank: 5 people & 5 companies in the room. – It is exactly not like that … with us ● Single point of contact, and relationship. ● A great time in FLOSS history.

5 NextCloud Conference 2017, Berlin | Michael Meeks 5 / 40 Collabora Online Vision: Full-feature, Open Source, On-premise / hosted – control your data & apps ... No compromises & flexible Partner driven: complementing Nextcloud’s vision

Collabora Productivity www.collaboraoffice.com MS Office Online browser a stop-gap ...

7 Collabora Productivity www.collaboraoffice.com Collabora Productivity www.collaboraoffice.com Full-feature … what does it mean ? ...

The things the feature hides ...

The complete set of pre- The rich border UI in Collabora Online canned border functionality in MS Online

Collabora Productivity www.collaboraoffice.com 100% Interoperability & Collaboration

Interoperability & feature richness –key deliverables ...

● We have very powerful document interoperability

● Collabora Office → ~8 million LOC, MS Office ~30 million LOC

● The most mature Office code-base outside of Microsoft

“100% interoperability” - not a credible claim

● I was on the ECMA Technical Committee standardizing MS’ XML formats.

● Interoperability – a mix of: import, rendering, feature-set, export

● To edit you have to understand the format – no reliable short-cuts.

Expectation here – we can win !

● Doing better than , and Microsoft Online

● Collaboration is the key driver ...

Collabora Productivity www.collaboraoffice.com Example: writer Rich Fields support ...

Fill out DOC / DOCX forms

● tab through editable fields; skip protected sections

Collabora Productivity www.collaboraoffice.com Blending Mobility with Rendering power

Responsive Browser based integration

● Leverage the server for large / complex document rendering

● Fast pan / zoom / selection etc.

Not limited by power of device / JS

● Server can load large documents

● Server side font rendering

● Secure: Document Data stays on server transmitted as pixels.

● Tile watermarking

12 Collabora Productivity www.collaboraoffice.com Off-load the hard bits to the server ?

Time to load & render blank files - Galaxy S4 First cut pre-optimized DOCX With data: larger XLSX Native JS spreadsheets Collabora 10x faster → 1000X faster.

PPTX Threaded, GPU accelerated core 0 5 10 15 20 25 30 35 40 Seconds

Before (above) to after (left) – re-ordering & optimizing “Hello World” DOCX load - ~3.5s from start. 13 Collabora Productivity www.collaboraoffice.com Collaborative Spreadsheets ...

Collabora Productivity www.collaboraoffice.com Collaborative Presentations Impress:

Collabora Productivity www.collaboraoffice.com Technical bits ...

https://collaboraoffice.com Hardware Sizing

Guidelines:

● 10 active users / CPU thread

● 50Mb RAM / active user

● 100kbit/s / active user

5000 ‘users’ → diversity → 500 concurrent users:

● 50 CPU threads

● 25 Gb of RAM

● 50 Mbit of bandwidth

Ultimately: CPU threads & network become

cheaper over time. 17 Collabora Productivity www.collaboraoffice.com HA / setup example ...

Split 5k users into three 8 CPU machines, 8GB each

Users HA balancer of choice: ha- Collabora Online proxy, or F5 Workers

https:// http://

Key attribute is to ensure that all traffic related to the same document goes to the same worker – all collaborators end up in the same address space. 18 Balancing on WOPISrc Collabora Productivity www.collaboraoffice.com Real world: 40k users – Collabora Online

Usage

CPU

Free RAM: 13.5Gb → 11Gb

Collabora Productivity www.collaboraoffice.com Trying with a subset of your users:

Allows groups to be used for isolation and also listed to enable a subset of groups to use Collabora Online

Collabora Productivity www.collaboraoffice.com Collabora Online 4.0.2 out now Latency & interactivity improvements ...

Half the rendering latency per key-stroke Removed very visible 2-step cursor move + render: Old

New: 1 round-trip

San Francisco ↔ Europe Update latency for 200ms ping

) 0,5 s ( ● Now acceptable. y

c 0,4 n e

t 0,3 a l

Dialog opening also Before e

t 0,2 After a

faster. d

p 0,1 u

e

l 0 i 1 2 3 4 T Number of typed characters Collabora Productivity www.collaboraoffice.com Click-to-rename Refreshed The document Toolbar

Revision history at 1st glance More space Add document type icon More formatting options

23 Collabora Productivity www.collaboraoffice.com Share from Collabora Online

Collabora Productivity www.collaboraoffice.com Insert Image – directly from Nextcloud ...

Collabora Productivity www.collaboraoffice.com Built-in Template management

Collabora Productivity www.collaboraoffice.com Built-in Template management

Add templates to the global template list for everyone.

Collabora Productivity www.collaboraoffice.com Shape editing Shape editing

Re-sizing preview

Rotation control added

Enlarged the size of the selection handles improving shape editing specially for touch users Easier shape insertion

Add built-in custom shapes BlockChain Bits Signing Documents

In cooperation with Vereign a Swiss open source company building a blockchain based self-sovereign identity and personal data store. Easier to use toolbars

Improved Multi-touch Improved Zoom

Zoom and pan everywhere crisp pixel HiDPI rendering Display @ 200% improvement And much more ...

● Beautiful integration into the Nextcloud :

● Improved thumbnailing support

● Built-in … “convert-to” API ...

● Upgrade to Collabora Office 6.0 base

● Improved Visio, Publisher, Keynote, , Numbers filters

● Thanks to the Document Liberation Project

● Much improved EMF+ rendering (thanks to Bartosz Kosiorek)

● Improved look – including new Colibre icon theme

● (thanks to Andreas Kainz)

Collabora Productivity www.collaboraoffice.com Collabora Online 4.x coming next: tell me what you want ! What is coming … in 4.x and beyond

Mobile

● Native iOS and Android apps based on Collabora Online

Continued UI improvements

● Custom theming

● Side-bars, Notebookbar, more dialogs

Performance & Efficiency

● Reduced memory footprint

● More responsive client-side interaction

● Further bandwidth reduction.

Collabora Productivity www.collaboraoffice.com Why Collabora Online Georgeous, interoperable, document collaboration Rich partnership with Nextcloud Seamless support from the experts. Rapid improvement – with long term product management relationship Extremely easy to deploy alongside Nextcloud Backed by the large, diverse, vendor neutral LibreOffice community Stiftung based in Berlin.

@mmeeks +mejmeeks Skype: mmeeks [email protected]