SlideShare uma empresa Scribd logo
1 de 7
Baixar para ler offline
Framework & Speed + Memory
      Improvements
Speed + Memory
●   Better use of postgresql functionalities
    ●   Fillfactor & tablespace definition for each model
    ●   Split some multi-model table on it own schema
        –   Properties
        –   Translation
        –   Workflow
        –   Free benefit: fix some security issues
●   HTTP keep-alive on clients
ORM
●   MORE DOCUMENTATION
●   search_read + search_browse
●   Real datetime object. No more strings
●   Domain: BETWEEN operator
    ●   [('price', 'BETWEEN', (100, 200))]
●   delegate logic to fields itself to easy the create of
    new type of fields (also for domain operators)
●   easy way to add new services/protocols:
    jsonrpc / soap / ...
ORM
●   Server logs readable and configurable from the
    client
●   High level functions for “base” operations
    ●   Create invoice
●   Better crash reports (cgitb, last rpc requests...)
●   metadata on the model that change the
    rendering of the view
    ●   if a field is biggger than x, put this text in red / show
        notification
ORM
●   multiple inheritance of model can break
    functions.
    ●   Multiple overloading in multi-localization.
        Computation for fr_FR is not the same than for
        de_DE
●
ORM: sequences

●   manage a "hole" list (configurable)
●   when ask next #, use one from hole list
●   hole list generation
●   reset each month / year
●   reset at 0 when reach a given maximum
●   date is taken from context (not current)
ORM: cron improvement

●   real cron jobs, that obey start date, interval (determinist)
    –   so no "priority" needed
●   jobs could be demonized (killed with the server)
●   jobs could be locked out: not run 2 same job (group) at the
    same time
●   interval need more "business" logic: 1st monday of month, last
    day of month...
●   better logging of cron jobs, especially in case of crash
●   cron runner can be disabled (multiple server on the same db)
●   running condition

Mais conteúdo relacionado

Mais procurados

Couchbase live 2016
Couchbase live 2016Couchbase live 2016
Couchbase live 2016Pierre Mavro
 
KDB database (EPAM tech talks, Sofia, April, 2015)
KDB database (EPAM tech talks, Sofia, April, 2015)KDB database (EPAM tech talks, Sofia, April, 2015)
KDB database (EPAM tech talks, Sofia, April, 2015)Martin Toshev
 
Omaha Rails User Group - Ec2
Omaha Rails User Group - Ec2Omaha Rails User Group - Ec2
Omaha Rails User Group - Ec2BrightMix
 
Beyond 1000 bosh Deployments
Beyond 1000 bosh DeploymentsBeyond 1000 bosh Deployments
Beyond 1000 bosh Deploymentsanynines GmbH
 
Java gc and JVM optimization
Java gc  and JVM optimizationJava gc  and JVM optimization
Java gc and JVM optimizationRajan Jethva
 
Sharding: Past, Present and Future with Krutika Dhananjay
Sharding: Past, Present and Future with Krutika DhananjaySharding: Past, Present and Future with Krutika Dhananjay
Sharding: Past, Present and Future with Krutika DhananjayGluster.org
 
Allocation of Frames & Thrashing
Allocation of Frames & ThrashingAllocation of Frames & Thrashing
Allocation of Frames & Thrashingarifmollick8578
 
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicumBsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicumScott Tsai
 
Object Compaction in Cloud for High Yield
Object Compaction in Cloud for High YieldObject Compaction in Cloud for High Yield
Object Compaction in Cloud for High YieldScyllaDB
 
Avoiding Data Hotspots at Scale
Avoiding Data Hotspots at ScaleAvoiding Data Hotspots at Scale
Avoiding Data Hotspots at ScaleScyllaDB
 
Cassandra Anti-Patterns
Cassandra Anti-PatternsCassandra Anti-Patterns
Cassandra Anti-PatternsMatthew Dennis
 
