Introducing #liveDB

Robert Friberg
Robert FribergSoftware Developer at Devrex Labs
Introducing liveDB,[object Object],Build faster systems faster,[object Object],Robert Friberg, robert@devrex.se,[object Object],Twitter: @robertfriberg, @livedomain,  #livedb,[object Object],http://livedb.devrex.se/,[object Object]
Disk,[object Object],.NET Process Memory,[object Object],Command,[object Object],serialization,[object Object],Engine,[object Object],Clients,[object Object],Client,[object Object],Transaction Log,[object Object],Client,[object Object],Pass queries and,[object Object],commands,[object Object],Snapshot.0,[object Object],Synchronized execution,[object Object],Snapshot.1,[object Object],In-memory,[object Object],Object,[object Object],Model,[object Object],Prevalent System Architecture,[object Object],Snapshot.N,[object Object]
The prevalent hypothesis,[object Object],Your data will fit in available RAM,[object Object],99% of all OLTP database are 1TB or less--Stonebraker, VoltDB,[object Object]
Eric Schmidt, Google CEO,[object Object],At Google we found it costs less money and it is more efficient to use DRAM as storage as opposed to hard disks.,[object Object],Three minutes with Google's Eric Schmidt , CNN.COM,[object Object]
What is liveDB?,[object Object],A native .NET in-memory database engine,[object Object],Full ACID support,[object Object],Embedded engine free to use for any purpose,[object Object],Supports any data representation,[object Object]
The NoSQL revolution,[object Object],RDBMS paradigm is shaking,[object Object],Alternative data representation, document, graph, key/value, etc,[object Object],Support large scale databases,[object Object],LiveDB focuses on,[object Object],Memory vs. Disk,[object Object],Freedom of representation,[object Object],Facebook is not the common case,[object Object]
Relational Database Prison,[object Object],Relational model formulated 1969,[object Object],Designed to address limitations non-existent today – disk access,[object Object],A relational model is just one of many possible datarepresentations,[object Object],Primitive stored procedure language,[object Object],O/R Mapping adds to the pain,[object Object]
O/R mapping vs Command/Query pattern,[object Object],O/R mapping is based on CRUD pattern,[object Object],CRUD is a specialization of Request/response,[object Object],Command/Query is more general (superset),[object Object],You can do CRUD with Command/Query but not the other way around,[object Object]
Business arguments,[object Object],Reduced time to market,[object Object],Lower TCO for software systems,[object Object],Reduced development time up to 40%,[object Object],Operations (no rdbms),[object Object],Licensing (no rdbms),[object Object],Faster systems,[object Object]
Developer benefits,[object Object],Model is pure .NET types and collections,[object Object],representational freedom,[object Object],DAL and downwards is eliminated,[object Object],No object/relational mapping,[object Object],No relational modeling,[object Object],No T-SQL programming,[object Object],Debugging,[object Object],Version control,[object Object],Supports DDD, TDD,[object Object]
Simple API,[object Object]
Start your engines!,[object Object],var db = Engine.Load<MyModel>(path);,[object Object],db.Execute(command);,[object Object],var c = db.Execute(m => m.Customers.GetById(42));,[object Object],...,[object Object],var cmd = SetPasswordCommand(c.Id, newPassword);,[object Object],db.Execute(cmd);,[object Object],db.Close();,[object Object]
Demo!,[object Object],http://roxsux.devrex.se/,[object Object],Coding a simple model,[object Object],Commands and queries,[object Object],Hosting the engine,[object Object],See blog for more info: http://livedb.devrex.se/,[object Object]
Drawbacks,[object Object],Model must fit in RAM,[object Object],Load time (start up and rollback),[object Object],Versioning issues,[object Object],.NET Only (Json possible),[object Object],No magical indexing (yet),[object Object]
Gotchas,[object Object],No external dependencies from commands,[object Object],Don’t modify the model with query,[object Object],Rollback is expensive,[object Object],Don’t manipulate model out of context,[object Object],Dont rely on reference equality,[object Object],Results are not direct references,[object Object]
References,[object Object],Prevalent System Architecture,[object Object],prevayler.org, java project from 2003, alive and kicking,[object Object],Bamboo.Prevalence .NET 1.1, dead project?,[object Object],VoltDB,[object Object]
Thank you!,[object Object],Robert Friberg, Devrex,[object Object],Twitter: @robertfriberg, @livedomain, #livedb,[object Object],http://livedb.devrex.se/,[object Object]
1 of 17

