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

PostgreSQL and Open Source in the Brazilian Armed Forces

  • Upload
    ldosso

  • View
    782

  • Download
    0

Embed Size (px)

DESCRIPTION

Presentation exhibited in Portland in the PostgreSQL Day 2010.

Citation preview

Page 1: PostgreSQL and Open Source in the Brazilian Armed Forces

Professional Open SourceSoftware development, Outsourcing, IT consulting and Training

PostgreSQL in the BrazilianArmed Forces

PDXPUG Day 2010

Page 2: PostgreSQL and Open Source in the Brazilian Armed Forces

Agenda

• Free/Open source software and Brazil

• PostgreSQL in Army

• PostgreSQL in Air Force

Page 3: PostgreSQL and Open Source in the Brazilian Armed Forces

Elephants and Armed Forces

Page 4: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

Brazilian Army

DEC - Department of Engineering and Construction is responsible for:

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

Page 7: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

Opus Project

Technologies

– Java Enterprise Edition 5

– PostgreSQL + PostGIS

– Linux CentOS 5.2

– Jboss AS

– GIS• MapServer

• GeoServer

• OpenLayers

• GeoTools

• EJB3Spatial

Page 11: PostgreSQL and Open Source in the Brazilian Armed Forces

Production infrastructure

Four Linux CentOS servers

- A cluster of two JBoss servers

- Two PostgreSQL servers (warm-standby)

Page 12: PostgreSQL and Open Source in the Brazilian Armed Forces

Opus screenshot

Page 13: PostgreSQL and Open Source in the Brazilian Armed Forces

Opus screenshot

Page 14: PostgreSQL and Open Source in the Brazilian Armed Forces

Opus screenshot

Page 15: PostgreSQL and Open Source in the Brazilian Armed Forces

OPUS screenshot

Page 16: PostgreSQL and Open Source in the Brazilian Armed Forces

OPUS screenshot

Page 17: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

FAB – Sisub Project

– PostgreSQL

– Slony

– Debian Linux

– JBoss

– EJB 3

– Tapestry framework– JPA (Java Persistence API)

– Jasper Reports

– Python

Technologies

Page 21: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

Sisub Project

Page 23: PostgreSQL and Open Source in the Brazilian Armed Forces

Sifare Project screenshots

Page 24: PostgreSQL and Open Source in the Brazilian Armed Forces

Sifare Project screenshots

Page 25: PostgreSQL and Open Source in the Brazilian Armed Forces

SIA Project screenshots

Page 26: PostgreSQL and Open Source in the Brazilian Armed Forces

SISUB Project screenshots

Page 27: PostgreSQL and Open Source in the Brazilian Armed Forces

Sisub Project screenshots

Page 28: PostgreSQL and Open Source in the Brazilian Armed Forces

Sisub Project screenshots

Page 29: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

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: PostgreSQL and Open Source in the Brazilian Armed Forces

Results

Page 32: PostgreSQL and Open Source in the Brazilian Armed Forces

Conclusion about PG and FOSS

• Reliable

• Adaptable

• Scalable

• Low costs

Page 33: PostgreSQL and Open Source in the Brazilian Armed Forces

Questions?

Page 34: PostgreSQL and Open Source in the Brazilian Armed Forces

Further information

Luis Dosso

www.dextra.com.br

[email protected]

Gtalk/MSN: [email protected]

Skype: luisdosso

Phone: +55 19 3256-6722