(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014
(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014
(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014Amazon Web Services
 

Mais procurados (20)

Couchbase live 2016
Couchbase live 2016Couchbase live 2016
Couchbase live 2016
 
Redis Beyond
Redis BeyondRedis Beyond
Redis Beyond
 
KDB database (EPAM tech talks, Sofia, April, 2015)
KDB database (EPAM tech talks, Sofia, April, 2015)KDB database (EPAM tech talks, Sofia, April, 2015)
KDB database (EPAM tech talks, Sofia, April, 2015)
 
Redis Beyond
Redis BeyondRedis Beyond
Redis Beyond
 
Omaha Rails User Group - Ec2
Omaha Rails User Group - Ec2Omaha Rails User Group - Ec2
Omaha Rails User Group - Ec2
 
No sql
No sqlNo sql
No sql
 
Beyond 1000 bosh Deployments
Beyond 1000 bosh DeploymentsBeyond 1000 bosh Deployments
Beyond 1000 bosh Deployments
 
OpenStreetMap Belarus Tile Server
OpenStreetMap Belarus Tile ServerOpenStreetMap Belarus Tile Server
OpenStreetMap Belarus Tile Server
 
Cimagraphi8
Cimagraphi8Cimagraphi8
Cimagraphi8
 
Java gc and JVM optimization
Java gc  and JVM optimizationJava gc  and JVM optimization
Java gc and JVM optimization
 
Sharding: Past, Present and Future with Krutika Dhananjay
Sharding: Past, Present and Future with Krutika DhananjaySharding: Past, Present and Future with Krutika Dhananjay
Sharding: Past, Present and Future with Krutika Dhananjay
 
Allocation of Frames & Thrashing
Allocation of Frames & ThrashingAllocation of Frames & Thrashing
Allocation of Frames & Thrashing
 
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicumBsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
 
Redo log
Redo logRedo log
Redo log
 
Object Compaction in Cloud for High Yield
Object Compaction in Cloud for High YieldObject Compaction in Cloud for High Yield
Object Compaction in Cloud for High Yield
 
Avoiding Data Hotspots at Scale
Avoiding Data Hotspots at ScaleAvoiding Data Hotspots at Scale
Avoiding Data Hotspots at Scale
 
Hypertable Nosql
Hypertable NosqlHypertable Nosql
Hypertable Nosql
 
Cassandra Anti-Patterns
Cassandra Anti-PatternsCassandra Anti-Patterns
Cassandra Anti-Patterns
 
(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014
(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014
(BDT307) Running NoSQL on Amazon EC2 | AWS re:Invent 2014
 
Virtual memory ,Allocaton of frame & Trashing
Virtual memory  ,Allocaton of frame & TrashingVirtual memory  ,Allocaton of frame & Trashing
Virtual memory ,Allocaton of frame & Trashing
 

Destaque

Usability - Fabien Pinckaers
Usability - Fabien PinckaersUsability - Fabien Pinckaers
Usability - Fabien PinckaersNico Tristan
 
OpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien PinckaersOpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien PinckaersNico Tristan
 
OpenERP Achievements 2010
OpenERP Achievements 2010 OpenERP Achievements 2010
OpenERP Achievements 2010 Nico Tristan
 
Nhomar Hernandez on Partnership
Nhomar Hernandez on PartnershipNhomar Hernandez on Partnership
Nhomar Hernandez on PartnershipNico Tristan
 
OpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales StrategyOpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales StrategyNico Tristan
 
Akretion magento erp_connect
Akretion magento erp_connectAkretion magento erp_connect
Akretion magento erp_connectNico Tristan
 
ADN generic payroll-france
ADN generic payroll-franceADN generic payroll-france
ADN generic payroll-franceNico Tristan
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionIn a Rocket
 

Destaque (9)

Usability - Fabien Pinckaers
Usability - Fabien PinckaersUsability - Fabien Pinckaers
Usability - Fabien Pinckaers
 
OpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien PinckaersOpenERP Vision Fabien Pinckaers
OpenERP Vision Fabien Pinckaers
 
OpenERP Achievements 2010
OpenERP Achievements 2010 OpenERP Achievements 2010
OpenERP Achievements 2010
 
Nhomar Hernandez on Partnership
Nhomar Hernandez on PartnershipNhomar Hernandez on Partnership
Nhomar Hernandez on Partnership
 
OpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales StrategyOpenERP Xavier Pansaers Sales Strategy
OpenERP Xavier Pansaers Sales Strategy
 
Akretion magento erp_connect
Akretion magento erp_connectAkretion magento erp_connect
Akretion magento erp_connect
 
Bhc asterisk
Bhc asteriskBhc asterisk
Bhc asterisk
 
ADN generic payroll-france
ADN generic payroll-franceADN generic payroll-france
ADN generic payroll-france
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming Convention
 

Semelhante a Framework workshop

Big data Argentina meetup 2020-09: Intro to presto on docker
Big data Argentina meetup 2020-09: Intro to presto on dockerBig data Argentina meetup 2020-09: Intro to presto on docker
Big data Argentina meetup 2020-09: Intro to presto on dockerFederico Palladoro
 
Dragoncraft Architectural Overview
Dragoncraft Architectural OverviewDragoncraft Architectural Overview
Dragoncraft Architectural Overviewjessesanford
 
PostgreSQL and Redis - talk at pgcon 2013
PostgreSQL and Redis - talk at pgcon 2013PostgreSQL and Redis - talk at pgcon 2013
PostgreSQL and Redis - talk at pgcon 2013Andrew Dunstan
 
Etl confessions pg conf us 2017
Etl confessions   pg conf us 2017Etl confessions   pg conf us 2017
Etl confessions pg conf us 2017Corey Huinker
 
Netflix Keystone Pipeline at Samza Meetup 10-13-2015
Netflix Keystone Pipeline at Samza Meetup 10-13-2015Netflix Keystone Pipeline at Samza Meetup 10-13-2015
Netflix Keystone Pipeline at Samza Meetup 10-13-2015Monal Daxini
 
From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...
From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...
From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...confluent
 
AWS Lambdas are cool - Cheminfo Stories Day 1
AWS Lambdas are cool - Cheminfo Stories Day 1AWS Lambdas are cool - Cheminfo Stories Day 1
AWS Lambdas are cool - Cheminfo Stories Day 1ChemAxon
 
OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...
OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...
OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...NETWAYS
 
ApacheCon 2022_ Large scale unification of file format.pptx
ApacheCon 2022_ Large scale unification of file format.pptxApacheCon 2022_ Large scale unification of file format.pptx
ApacheCon 2022_ Large scale unification of file format.pptxXinliShang1
 
Introduction to redis - version 2
Introduction to redis - version 2Introduction to redis - version 2
Introduction to redis - version 2Dvir Volk
 
Node.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleNode.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleDmytro Semenov
 
Introduction to AWS Big Data
Introduction to AWS Big Data Introduction to AWS Big Data
Introduction to AWS Big Data Omid Vahdaty
 
Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013
Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013
Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013Amazon Web Services
 
Eko10 Workshop Opensource Database Auditing
Eko10  Workshop Opensource Database AuditingEko10  Workshop Opensource Database Auditing
Eko10 Workshop Opensource Database AuditingJuan Berner
 
PostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major FeaturesPostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major FeaturesInMobi Technology
 
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...DataWorks Summit/Hadoop Summit
 
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
PHP At 5000 Requests Per Second: Hootsuite’s Scaling StoryPHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Storyvanphp
 

Semelhante a Framework workshop (20)

Big data Argentina meetup 2020-09: Intro to presto on docker
Big data Argentina meetup 2020-09: Intro to presto on dockerBig data Argentina meetup 2020-09: Intro to presto on docker
Big data Argentina meetup 2020-09: Intro to presto on docker
 
Dragoncraft Architectural Overview
Dragoncraft Architectural OverviewDragoncraft Architectural Overview
Dragoncraft Architectural Overview
 
PostgreSQL and Redis - talk at pgcon 2013
PostgreSQL and Redis - talk at pgcon 2013PostgreSQL and Redis - talk at pgcon 2013
PostgreSQL and Redis - talk at pgcon 2013
 
Web scale monitoring
Web scale monitoringWeb scale monitoring
Web scale monitoring
 
Etl confessions pg conf us 2017
Etl confessions   pg conf us 2017Etl confessions   pg conf us 2017
Etl confessions pg conf us 2017
 
Duma ver3
Duma ver3Duma ver3
Duma ver3
 
AWS Lambda
AWS LambdaAWS Lambda
AWS Lambda
 
Netflix Keystone Pipeline at Samza Meetup 10-13-2015
Netflix Keystone Pipeline at Samza Meetup 10-13-2015Netflix Keystone Pipeline at Samza Meetup 10-13-2015
Netflix Keystone Pipeline at Samza Meetup 10-13-2015
 
From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...
From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...
From Zero to Streaming Healthcare in Production (Alexander Kouznetsov, Invita...
 
AWS Lambdas are cool - Cheminfo Stories Day 1
AWS Lambdas are cool - Cheminfo Stories Day 1AWS Lambdas are cool - Cheminfo Stories Day 1
AWS Lambdas are cool - Cheminfo Stories Day 1
 
OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...
OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...
OSMC 2018 | Learnings, patterns and Uber’s metrics platform M3, open sourced ...
 
ApacheCon 2022_ Large scale unification of file format.pptx
ApacheCon 2022_ Large scale unification of file format.pptxApacheCon 2022_ Large scale unification of file format.pptx
ApacheCon 2022_ Large scale unification of file format.pptx
 
Introduction to redis - version 2
Introduction to redis - version 2Introduction to redis - version 2
Introduction to redis - version 2
 
Node.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleNode.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scale
 
Introduction to AWS Big Data
Introduction to AWS Big Data Introduction to AWS Big Data
Introduction to AWS Big Data
 
Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013
Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013
Getting Maximum Performance from Amazon Redshift (DAT305) | AWS re:Invent 2013
 
Eko10 Workshop Opensource Database Auditing
Eko10  Workshop Opensource Database AuditingEko10  Workshop Opensource Database Auditing
Eko10 Workshop Opensource Database Auditing
 
PostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major FeaturesPostgreSQL 9.5 - Major Features
PostgreSQL 9.5 - Major Features
 
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...
 
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
PHP At 5000 Requests Per Second: Hootsuite’s Scaling StoryPHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
PHP At 5000 Requests Per Second: Hootsuite’s Scaling Story
 

Mais de Nico Tristan

Camptocamp maps open_e_rp.key
Camptocamp maps open_e_rp.keyCamptocamp maps open_e_rp.key
Camptocamp maps open_e_rp.keyNico Tristan
 
Open net the eagle project
Open net   the eagle projectOpen net   the eagle project
Open net the eagle projectNico Tristan
 
Usability workshop
Usability workshopUsability workshop
Usability workshopNico Tristan
 
Akretion fleet maintenance
Akretion fleet maintenanceAkretion fleet maintenance
Akretion fleet maintenanceNico Tristan
 

Mais de Nico Tristan (10)

Bhc mobile
Bhc mobileBhc mobile
Bhc mobile
 
Bhc ocs inventory
Bhc ocs inventoryBhc ocs inventory
Bhc ocs inventory
 
Camptocamp maps open_e_rp.key
Camptocamp maps open_e_rp.keyCamptocamp maps open_e_rp.key
Camptocamp maps open_e_rp.key
 
Camptocamp webkit
Camptocamp webkitCamptocamp webkit
Camptocamp webkit
 
Sales wrokshop
Sales wrokshopSales wrokshop
Sales wrokshop
 
Open net the eagle project
Open net   the eagle projectOpen net   the eagle project
Open net the eagle project
 
Payroll workshop
Payroll workshopPayroll workshop
Payroll workshop
 
Syleam warehouse
Syleam warehouseSyleam warehouse
Syleam warehouse
 
Usability workshop
Usability workshopUsability workshop
Usability workshop
 
Akretion fleet maintenance
Akretion fleet maintenanceAkretion fleet maintenance
Akretion fleet maintenance
 

Framework workshop

  • 1. Framework & Speed + Memory Improvements
  • 2. Speed + Memory ● Better use of postgresql functionalities ● Fillfactor & tablespace definition for each model ● Split some multi-model table on it own schema – Properties – Translation – Workflow – Free benefit: fix some security issues ● HTTP keep-alive on clients
  • 3. ORM ● MORE DOCUMENTATION ● search_read + search_browse ● Real datetime object. No more strings ● Domain: BETWEEN operator ● [('price', 'BETWEEN', (100, 200))] ● delegate logic to fields itself to easy the create of new type of fields (also for domain operators) ● easy way to add new services/protocols: jsonrpc / soap / ...
  • 4. ORM ● Server logs readable and configurable from the client ● High level functions for “base” operations ● Create invoice ● Better crash reports (cgitb, last rpc requests...) ● metadata on the model that change the rendering of the view ● if a field is biggger than x, put this text in red / show notification
  • 5. ORM ● multiple inheritance of model can break functions. ● Multiple overloading in multi-localization. Computation for fr_FR is not the same than for de_DE ●
  • 6. ORM: sequences ● manage a "hole" list (configurable) ● when ask next #, use one from hole list ● hole list generation ● reset each month / year ● reset at 0 when reach a given maximum ● date is taken from context (not current)
  • 7. ORM: cron improvement ● real cron jobs, that obey start date, interval (determinist) – so no "priority" needed ● jobs could be demonized (killed with the server) ● jobs could be locked out: not run 2 same job (group) at the same time ● interval need more "business" logic: 1st monday of month, last day of month... ● better logging of cron jobs, especially in case of crash ● cron runner can be disabled (multiple server on the same db) ● running condition