SlideShare a Scribd company logo
Experiment for large-
scale operation of
LibreOffice Online,
2019 Edition
Masaki Murakami
Shinji Enoki
librepc@icraft.jp
ALMERIA | 13 Sept.
2019
Agenda
●
Who am I
●
Intro
●
Operation for many users
●
Capacity planning
●
Configuration
●
Load barancing
●
Network load balancer
●
Needed keys
●
Load barancing tools
Who am I
●
Masaki Murakami (村上正記)村上正記)
●
ICRAFT Corp.
– Main Office:Kobe
– Branch:Tokyo,vietnum,mongoria
●
Tasks
– Server,Network,or IT infrastructure administration
– Sales and marketing of “LibrePC” or “LibreBOX”
– Management of these tasks members
Intro
●
Last year, I presented the same
theme,”Experiment for large-scale operation
of LibreOffice Online”.
●
About 1 year later, I learned a few things to
operate LibreOffice Online, and try to new
approach.
●
This presentation is the same approach as
presented at the LibreOffice Asia
Conference.
It is main
Operation for many users
●
For many users using LibreOffice Online,considering
for…
– One file editing many users at same time
– Many file editing each users
●
Infrastructure engineers for non-coding skill…
– Reading and editing source code is very hard
– Many servers building and load-balancing is suitable for
skill of themselves
●
It has tried to configure and load balancing for
several LibreOffice Online servers.
Capacity planning
●
Capacity planning is important for operating.
●
Measurement of Collabora’s document
– CPU:1 thread per 10 active user
– Memory:10MB per 1 active user
– Network bandwidth:100kbps per 1 active user
●
Example for 50 active user usually uses
– CPU:5 thread
– Memory:500MB
– Network bandwidth:5Mbps
Configuration
●
Editing “loolwsd.xml” in the installed directory.
●
<logging>section
– Logfile made at /tmp directory by default.
– Recommend is “/var/log/lool”directory with permission
– Loglotate weekly
●
<ssl>section
– Default:/etc/loolwsd
– Edit to a directory for Certification placed directory.
●
<wopi>section
– Add external server calling for LibreOffice Online service
●
ex)demo.icraft.jp
– <webdav>section
Load balancing
●
It is very important that the service
continues to provide.
●
Load balancing is usually way to continue
to provide service.
●
The first step,configuring two LibreOffice
Online Servers, and connecting from
Nextcloud with Collabora Online Apps.
Testing environment
●
Expecting for…
– Editing one file at same server.
–
LAN
Cloud server
e.g. Amazon EC2
nextcloud
LOOL Server1
LOOL Server2
LB
client
Network load balancer
●
I tried to using load balancer,it is sinple
function provided by cloud server provider.
●
It is fail to load balancing, to access from
Nextcloud, 1 file’s access to 2 LibreOffice
Online Server.
●
Then, I know that I needed the function of an
identifiable thing about file, and it is not to
use network appliance.
– e.g. F5 Big-IP
Needed keys
●
We checked access_log or other Apache logfile to find the key of
identifying each files.
●
That is hint ssl_access_log
●
●
●
●
●
●
●
If we can use the phrase following of “access_token”, and
keeping connectivity.
10.x.x.x - - [xx/Sep/2019:yy:mm:dd +0900]
"GET /lool/https%3A%2F%2Fdemo.icraft.jp%2Fdemo%2Findex.php
%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F5205_ocdoknlwsng1%3F
access_token%3D3Q6HyMg0HUt3PahrnwOO7SMUdGaAu0Ab%26
access_token_ttl%3D0/ws?WOPISrc=https%3A%2F%2Fdemo.icraft.jp
%2Fdemo%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles
%2F5205_ocdoknlwsng1&compat=/ws HTTP/1.1" 200 -
Load barancing tools
●
HAProxy can use load barancing for adding
custom header and load barancing
connections.
●
But,old version of HAProxy,at CentOS 7 is not
using Regex pattern for adding custom
header.
●
Next try to use recently version of HAProxy.
●
I think that, but we need more ideas and
other ways of solution of this problem.
All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike
4.0 License (unless otherwise specified). “LibreOffice” and “The Document Foundation” are registered
trademarks. Their respective logos and icons are subject to international copyright laws. The use of these
thereof is subject to trademark policy.
Thanks!

More Related Content

