Monday, May 21, 2018

KSQL Deep Dive — The Open Source Streaming SQL Engine for Apache Kafka

DZone Database Zone
KSQL Deep Dive — The Open Source Streaming SQL Engine for Apache Kafka
KSQL Deep Dive — The Open Source Streaming SQL Engine for Apache Kafka

I had a workshop at Kafka Meetup Tel Aviv in May 2018: "KSQL Deep Dive — The Open Source Streaming Engine for Apache Kafka".

Here is the agenda, the slides, and the video recording.

Sunday, May 20, 2018

Finding Code Smells Using SQL Prompt

DZone Database Zone
Finding Code Smells Using SQL Prompt
Finding Code Smells Using SQL Prompt

Using TOP in a SELECT statement without a subsequent ORDERBY clause is legal in SQL Server, but meaningless because asking for the TOP10 rows implies that the data is guaranteed to be in a certain order, and tables have no implicit logical order. You must specify the order.

In a SELECT statement, you should always use an ORDERBY clause with the TOP clause, to specify which rows are affected by the TOP filter. If you need to implement a paging solution in an application widget, to send chunks or “pages” of data to the client so a user can scroll through data, it is better and easier to use the OFFSET–FETCH subclause in the ORDERBY clause, instead of the TOP clause.

Saturday, May 19, 2018

Tim Bray and Friends | Messaging Fanout for Parallel Processing | Guest Expert: Sam Dengler

Data Videos
#Data -Tim Bray and Friends | Messaging Fanout for Parallel Processing | Guest Expert: Sam Dengler

Top 5 SQL and Database Courses to Learn Online — Best of the Lot

DZone Database Zone
Top 5 SQL and Database Courses to Learn Online — Best of the Lot
Top 5 SQL and Database Courses to Learn Online — Best of the Lot

Hello guys, if you are a computer science graduate or new into programming world and are interested in learning SQL and looking for some awesome resources — e.g. books, courses, and tutorials — to start with, then you have come to the right place. In the past, I have shared some of the best SQL books and tutorials, and today, I am going to share some of the best SQL and database courses to learn so you can master this useful technology. If you don't know what SQL is and why you should learn it, let me give you a brief overview of SQL for everyone's benefit. SQL is a programming language to work with a database. You can use SQL to create database objects — e.g. tables, stored procedure, etc. — and also to store and retrieve data from the database.

The SQL is one of the most important skills for any programmer, irrespective of technology, framework, and domain. It is even more popular than a mainstream programming language like Java and Python, and it definitely adds a lot of value to your CV.

Friday, May 18, 2018

Capped Collection in MongoDB

DZone Database Zone
Capped Collection in MongoDB
Capped Collection in MongoDB

What is Capped Collection?

As the name suggests, a collection created with a cap (limit on size and number of documents) is said to be capped collections.

Thursday, May 17, 2018

Redis Enterprise Service on Kops Managed Kubernetes Cluster

DZone Database Zone
Redis Enterprise Service on Kops Managed Kubernetes Cluster
Redis Enterprise Service on Kops Managed Kubernetes Cluster

This tutorial will show you how to easily set up a Kubernetes cluster on a public cloud using a tool called “Kops.” This post is a complement to our Kubernetes webinar, in which we explained the basic Kubernetes primitives and our previous blog posts about Redis Enterprise Service and local Kubernetes development. For this tutorial, we will use the latest publicly available container image of Redis Enterprise Software. You can read about the high performance, in-memory Redis Enterprise 5.0.2 software release here.

What is Kops?

AWS Summit Milano 2018 | Keynote [Italian]

Data Videos
#Data -AWS Summit Milano 2018 | Keynote [Italian]

Wednesday, May 16, 2018

Masking Data in Practice — Part 1

DZone Database Zone
Masking Data in Practice — Part 1
Masking Data in Practice — Part 1

