Ethan's Blog


  • Home

  • Archives

  • Tags

  • Search

Networking

Posted on 2019-08-12

Starting a conversation

Where do you come from then?

Useful Tips

  • Successful small talk is not about saying brilliant things. It’s about commenting on and asking about ordinary things with conviction, interest, and enthusiasm.
  • Match the mood of your conversation partner. If they are smiling and cheerful, be ready to laugh. If they seem serious, be serious too.
  • Ask where your partner comes from and, when somebody asks you the same thing, be ready to add something interesting about the place.
  • Ask what your partner does and, when you’re asked the same question, don’t only give a title. Add a small piece of interesting or amusing information about the job or responsibility.
Read more »

使用 Dockerfile 创建镜像

Posted on 2019-08-04

Dockerfile 是一个文本格式的配置文件,用户可以使用 Dockerfile 来快速创建自定义的镜像,本文会介绍使用 Dockerfile 的一些最佳实践。

基本结构

Dockerfile 由一行行命令语句组成,并且支持以 # 开头的注释行。主体内容分为四部分:基础镜像信息、维护者信息、镜像操作指令、容器启动时执行指令。
下面给出一个简单的示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# escape=\ (backslash)
# This dockerfile uses the ubuntu:xeniel image
# VERSION 2 - EDITION 1
# Author: docker_user
# Command format: Instruction [arguments / command] ..

# Base image to use, this must be set as the first line
FROM ubuntu:xeniel

# Maintainer: docker_user <docker_user at email.com> (@docker_user)
LABEL maintainer docker_user<docker_user@email.com>

# Commands to update the image
RUN echo "deb http://archive.ubuntu.com/ubuntu/ xeniel main universe" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y nginx
RUN echo "\ndaemon off;" >> /etc/nginx/nginx.conf

# Commands when creating a new container
CMD /usr/sbin/nginx
Read more »

The Programmer's View of SAP HANA

Posted on 2019-07-09

Introduction

This chapter presents the application developer’s view of SAP HANA. It gives an overview of both the programming languages for writing code that runs inside SAP HANA, and the client libraries used by client applications to connect to SAP HANA.
Database applications use well-defined interfaces to communicate with the database management system functioning as a data source, usually over a network connection.
The application, often running in the context of an application server, takes the role of a client, while the database system plays the role of a server. Client applications typically use vendor-supplied client libraries which implement part of the API and encapsulates the communication details.
The leading programming language for database application is the SQL. SQL provides functional capabilities for creating, accessing, maintaining, controlling, and protecting relational data.
SAP HANA greatly extends SQL. This includes SAP HANA-specific SQL statements, views, data types, and the possibility to write Procedures in several languages, such as SQLScript, L, C++ and R.
Modeled Views are design-time abstractions that allow developers to work efficiently with SAP HANA’s extended views on a higher level of abstraction.
An alternative query language for clients is MDX. Pioneered by Microsoft, MDX is used by applications to query OLAP (OnLine Analytical Processing) data models. Applications can query graph data with the openCypher query language and implement custom graph algorithms as graph stored procedures.

Read more »

SAP HANA System Architecture Overview

Posted on 2019-07-04

The SAP HANA System

The SAP HANA system consists of multiple servers:

The most important component is the index server. The index server contains the in-memory data stores and the engines for processing the data.
The name server owns the information about the topology of an SAP HANA system. In a distributed system, the name server knows where the components are running, and which data is located on which server.

Read more »

Basic In-Memory Database Concepts

Posted on 2019-07-01

In-memory database technology is a core feature of the SAP HANA database, which enables new applications that were not possible before.

Impact of Modern Hardware on Database System Architecture

In the past database management systems were designed for optimizing performance on hardware with limited main memory and with slow disk I/O as the main bottleneck. The focus was on optimizing disk access, for example by minimizing the number of disk pages to be read into main memory when processing a query.
Today’s computer architectures have changed. With multi-core processors, parallel processing is possible with fast communication between processor cores. Very large main memory configurations are now commercially available and affordable.
With all relevant data in memory, disk access is no longer a limiting factor for performance. With the increasing number of cores, CPUs are able to process more and more data per time interval. That means the performance bottleneck is now between the CPU cache and main memory.

A high performance data management system for modern hardware must have the following characteristics:

Read more »
1…454647…55
necusjz

necusjz

271 posts
16 tags
© 2016 - 2026 necusjz
Powered by Hexo
Theme - NexT.Mist