PDF
Building a company-wide data pipeline on Apache Kafka - engineering for 150 b...
PDF
Clovaを支える技術 機械学習配信基盤のご紹介
PPTX
Developing Rich Internet Applications with Perl and JavaScript
PDF
LINEデリマでのElasticsearchの運用と監視の話
PPTX
Architecture Sustaining LINE Sticker services
PDF
Reactive cocoa
PPT
Parallel processing for splitter in mule esb
PDF
[Draft] Fast Prototyping with DPDK and eBPF in Containernet
Building a company-wide data pipeline on Apache Kafka - engineering for 150 b...
Clovaを支える技術 機械学習配信基盤のご紹介
Developing Rich Internet Applications with Perl and JavaScript
LINEデリマでのElasticsearchの運用と監視の話
Architecture Sustaining LINE Sticker services
Reactive cocoa
Parallel processing for splitter in mule esb
[Draft] Fast Prototyping with DPDK and eBPF in Containernet

What's hot (20)

PPTX
Automating JavaScript testing with Jasmine and Perl
PDF
Event driven-arch
PDF
Fixing Docker networking - Milos Gajdos at #DOXLON
PDF
Chilinet
PDF
Работаем с RabbitMQ в Python используя kombu + gevent. (Rinat khabibiev)
PDF
Distributed OSGi Services with the Eclipse Communication Framework - Jan Rell...
PPTX
Serverless Architecture
PPTX
Operator Overloading & Function Overloading
PPTX
Introduction to Reactjs
PPTX
SOA with PHP and Symfony
PDF
Metrics driven development with dedicated Observability Team
PDF
NSF to PST Converter
PDF
React + Mobile
PPTX
4. introduction to Asp.Net MVC - Part II
PDF
EUC2015 - Load testing XMPP servers with Plain Old Erlang
PDF
Enterprise messaging
PPTX
Mule agent architecture
PDF
Building Language Agnostic APIs with gRPC - JavaDay Istanbul 2017
PDF
Inter-Process Communication in Microservices using gRPC
PDF
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...
Automating JavaScript testing with Jasmine and Perl
Event driven-arch
Fixing Docker networking - Milos Gajdos at #DOXLON
Chilinet
Работаем с RabbitMQ в Python используя kombu + gevent. (Rinat khabibiev)
Distributed OSGi Services with the Eclipse Communication Framework - Jan Rell...
Serverless Architecture
Operator Overloading & Function Overloading
Introduction to Reactjs
SOA with PHP and Symfony
Metrics driven development with dedicated Observability Team
NSF to PST Converter
React + Mobile
4. introduction to Asp.Net MVC - Part II
EUC2015 - Load testing XMPP servers with Plain Old Erlang
Enterprise messaging
Mule agent architecture
Building Language Agnostic APIs with gRPC - JavaDay Istanbul 2017
Inter-Process Communication in Microservices using gRPC
Open Source Serverless: a practical view. - Gabriele Provinciali Luca Postacc...
Ad

Similar to Experiment for large-scale operation of LibreOffice Online, 2019 Edition (20)

PDF
How to use online office suites and data storage to protect your privacy
PDF
PyCon HK 2018 - Heterogeneous job processing with Apache Kafka
PDF
Spark and S3 with Ryan Blue
PDF
Building a blog with an Onion Architecture
PDF
Onion Architecture and the Blog
PDF
Building a high-performance, scalable ML & NLP platform with Python, Sheer El...
PDF
OpenLineage for Stream Processing | Kafka Summit London
PDF
Activity feeds (and more) at mate1
PDF
AirBNB's ML platform - BigHead
PDF
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
PDF
#RADC4L16: An API-First Archives Approach at NPR
PDF
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
PDF
The Fn Project: A Quick Introduction (December 2017)
PDF
Lagom : Reactive microservice framework
PDF
Serverless Compose vs hurtownia danych
PDF
Go at uber
PDF
The Fn Project by Jesse Butler
PDF
Serverless Boston @ Oracle Meetup
PDF
MySQL X protocol - Talking to MySQL Directly over the Wire
PDF
Run Apache Spark on Kubernetes in Large Scale_ Challenges and Solutions-2.pdf
How to use online office suites and data storage to protect your privacy
PyCon HK 2018 - Heterogeneous job processing with Apache Kafka
Spark and S3 with Ryan Blue
Building a blog with an Onion Architecture
Onion Architecture and the Blog
Building a high-performance, scalable ML & NLP platform with Python, Sheer El...
OpenLineage for Stream Processing | Kafka Summit London
Activity feeds (and more) at mate1
AirBNB's ML platform - BigHead
Bighead: Airbnb’s End-to-End Machine Learning Platform with Krishna Puttaswa...
#RADC4L16: An API-First Archives Approach at NPR
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
The Fn Project: A Quick Introduction (December 2017)
Lagom : Reactive microservice framework
Serverless Compose vs hurtownia danych
Go at uber
The Fn Project by Jesse Butler
Serverless Boston @ Oracle Meetup
MySQL X protocol - Talking to MySQL Directly over the Wire
Run Apache Spark on Kubernetes in Large Scale_ Challenges and Solutions-2.pdf
Ad

