34
Professional Open Source Software development, Outsourcing, IT consulting and Training PostgreSQL in the Brazilian Armed Forces PDXPUG Day 2010

Pg in-the-brazilian-armed-forces-presentation

Embed Size (px)

DESCRIPTION

PostgreSQL in the Brazillian Armed Forces

Citation preview

Page 1: Pg in-the-brazilian-armed-forces-presentation

Professional Open SourceSoftware development, Outsourcing, IT consulting and Training

PostgreSQL in the BrazilianArmed Forces

PDXPUG Day 2010

Page 2: Pg in-the-brazilian-armed-forces-presentation

Agenda

• Free/Open source software and Brazil

• PostgreSQL in Army

• PostgreSQL in Air Force

Page 3: Pg in-the-brazilian-armed-forces-presentation

Elephants and Armed Forces

Page 4: Pg in-the-brazilian-armed-forces-presentation

FOSS and Brazil

• Wide use in companies and government– Strong support in the current federal administration

– Communities

– Anti-piracy policies

• FOSS is now a state policy– Federal law enforces its use in government organizations

• Many successuful cases in the last 10 years

Page 5: Pg in-the-brazilian-armed-forces-presentation

Brazilian Army and FOSS

Reasons for FOSS adoption• Cost savings in medium and long term

• Better security, stability and availability offered by FOSS

• Reduction of mandatory changes that closed models periodically require

• Technical independence

• Development of local expertise

• System accountability

• Independence from a single supplier

The adoption of FOSS is considered definitive for the Brazilian Army.

* Army Migration Guide to FOSS, www.softwarelivre.gov.br/casos/Plano_Migracao_Soft_Livre_13FEV07.pdf

Page 6: Pg in-the-brazilian-armed-forces-presentation

Brazilian Army

DEC - Department of Engineering and Construction is responsible for:

• guidelines• planning• coordination, and• control of construction activities and Army properties

Page 7: Pg in-the-brazilian-armed-forces-presentation

Brazilian Army

Division of Military Building WorksOrganization responsible for the activities of construction, expansion, reform, adjustment, repair, restoration, preservation, demolition and removal of military installations.

Page 8: Pg in-the-brazilian-armed-forces-presentation

3ª RM

1ª RM

4ª RM

5ª RM

6ª RM

7ª RM

8ª RM

9ª RM

10ª RM

11ª RM

2ª RM

12ª RM

Opus Project

Motivation

• 642 Army Units have properties

• Total of 1.817 properties

• 60.000 property improvements

• Demand for 5.000 building works/year

• Current capacity: 2.000 building works/year

Page 9: Pg in-the-brazilian-armed-forces-presentation

Opus Project

Main objectives

– OPUS system aims to support the functionalities of planning, control, management and execution of all activities of military building works

– Accessed by all units of the Brazilian Army

– Integrated Geographic Information System

• Google Earth integration

– Simplicity to use and access information

– 5.000 concurrent users

• Prepared for 50.000 concurrent users

Page 10: Pg in-the-brazilian-armed-forces-presentation

Opus Project

Technologies

– Java Enterprise Edition 5

– PostgreSQL + PostGIS

– Linux CentOS 5.2

– Jboss AS

– GIS• MapServer

• GeoServer

• OpenLayers

• GeoTools

• EJB3Spatial

Page 11: Pg in-the-brazilian-armed-forces-presentation

Production infrastructure

Four Linux CentOS servers

- A cluster of two JBoss servers

- Two PostgreSQL servers (warm-standby)

Page 12: Pg in-the-brazilian-armed-forces-presentation

Opus screenshot

Page 13: Pg in-the-brazilian-armed-forces-presentation

Opus screenshot

Page 14: Pg in-the-brazilian-armed-forces-presentation

Opus screenshot

Page 15: Pg in-the-brazilian-armed-forces-presentation

OPUS screenshot

Page 16: Pg in-the-brazilian-armed-forces-presentation

OPUS screenshot

Page 17: Pg in-the-brazilian-armed-forces-presentation

FAB - Brazilian Air Force

FORÇA AÉREA BRASILEIRA

DIRETORIA DE INTENDENCIASUBDIRETORIA DE ABASTECIMENTO

• SDAB is the department responsible for Logistics Support

• SDAB was pioneer to use PostgreSQL and started using in 2005

– Systems

• Sisub, Food Supply

• Sifare, Military garment ecommerce

• SIA, Procurement

Page 18: Pg in-the-brazilian-armed-forces-presentation

FAB – SISUB Project

• System for supply acquision and

management of FAB's eateries

• Features

– Support to procurement

– Warehouse and stock control

– To standardize menus

– Control number and cost of meals per eatery

– Generate performance indicators

Page 19: Pg in-the-brazilian-armed-forces-presentation

Brazilian Air Force

Situation before Sisub system

– Each quarter had to send monthly a pile of forms

– A soldier had to retype all those forms in a spreadsheet

– Unecessary overhead

– Information gap of one to two months

– Mistakes and lost of information

– Waste of time, money and trees

Page 20: Pg in-the-brazilian-armed-forces-presentation

FAB – Sisub Project

– PostgreSQL

– Slony

– Debian Linux

– JBoss

– EJB 3

– Tapestry framework– JPA (Java Persistence API)

– Jasper Reports

– Python

Technologies

Page 21: Pg in-the-brazilian-armed-forces-presentation

FAB Projects

• System architecture

– 54 database servers distributed in 19 states

– Two-way replication system

– Central replication server for fallback

– A datamart for key performance indicators

– The main database size is 200 Gb

Page 22: Pg in-the-brazilian-armed-forces-presentation

Sisub Project

Page 23: Pg in-the-brazilian-armed-forces-presentation

Sifare Project screenshots

Page 24: Pg in-the-brazilian-armed-forces-presentation

Sifare Project screenshots

Page 25: Pg in-the-brazilian-armed-forces-presentation

SIA Project screenshots

Page 26: Pg in-the-brazilian-armed-forces-presentation

SISUB Project screenshots

Page 27: Pg in-the-brazilian-armed-forces-presentation

Sisub Project screenshots

Page 28: Pg in-the-brazilian-armed-forces-presentation

Sisub Project screenshots

Page 29: Pg in-the-brazilian-armed-forces-presentation

Results

• System Benefits

– Nutritional control of all meals

– Transparency in management

– Waste reduction

– Agility and less bureaucracy

– Online process management

– Automated performance indicators

Page 30: Pg in-the-brazilian-armed-forces-presentation

Results

• Some numbers:

– ~100.000 meals daily

– 1.000 concurrent users (and counting)

• Cost reduction

– Improvement in process efficiency brings savings of US$ 3 million / year

– Elimination of US$ 1 million in software license costs

Page 31: Pg in-the-brazilian-armed-forces-presentation

Results

Page 32: Pg in-the-brazilian-armed-forces-presentation

Conclusion about PG and FOSS

• Reliable

• Adaptable

• Scalable

• Low costs

Page 33: Pg in-the-brazilian-armed-forces-presentation

Questions?

Page 34: Pg in-the-brazilian-armed-forces-presentation

Further information

Luis Dosso

www.dextra.com.br

[email protected]

Gtalk/MSN: [email protected]

Skype: luisdosso

Phone: +55 19 3256-6722