Upload
ldosso
View
784
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Presentation exhibited in Portland in the PostgreSQL Day 2010.
Citation preview
Professional Open SourceSoftware development, Outsourcing, IT consulting and Training
PostgreSQL in the BrazilianArmed Forces
PDXPUG Day 2010
Agenda
• Free/Open source software and Brazil
• PostgreSQL in Army
• PostgreSQL in Air Force
Elephants and 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
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
Brazilian Army
DEC - Department of Engineering and Construction is responsible for:
• guidelines• planning• coordination, and• control of construction activities and Army properties
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.
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
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
Opus Project
Technologies
– Java Enterprise Edition 5
– PostgreSQL + PostGIS
– Linux CentOS 5.2
– Jboss AS
– GIS• MapServer
• GeoServer
• OpenLayers
• GeoTools
• EJB3Spatial
Production infrastructure
Four Linux CentOS servers
- A cluster of two JBoss servers
- Two PostgreSQL servers (warm-standby)
Opus screenshot
Opus screenshot
Opus screenshot
OPUS screenshot
OPUS screenshot
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
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
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
FAB – Sisub Project
– PostgreSQL
– Slony
– Debian Linux
– JBoss
– EJB 3
– Tapestry framework– JPA (Java Persistence API)
– Jasper Reports
– Python
Technologies
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
Sisub Project
Sifare Project screenshots
Sifare Project screenshots
SIA Project screenshots
SISUB Project screenshots
Sisub Project screenshots
Sisub Project screenshots
Results
• System Benefits
– Nutritional control of all meals
– Transparency in management
– Waste reduction
– Agility and less bureaucracy
– Online process management
– Automated performance indicators
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
Results
Conclusion about PG and FOSS
• Reliable
• Adaptable
• Scalable
• Low costs
Questions?
Further information
Luis Dosso
www.dextra.com.br
Gtalk/MSN: [email protected]
Skype: luisdosso
Phone: +55 19 3256-6722