More from iCRAFT Corp. (アイクラフト株式会社) (20)

PDF
オープンソースの概要とLibreOffice操作ワークショップ 2024-04-11
PDF
オープンソースの概要と、 LibreOffice を使ってみよう!操作ワークショップ
PDF
オープンソースの概要とLibreOffice を使ってみよう!操作ワークショップ新人研修2022版
PDF
Intern Final presentation : Alu
PDF
First Stages and challenges of LibreOffice Translation in Hausa Language
PDF
Quality Assuarance (QA) and Translations Efforts 2020-06
PDF
Bug Triage for Quality Assurance in LibreOffice 2020-06
PDF
LibreOffice Conference 2019, Almería, Spain 参加 レポート
PDF
LibreOfficeを使ってみよう!操作ワークショップ-アイクラフト新人研修-
PDF
Internship final presentation: Santatra
PDF
オープンソース・ソフトウェアとコミュニティについて
ODP
Expanding LibreOffice Contribution to West Africa
PDF
LibreOffice Onlineの大規模環境での稼働
PDF
Internship Final Presentation -Tomas Kapiye-
ODP
Quality Assurance(QA) for LibreOffice
ODP
How African students contribute to Libreoffice 
PDF
LibreOffice Development: QA and Translation
ODP
Internship final presentation Mohamed
PDF
LibreOffice intern activities 2017-2018 Aschalew
ODP
LibreOffice開発活動 (オープンソースカンファレンス2018 Osaka)
オープンソースの概要とLibreOffice操作ワークショップ 2024-04-11
オープンソースの概要と、 LibreOffice を使ってみよう!操作ワークショップ
オープンソースの概要とLibreOffice を使ってみよう!操作ワークショップ新人研修2022版
Intern Final presentation : Alu
First Stages and challenges of LibreOffice Translation in Hausa Language
Quality Assuarance (QA) and Translations Efforts 2020-06
Bug Triage for Quality Assurance in LibreOffice 2020-06
LibreOffice Conference 2019, Almería, Spain 参加 レポート
LibreOfficeを使ってみよう!操作ワークショップ-アイクラフト新人研修-
Internship final presentation: Santatra
オープンソース・ソフトウェアとコミュニティについて
Expanding LibreOffice Contribution to West Africa
LibreOffice Onlineの大規模環境での稼働
Internship Final Presentation -Tomas Kapiye-
Quality Assurance(QA) for LibreOffice
How African students contribute to Libreoffice 
LibreOffice Development: QA and Translation
Internship final presentation Mohamed
LibreOffice intern activities 2017-2018 Aschalew
LibreOffice開発活動 (オープンソースカンファレンス2018 Osaka)

Recently uploaded (20)

PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Essential Infomation Tech presentation.pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
L1 - Introduction to python Backend.pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
history of c programming in notes for students .pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Introduction to Artificial Intelligence
PDF
System and Network Administration Chapter 2
PDF
Understanding Forklifts - TECH EHS Solution
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Nekopoi APK 2025 free lastest update
PPTX
Transform Your Business with a Software ERP System
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Essential Infomation Tech presentation.pptx
Upgrade and Innovation Strategies for SAP ERP Customers
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
L1 - Introduction to python Backend.pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
history of c programming in notes for students .pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Introduction to Artificial Intelligence
System and Network Administration Chapter 2
Understanding Forklifts - TECH EHS Solution
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PTS Company Brochure 2025 (1).pdf.......
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Design an Analysis of Algorithms II-SECS-1021-03
Nekopoi APK 2025 free lastest update
Transform Your Business with a Software ERP System