Recommended

Deep Learning with GPUs in Production - AI By the Bay by
Deep Learning with GPUs in Production - AI By the BayDeep Learning with GPUs in Production - AI By the Bay
Deep Learning with GPUs in Production - AI By the BayAdam Gibson
4.8K views15 slides
Strata Beijing 2017: Jumpy, a python interface for nd4j by
Strata Beijing 2017: Jumpy, a python interface for nd4jStrata Beijing 2017: Jumpy, a python interface for nd4j
Strata Beijing 2017: Jumpy, a python interface for nd4jAdam Gibson
2.8K views16 slides
Concurrent vsparallel by
Concurrent vsparallelConcurrent vsparallel
Concurrent vsparallelJoseph Elwin Fernandes
209 views24 slides
Boolan machine learning summit by
Boolan machine learning summitBoolan machine learning summit
Boolan machine learning summitAdam Gibson
1.8K views16 slides
IMDB Showdown - OrigoDB, Redis and Hekaton by
IMDB Showdown - OrigoDB, Redis and HekatonIMDB Showdown - OrigoDB, Redis and Hekaton
IMDB Showdown - OrigoDB, Redis and HekatonRobert Friberg
1.3K views27 slides
OrigoDB - Your data fits in RAM by
OrigoDB - Your data fits in RAMOrigoDB - Your data fits in RAM
OrigoDB - Your data fits in RAMRobert Friberg
1.1K views18 slides

More Related Content

Similar to Introducing #liveDB

Super Sizing Youtube with Python by
Super Sizing Youtube with PythonSuper Sizing Youtube with Python
Super Sizing Youtube with Pythondidip
15.2K views25 slides
Os Solomon by
Os SolomonOs Solomon
Os Solomonoscon2007
661 views25 slides
2006 DDD4: Data access layers - Convenience vs. Control and Performance? by
2006 DDD4: Data access layers - Convenience vs. Control and Performance?2006 DDD4: Data access layers - Convenience vs. Control and Performance?
2006 DDD4: Data access layers - Convenience vs. Control and Performance?Daniel Fisher
236 views22 slides
xTech2006_DB2onRails by
xTech2006_DB2onRailsxTech2006_DB2onRails
xTech2006_DB2onRailswebuploader
725 views49 slides
What's new with enterprise Redis - Leena Joshi, Redis Labs by
What's new with enterprise Redis - Leena Joshi, Redis LabsWhat's new with enterprise Redis - Leena Joshi, Redis Labs
What's new with enterprise Redis - Leena Joshi, Redis LabsRedis Labs
1.7K views42 slides
Isset Presentation @ EECI2009 by
Isset Presentation @ EECI2009Isset Presentation @ EECI2009
Isset Presentation @ EECI2009Isset Internet Professionals
338 views55 slides

Similar to Introducing #liveDB(20)

