+ All Categories
Transcript
Page 1: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Building a Startupwith NoSQL

Sebastian Cohnen, @tisbastormforger.com, @StormForgerApp

NoSQL Matters Barcelona 2014

Page 2: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

About me• Sebastian Cohnen, M. Sc.

• Developer & Founder from Cologne, Germany

• (Web-) Architectures, Performance & Scalability

• Founder of StormForger.com (services around load testing HTTP-based systems)

Page 3: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Startups

• agile & open minded

• small teams, pragmatic

• solve new problems

Page 4: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

NoSQL?

"A NoSQL (often interpreted as Not Only SQL) database provides a mechanism for storage and

retrieval of data that is modeled in means other than the tabular relations used in relational databases."

https://en.wikipedia.org/wiki/NoSQL

"Motivations for this approach include simplicity of design, horizontal scaling and finer control over

availability."

Page 5: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

NoSQL

• Ease of use (development & operations)

• Very special problem

Page 6: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

StormForger

Page 7: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

StormForger• load and performance testing of HTTP APIs

• SaaS product

• plan, configure and execute tests

• analyze and compare results

Page 8: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

We are a startup!

Page 9: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Our Needs• handle highly structured, complex data

• ingest, process and query time series data

• caching of structured data

• centralized logging and log analysis

Page 10: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

How to find theperfect solution?

Page 11: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

There isn't one :-/

Page 12: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Polyglot Persistence

(NoSQL)TechnologyProblem

Page 13: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

…but be careful• What are the downsides and tradeoffs?

• Availability of tooling?

• How mature is the technology?

• What about (community or commercial) support?

Page 14: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Back to StormForger's needs…

Page 15: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

• SQL-ish, declarative query language

• easy to get started with

• powerful background/stream processing

Time Series Data

Page 16: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Caching

• very, very fast

• primitive functions to work with data structures

• awesome community

Page 17: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

• ELK (Elastic Search + Logstash + Kibana)

• Centralized, aggregated logging

• Great analysis and search features

Logging

Page 18: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Structured Data

• Not really tackled yet

• For now: serialize and store as TEXT in RDMS

Page 19: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Structured Data (2)

• we already evaluated some solutions

• great query language (AQL)

• support for JOINS & Graphs

Page 20: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Conclusion

• focus on ease of use aspects

• be pragmatic and think agile

• pick the right tool for the job

Page 21: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

And if you think you found the right solution…

…there are always alternatives…

Page 22: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

What about using a SQL DB for NoSQL?

Page 23: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

PostgreSQL• hstore: Key/Value

• json & jsonb: JSON data

• just use your existing tools

• query via SQL, indexable, …

Page 24: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014
Page 25: Sebastian Cohnen – Building a Startup with NoSQL - NoSQL matters Barcelona 2014

Thanks!

https://stormforger.comSebastian Cohnen (@tisba)

Questions?


Top Related