Experiment for large-scale operation of LibreOffice Online, 2019 Edition

  • 1. Experiment for large- scale operation of LibreOffice Online, 2019 Edition Masaki Murakami Shinji Enoki librepc@icraft.jp ALMERIA | 13 Sept. 2019
  • 2. Agenda ● Who am I ● Intro ● Operation for many users ● Capacity planning ● Configuration ● Load barancing ● Network load balancer ● Needed keys ● Load barancing tools
  • 3. Who am I ● Masaki Murakami (村上正記)村上正記) ● ICRAFT Corp. – Main Office:Kobe – Branch:Tokyo,vietnum,mongoria ● Tasks – Server,Network,or IT infrastructure administration – Sales and marketing of “LibrePC” or “LibreBOX” – Management of these tasks members
  • 4. Intro ● Last year, I presented the same theme,”Experiment for large-scale operation of LibreOffice Online”. ● About 1 year later, I learned a few things to operate LibreOffice Online, and try to new approach. ● This presentation is the same approach as presented at the LibreOffice Asia Conference.
  • 6. Operation for many users ● For many users using LibreOffice Online,considering for… – One file editing many users at same time – Many file editing each users ● Infrastructure engineers for non-coding skill… – Reading and editing source code is very hard – Many servers building and load-balancing is suitable for skill of themselves ● It has tried to configure and load balancing for several LibreOffice Online servers.
  • 7. Capacity planning ● Capacity planning is important for operating. ● Measurement of Collabora’s document – CPU:1 thread per 10 active user – Memory:10MB per 1 active user – Network bandwidth:100kbps per 1 active user ● Example for 50 active user usually uses – CPU:5 thread – Memory:500MB – Network bandwidth:5Mbps
  • 8. Configuration ● Editing “loolwsd.xml” in the installed directory. ● <logging>section – Logfile made at /tmp directory by default. – Recommend is “/var/log/lool”directory with permission – Loglotate weekly ● <ssl>section – Default:/etc/loolwsd – Edit to a directory for Certification placed directory. ● <wopi>section – Add external server calling for LibreOffice Online service ● ex)demo.icraft.jp – <webdav>section
  • 9. Load balancing ● It is very important that the service continues to provide. ● Load balancing is usually way to continue to provide service. ● The first step,configuring two LibreOffice Online Servers, and connecting from Nextcloud with Collabora Online Apps.
  • 10. Testing environment ● Expecting for… – Editing one file at same server. – LAN Cloud server e.g. Amazon EC2 nextcloud LOOL Server1 LOOL Server2 LB client
  • 11. Network load balancer ● I tried to using load balancer,it is sinple function provided by cloud server provider. ● It is fail to load balancing, to access from Nextcloud, 1 file’s access to 2 LibreOffice Online Server. ● Then, I know that I needed the function of an identifiable thing about file, and it is not to use network appliance. – e.g. F5 Big-IP
  • 12. Needed keys ● We checked access_log or other Apache logfile to find the key of identifying each files. ● That is hint ssl_access_log ● ● ● ● ● ● ● If we can use the phrase following of “access_token”, and keeping connectivity. 10.x.x.x - - [xx/Sep/2019:yy:mm:dd +0900] "GET /lool/https%3A%2F%2Fdemo.icraft.jp%2Fdemo%2Findex.php %2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F5205_ocdoknlwsng1%3F access_token%3D3Q6HyMg0HUt3PahrnwOO7SMUdGaAu0Ab%26 access_token_ttl%3D0/ws?WOPISrc=https%3A%2F%2Fdemo.icraft.jp %2Fdemo%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles %2F5205_ocdoknlwsng1&compat=/ws HTTP/1.1" 200 -
  • 13. Load barancing tools ● HAProxy can use load barancing for adding custom header and load barancing connections. ● But,old version of HAProxy,at CentOS 7 is not using Regex pattern for adding custom header. ● Next try to use recently version of HAProxy. ● I think that, but we need more ideas and other ways of solution of this problem.
  • 14. All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 4.0 License (unless otherwise specified). “LibreOffice” and “The Document Foundation” are registered trademarks. Their respective logos and icons are subject to international copyright laws. The use of these thereof is subject to trademark policy. Thanks!