Super Sizing Youtube with Python by didip
Super Sizing Youtube with PythonSuper Sizing Youtube with Python
Super Sizing Youtube with Python
didip15.2K views
Os Solomon by oscon2007
Os SolomonOs Solomon
Os Solomon
oscon2007661 views
2006 DDD4: Data access layers - Convenience vs. Control and Performance? by Daniel Fisher
2006 DDD4: Data access layers - Convenience vs. Control and Performance?2006 DDD4: Data access layers - Convenience vs. Control and Performance?
2006 DDD4: Data access layers - Convenience vs. Control and Performance?
Daniel Fisher236 views
xTech2006_DB2onRails by webuploader
xTech2006_DB2onRailsxTech2006_DB2onRails
xTech2006_DB2onRails
webuploader725 views
What's new with enterprise Redis - Leena Joshi, Redis Labs by Redis Labs
What's new with enterprise Redis - Leena Joshi, Redis LabsWhat's new with enterprise Redis - Leena Joshi, Redis Labs
What's new with enterprise Redis - Leena Joshi, Redis Labs
Redis Labs1.7K views
Recommendations for Building Machine Learning Software by Justin Basilico
Recommendations for Building Machine Learning SoftwareRecommendations for Building Machine Learning Software
Recommendations for Building Machine Learning Software
Justin Basilico2.9K views
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1... by MLconf
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
Justin Basilico, Research/ Engineering Manager at Netflix at MLconf SF - 11/1...
MLconf1.9K views
Challenges of Implementing an Advanced SQL Engine on Hadoop by DataWorks Summit
Challenges of Implementing an Advanced SQL Engine on HadoopChallenges of Implementing an Advanced SQL Engine on Hadoop
Challenges of Implementing an Advanced SQL Engine on Hadoop
DataWorks Summit2.2K views
tybsc it asp.net full unit 1,2,3,4,5,6 notes by WE-IT TUTORIALS
tybsc it asp.net full unit 1,2,3,4,5,6 notestybsc it asp.net full unit 1,2,3,4,5,6 notes
tybsc it asp.net full unit 1,2,3,4,5,6 notes
WE-IT TUTORIALS49.7K views
IBMHadoopofferingTechline-Systems2015 by Daniela Zuppini
IBMHadoopofferingTechline-Systems2015IBMHadoopofferingTechline-Systems2015
IBMHadoopofferingTechline-Systems2015
Daniela Zuppini125 views
RAPIDS – Open GPU-accelerated Data Science by Data Works MD
RAPIDS – Open GPU-accelerated Data ScienceRAPIDS – Open GPU-accelerated Data Science
RAPIDS – Open GPU-accelerated Data Science
Data Works MD414 views
Real time Object Detection and Analytics using RedisEdge and Docker by Ajeet Singh Raina
Real time Object Detection and Analytics using RedisEdge and DockerReal time Object Detection and Analytics using RedisEdge and Docker
Real time Object Detection and Analytics using RedisEdge and Docker
Ajeet Singh Raina2.5K views
Soprex framework on .net in action by Milan Vukoje
Soprex framework on .net in actionSoprex framework on .net in action
Soprex framework on .net in action
Milan Vukoje584 views
UnConference for Georgia Southern Computer Science March 31, 2015 by Christopher Curtin
UnConference for Georgia Southern Computer Science March 31, 2015UnConference for Georgia Southern Computer Science March 31, 2015
UnConference for Georgia Southern Computer Science March 31, 2015
PHP – Faster And Cheaper. Scale Vertically with IBM i by Sam Hennessy
PHP – Faster And Cheaper. Scale Vertically with IBM iPHP – Faster And Cheaper. Scale Vertically with IBM i
PHP – Faster And Cheaper. Scale Vertically with IBM i
Sam Hennessy1.2K views
Sql server 2016 it just runs faster sql bits 2017 edition by Bob Ward
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
Bob Ward662 views
Php Frameworks by Ryan Davis
Php FrameworksPhp Frameworks
Php Frameworks
Ryan Davis59.1K views
MongoDB and In-Memory Computing by Dylan Tong
MongoDB and In-Memory ComputingMongoDB and In-Memory Computing
MongoDB and In-Memory Computing
Dylan Tong589 views
VMUGIT UC 2013 - 04 Duncan Epping by VMUG IT
VMUGIT UC 2013 - 04 Duncan EppingVMUGIT UC 2013 - 04 Duncan Epping
VMUGIT UC 2013 - 04 Duncan Epping
VMUG IT380 views

Recently uploaded

Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueShapeBlue
96 views7 slides
Future of AR - Facebook Presentation by
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook PresentationRob McCarty
46 views27 slides
Uni Systems for Power Platform.pptx by
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptxUni Systems S.M.S.A.
58 views21 slides
Network Source of Truth and Infrastructure as Code revisited by
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisitedNetwork Automation Forum
42 views45 slides
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...ShapeBlue
54 views15 slides
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueShapeBlue
96 views20 slides

Recently uploaded(20)

Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue96 views
Future of AR - Facebook Presentation by Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty46 views
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... by ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue54 views
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue96 views
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ by ShapeBlue
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericConfidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
ShapeBlue41 views
NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu141 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue46 views
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... by ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue88 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays40 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue65 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue82 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray1080 views
The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE57 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue74 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue35 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue50 views
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O... by ShapeBlue
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
Declarative Kubernetes Cluster Deployment with Cloudstack and Cluster API - O...
ShapeBlue42 views

Introducing #liveDB

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.