Submit Search
Upload
Go-Couchbase Golang Paris 2015/12/17
•
0 likes
•
498 views
E
Edouard Buschini
Follow
Lighting talk sur le connecteur Go pour la base de donnée NoSql couchbase
Read less
Read more
Technology
Report
Share
Report
Share
1 of 13
Download now
Download to read offline
Recommended
KubeCon EU 2016: Custom Volume Plugins
KubeCon EU 2016: Custom Volume Plugins
KubeAcademy
Introduction to ansible
Introduction to ansible
Javier Arturo Rodríguez
Ufo Ship for AWS ECS
Ufo Ship for AWS ECS
Tung Nguyen
The Unbearable Lightness: Extending the Bash shell
The Unbearable Lightness: Extending the Bash shell
Roberto Reale
Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2
Brian Schott
Apache Hadoop for System Administrators
Apache Hadoop for System Administrators
Allen Wittenauer
Ansible
Ansible
Michal Haták
AnsibleFest 2014 - Role Tips and Tricks
AnsibleFest 2014 - Role Tips and Tricks
jimi-c
Recommended
KubeCon EU 2016: Custom Volume Plugins
KubeCon EU 2016: Custom Volume Plugins
KubeAcademy
Introduction to ansible
Introduction to ansible
Javier Arturo Rodríguez
Ufo Ship for AWS ECS
Ufo Ship for AWS ECS
Tung Nguyen
The Unbearable Lightness: Extending the Bash shell
The Unbearable Lightness: Extending the Bash shell
Roberto Reale
Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2
Brian Schott
Apache Hadoop for System Administrators
Apache Hadoop for System Administrators
Allen Wittenauer
Ansible
Ansible
Michal Haták
AnsibleFest 2014 - Role Tips and Tricks
AnsibleFest 2014 - Role Tips and Tricks
jimi-c
RingoJS
RingoJS
Oleg Podsechin
Go初心者がGoでコマンドラインツールの作成に挑戦した話
Go初心者がGoでコマンドラインツールの作成に挑戦した話
dcubeio
GoLang & GoatCore
GoLang & GoatCore
Sebastian Pożoga
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
Puppet
Apache Cassandra and Go
Apache Cassandra and Go
DataStax Academy
Breaking Up With Your Data Center Presentation
Breaking Up With Your Data Center Presentation
Telescope_Inc
Deployment with Fabric
Deployment with Fabric
andymccurdy
New ES6 Hotness
New ES6 Hotness
Pawel Szymczykowski
Usecase examples of Packer
Usecase examples of Packer
Hiroshi SHIBATA
Apache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
Allen Wittenauer
wwc start-launched
wwc start-launched
Mat Schaffer
Donetsk.py - fabric
Donetsk.py - fabric
Pavel Reznikov
Fabric: A Capistrano Alternative
Fabric: A Capistrano Alternative
Panoptic Development, Inc.
fog or: How I Learned to Stop Worrying and Love the Cloud
fog or: How I Learned to Stop Worrying and Love the Cloud
Wesley Beary
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
mCloud
Infrastructure as Code with Terraform
Infrastructure as Code with Terraform
Mario IC
puppet @techlifecookpad
puppet @techlifecookpad
Naoya Nakazawa
Let's break apache spark workshop
Let's break apache spark workshop
Grzegorz Gawron
Node.js
Node.js
Mat Schaffer
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Big Data Spain
Algemeen Vsm Fc
Algemeen Vsm Fc
edekind
Biblical number theory
Biblical number theory
Erasmus+
More Related Content
What's hot
RingoJS
RingoJS
Oleg Podsechin
Go初心者がGoでコマンドラインツールの作成に挑戦した話
Go初心者がGoでコマンドラインツールの作成に挑戦した話
dcubeio
GoLang & GoatCore
GoLang & GoatCore
Sebastian Pożoga
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
Puppet
Apache Cassandra and Go
Apache Cassandra and Go
DataStax Academy
Breaking Up With Your Data Center Presentation
Breaking Up With Your Data Center Presentation
Telescope_Inc
Deployment with Fabric
Deployment with Fabric
andymccurdy
New ES6 Hotness
New ES6 Hotness
Pawel Szymczykowski
Usecase examples of Packer
Usecase examples of Packer
Hiroshi SHIBATA
Apache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
Allen Wittenauer
wwc start-launched
wwc start-launched
Mat Schaffer
Donetsk.py - fabric
Donetsk.py - fabric
Pavel Reznikov
Fabric: A Capistrano Alternative
Fabric: A Capistrano Alternative
Panoptic Development, Inc.
fog or: How I Learned to Stop Worrying and Love the Cloud
fog or: How I Learned to Stop Worrying and Love the Cloud
Wesley Beary
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
mCloud
Infrastructure as Code with Terraform
Infrastructure as Code with Terraform
Mario IC
puppet @techlifecookpad
puppet @techlifecookpad
Naoya Nakazawa
Let's break apache spark workshop
Let's break apache spark workshop
Grzegorz Gawron
Node.js
Node.js
Mat Schaffer
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Big Data Spain
What's hot
(20)
RingoJS
RingoJS
Go初心者がGoでコマンドラインツールの作成に挑戦した話
Go初心者がGoでコマンドラインツールの作成に挑戦した話
GoLang & GoatCore
GoLang & GoatCore
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
PuppetDB: New Adventures in Higher-Order Automation - PuppetConf 2013
Apache Cassandra and Go
Apache Cassandra and Go
Breaking Up With Your Data Center Presentation
Breaking Up With Your Data Center Presentation
Deployment with Fabric
Deployment with Fabric
New ES6 Hotness
New ES6 Hotness
Usecase examples of Packer
Usecase examples of Packer
Apache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
wwc start-launched
wwc start-launched
Donetsk.py - fabric
Donetsk.py - fabric
Fabric: A Capistrano Alternative
Fabric: A Capistrano Alternative
fog or: How I Learned to Stop Worrying and Love the Cloud
fog or: How I Learned to Stop Worrying and Love the Cloud
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
Infrastructure as Code with Terraform
Infrastructure as Code with Terraform
puppet @techlifecookpad
puppet @techlifecookpad
Let's break apache spark workshop
Let's break apache spark workshop
Node.js
Node.js
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Elasticsearch (R)Evolution — You Know, for Search… by Philipp Krenn at Big Da...
Viewers also liked
Algemeen Vsm Fc
Algemeen Vsm Fc
edekind
Biblical number theory
Biblical number theory
Erasmus+
Ghost abades village. tenerife south.
Ghost abades village. tenerife south.
Erasmus+
Communication Technologies in India
Communication Technologies in India
aman_dang
Untitled Presentation
Untitled Presentation
NatalyaZH
Наталья Каминарская_Инфраструктура поддержки развития целевых капиталов
Наталья Каминарская_Инфраструктура поддержки развития целевых капиталов
Программа "Целевые капиталы" Форума Доноров
fotos guapisimas
fotos guapisimas
chachipotito007
Allan Eggers-Resume
Allan Eggers-Resume
Allan Eggers
Google Adwords Search Advertising Certification
Google Adwords Search Advertising Certification
dinesh arulmani
Reparación y ensamble de computadores
Reparación y ensamble de computadores
Ronald Julian Vargas Osorio
Enfermedad Pulmonares Intersticiales Difusas: Aproximación y Diagnóstico
Enfermedad Pulmonares Intersticiales Difusas: Aproximación y Diagnóstico
Reinaldo Cortez De La Fuente
Viewers also liked
(11)
Algemeen Vsm Fc
Algemeen Vsm Fc
Biblical number theory
Biblical number theory
Ghost abades village. tenerife south.
Ghost abades village. tenerife south.
Communication Technologies in India
Communication Technologies in India
Untitled Presentation
Untitled Presentation
Наталья Каминарская_Инфраструктура поддержки развития целевых капиталов
Наталья Каминарская_Инфраструктура поддержки развития целевых капиталов
fotos guapisimas
fotos guapisimas
Allan Eggers-Resume
Allan Eggers-Resume
Google Adwords Search Advertising Certification
Google Adwords Search Advertising Certification
Reparación y ensamble de computadores
Reparación y ensamble de computadores
Enfermedad Pulmonares Intersticiales Difusas: Aproximación y Diagnóstico
Enfermedad Pulmonares Intersticiales Difusas: Aproximación y Diagnóstico
Similar to Go-Couchbase Golang Paris 2015/12/17
Persistence patterns for containers
Persistence patterns for containers
Stephen Watt
Stream or not to Stream?
Stream or not to Stream?
Lukasz Byczynski
5 Takeaways from Migrating a Library to Scala 3 - Scala Love
5 Takeaways from Migrating a Library to Scala 3 - Scala Love
Natan Silnitsky
ElasticES-Hadoop: Bridging the world of Hadoop and Elasticsearch
ElasticES-Hadoop: Bridging the world of Hadoop and Elasticsearch
MapR Technologies
Apache CouchDB talk at Ontario GNU Linux Fest
Apache CouchDB talk at Ontario GNU Linux Fest
Myles Braithwaite
Inferno Scalable Deep Learning on Spark
Inferno Scalable Deep Learning on Spark
DataWorks Summit/Hadoop Summit
Java/Scala Lab: Руслан Шевченко - Implementation of CSP (Communication Sequen...
Java/Scala Lab: Руслан Шевченко - Implementation of CSP (Communication Sequen...
GeeksLab Odessa
Python Deployment with Fabric
Python Deployment with Fabric
andymccurdy
Scalding - the not-so-basics @ ScalaDays 2014
Scalding - the not-so-basics @ ScalaDays 2014
Konrad Malawski
Introduction to Apache Spark
Introduction to Apache Spark
Anastasios Skarlatidis
Advanced WordPress Development Environments
Advanced WordPress Development Environments
Beau Lebens
CoffeeScript Design Patterns
CoffeeScript Design Patterns
TrevorBurnham
Scalding - Hadoop Word Count in LESS than 70 lines of code
Scalding - Hadoop Word Count in LESS than 70 lines of code
Konrad Malawski
ABRIDGED VERSION - Joys & frustrations of putting 34,000 lines of Haskell in...
ABRIDGED VERSION - Joys & frustrations of putting 34,000 lines of Haskell in...
Saurabh Nanda
Reading Data into R
Reading Data into R
Kazuki Yoshida
BASH Variables Part 1: Basic Interpolation
BASH Variables Part 1: Basic Interpolation
Workhorse Computing
DevOps with Fabric
DevOps with Fabric
Simone Federici
Bottom to Top Stack Optimization with LAMP
Bottom to Top Stack Optimization with LAMP
katzgrau
Bottom to Top Stack Optimization - CICON2011
Bottom to Top Stack Optimization - CICON2011
CodeIgniter Conference
Real-Time Web Programming with PrismTech Vortex Web
Real-Time Web Programming with PrismTech Vortex Web
ADLINK Technology IoT
Similar to Go-Couchbase Golang Paris 2015/12/17
(20)
Persistence patterns for containers
Persistence patterns for containers
Stream or not to Stream?
Stream or not to Stream?
5 Takeaways from Migrating a Library to Scala 3 - Scala Love
5 Takeaways from Migrating a Library to Scala 3 - Scala Love
ElasticES-Hadoop: Bridging the world of Hadoop and Elasticsearch
ElasticES-Hadoop: Bridging the world of Hadoop and Elasticsearch
Apache CouchDB talk at Ontario GNU Linux Fest
Apache CouchDB talk at Ontario GNU Linux Fest
Inferno Scalable Deep Learning on Spark
Inferno Scalable Deep Learning on Spark
Java/Scala Lab: Руслан Шевченко - Implementation of CSP (Communication Sequen...
Java/Scala Lab: Руслан Шевченко - Implementation of CSP (Communication Sequen...
Python Deployment with Fabric
Python Deployment with Fabric
Scalding - the not-so-basics @ ScalaDays 2014
Scalding - the not-so-basics @ ScalaDays 2014
Introduction to Apache Spark
Introduction to Apache Spark
Advanced WordPress Development Environments
Advanced WordPress Development Environments
CoffeeScript Design Patterns
CoffeeScript Design Patterns
Scalding - Hadoop Word Count in LESS than 70 lines of code
Scalding - Hadoop Word Count in LESS than 70 lines of code
ABRIDGED VERSION - Joys & frustrations of putting 34,000 lines of Haskell in...
ABRIDGED VERSION - Joys & frustrations of putting 34,000 lines of Haskell in...
Reading Data into R
Reading Data into R
BASH Variables Part 1: Basic Interpolation
BASH Variables Part 1: Basic Interpolation
DevOps with Fabric
DevOps with Fabric
Bottom to Top Stack Optimization with LAMP
Bottom to Top Stack Optimization with LAMP
Bottom to Top Stack Optimization - CICON2011
Bottom to Top Stack Optimization - CICON2011
Real-Time Web Programming with PrismTech Vortex Web
Real-Time Web Programming with PrismTech Vortex Web
Recently uploaded
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Pixlogix Infotech
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Fwdays
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
Recently uploaded
(20)
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Go-Couchbase Golang Paris 2015/12/17
1.
Go-Couchbase
2.
Bio Edouard Buschini SRE@Winamax Go ~1
an
3.
Couchbase Base de donnée
NoSQL CAP Theorem: AP On-Memory Multi-threaded Réplication entre cluster (XDCR)
4.
Couchbase Réparti les écritures
sur tous les noeuds du cluster Master-Master/Master-Slave entre clusters (XDCR)
5.
Go-Couchbase Simple & Thread
Safe $> go get github.com/couchbase/go-couchbase import “github.com/couchbase/go-couchbase”
6.
Go-Couchbase Connect() c, err
:= couchbase.Connect("http://localhost:8091/") if err != nil { log.Fatalf("Error connecting: %v", err) } pool, err := c.GetPool("default") if err != nil { log.Fatalf("Error getting pool: %v", err) } bucket, err := pool.GetBucket("default") if err != nil { log.Fatalf("Error getting bucket: %v", err) }
7.
Go-Couchbase Set() v :=
make(map[string]string) v["nosql"] = "couchbase!" exp := 0 key := “RandomKey” err := bucket.Set(key, exp, v) if err != nil { log.Fatalf(“Error setting key: %v”, err) }
8.
Go-Couchbase Add() v :=
make(map[string]string) v["nosql"] = "couchbase!" exp := 0 key := “RandomKey” added, err := bucket.Add(key, exp, v) if err != nil { log.Fatalf(“Error adding key: %v”, err) } if !added { log.Println(“Key already exists!”) }
9.
Go-Couchbase Get() var v
interface{} key := “RandomKey” err := bucket.Get(key, &v) if err != nil { log.Fatalf(“Error getting key: %v”, err) }
10.
Go-Couchbase Update() key :=
“RandomKey” exp := 0 err := bucket.Update(key, exp, func(current []byte) (updated []byte, err error) { if current == nil { return nil, couchbase.UpdateCancel } // Verify current // To safely delete : return nil, nil return []byte(`{“nosql”:”couchbase!”}`), nil }) if err != nil { log.Fatalf(“Error updating key: %v”, err) }
11.
Go-Couchbase Delete() key :=
“RandomKey” err := bucket.Delete(key) if err != nil { log.Fatalf(“Error deleting key: %v”, err) }
12.
Use Case Sync-Gateway
13.
Merci ! twitter.com/@moonbocal github.com/tehmoon http://www.couchbase.com/nosql-databases/downloads
Download now