Even small extracts of data need to be created with caution if they are for public consumption. Sensitive data can 'hide' in unexpected places, and apparently innocuous data can be combined with other information to expose information about identifiable individuals. If we need to deliver an entire database in obfuscated form, the problems can get harder. Phil Factor examines some of the basic data masking techniques and the challenges inherent in masking certain types of sensitive and personal data while ensuring it still looks like the real data and preserving its referential integrity and distribution characteristics.

This article describes the practicalities of data masking, the various methods we can use, and the potential pitfalls. In subsequent articles, I'll demonstrate how we can mask or sanitize different types of data using tools such as SQL Clone, Data Masker for SQL Server, and SQL Data Generator.

What’s It like to Work at AWS as a Technical Account Manager?

Data Videos
#Data -What’s It like to Work at AWS as a Technical Account Manager?

RavenDB 4.1 Features: JavaScript Indexes

DZone Database Zone
RavenDB 4.1 Features: JavaScript Indexes
RavenDB 4.1 Features: JavaScript Indexes

Note: This feature is an experimental one. It will be included in 4.1, but it will be behind an experimental feature flag. It is possible that this will change before full inclusion in the product.

RavenDB now supports multiple operating systems, and we spend a lot of effort to bring RavenDB client APIs to more platforms. C#, JVM, and Python are already done and Go, Node.JS, and Ruby are in various beta stages. One of the things that this brought up was our indexing structure. Right now, if you want to define a custom index in RavenDB, you use C# Linq syntax to do so. When RavenDB was primarily focused on .NET, that was a perfectly fine decision. However, as we are pushing for more platforms, we wanted to avoid forcing users to learn the C# syntax when they create indexes.

Build on Serverless | Process Tweets Like a Pro

Data Videos
#Data -Build on Serverless | Process Tweets Like a Pro

Tuesday, May 15, 2018

Nordstrom: Event-Sourced Serverless Architectures

Data Videos
#Data -Nordstrom: Event-Sourced Serverless Architectures

Tarantool Queues (Part 3): The Art of Queue Parsing

DZone Database Zone
Tarantool Queues (Part 3): The Art of Queue Parsing
Tarantool Queues (Part 3): The Art of Queue Parsing

In our previous article, we used the tarantool-authman module to implement an authentication server. Tarantool-authman is quite good and has almost all of our desired functionality, but in complex distributed systems (including microservice ones), many subsystems must work asynchronously. So, if we implement a system with multiple services and a single authentication tool, the latter can become a bottleneck and will slow down the entire operation. Fortunately, queues provide a solution to our problem.

Our goal in this article is to achieve an implementation of an authentication server, i.e. a Tarantool-based instance, with the tarantool-authman module. To help this server cope with an inevitable flood of web-service requests, we’ll add a queue server made with Tarantool Queue.

Monday, May 14, 2018

What Is a Serverless Database? (Overview of Providers, Pros, and Cons)

DZone Database Zone
What Is a Serverless Database? (Overview of Providers, Pros, and Cons)
What Is a Serverless Database? (Overview of Providers, Pros, and Cons)
Get To Know Serverless Architecture

Serverless computing is a cloud computing execution model, meaning that the cloud provider is dynamically managing the distribution of computer's resources. What's taking up valuable computing resources is the function execution. Both AWS and Azure charge more if you have a combination of allocated memory and the function execution elapse time, which is rounded up to 100ms. AWS Lambda's current pricing is $0.00001667 for every used GB-second, while Azure's functions cost $0.000016 for each GB-second. That gives you an idea of how fast the cost can climb. Considering that the amount of allocated memory can be configurable between 128 MB and 1.5 GB, the price of function execution can be variable depending on your setting. The cost per 100ms of the execution time for the configuration of significant power will be around 12 times more expensive than the 128 MB option, which is the basic one.

Serverless computing still requires servers, and that's where serverless database comes in. Knowing your needs will undoubtedly make it easy to choose the right database service and to start using the most advanced technological solutions of today.

AWS for Automotive - Cloud Connected Vehicles and Applications

Data Videos
#Data -AWS for Automotive - Cloud Connected Vehicles and Applications

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...