楼主: ReneeBK
2147 10

Practical Cassandra:A Developer's Approach [推广有奖]

  • 1关注
  • 62粉丝

VIP

已卖:4896份资源

学术权威

14%

还不是VIP/贵宾

-

TA的文库  其他...

R资源总汇

Panel Data Analysis

Experimental Design

威望
1
论坛币
49634 个
通用积分
55.5065
学术水平
370 点
热心指数
273 点
信用等级
335 点
经验
57805 点
帖子
4005
精华
21
在线时间
582 小时
注册时间
2005-5-8
最后登录
2023-11-26

楼主
ReneeBK 发表于 2015-4-17 08:49:25 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

Practical Cassandra

A Developer's Approach


Book Description
Practical Cassandra is the first hands-on developer's guide to building Cassandra systems and applications that deliver breakthrough speed, scalability, reliability, and performance. Fully up to date, it reflects the latest versions of Cassandra–including Cassandra Query Language (CQL), which dramatically lowers the learning curve for Cassandra developers.

Pioneering Cassandra developers and Datastax MVPs Russell Bradberry and Eric Lubow walk you through every step of building a real production application that can store enormous amounts of structured, semi-structured, and unstructured data. Drawing on their exceptional expertise, Bradberry and Lubow share practical insights into issues ranging from querying to deployment, management, maintenance, monitoring, and troubleshooting.

Book Details
  • Publisher:        Addison-Wesley
  • By:        Russell Bradberry, Eric Lubow
  • ISBN:        978-0-321-93394-2
  • Year:        2013
  • Pages:        208
  • Language:        English
  • File size:        5.1 MB
  • File format:        PDF
  • Download:     

    本帖隐藏的内容

    Practical Cassandra.pdf (4.82 MB, 需要: 20 个论坛币)




二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:developer Practical Approach practic Develop developer including learning building deliver

本帖被以下文库推荐

沙发
auirzxp(未真实交易用户) 学生认证  发表于 2015-4-17 09:21:10
提示: 作者被禁止或删除 内容自动屏蔽

藤椅
ReneeBK(未真实交易用户) 发表于 2015-5-27 08:16:54
  1. Listing 3.4 Example of Cassandra Data Model for Log Storage (Copy of RDBMS)

  2. CREATE TABLE events (
  3. id UUID PRIMARY KEY,
  4. time TIMESTAMP,
  5. event_type TEXT,
  6. data text
  7. );
复制代码

We can solve some of the issues here with indexes; however, the code would not be as performant as it could be. Let’s say you would like to get all events for a particular hour. We can easily add an index to the time field, but this will cause excessive load, as every event will need to be pulled from different rows scattered about the cluster.

To compensate for this, since we know the hour we want ahead of time, we can key off that, and by using dynamic tables in Cassandra, we can ensure that every event for that particular hour exists, physically, on the same row. When you specify multiple fields in the PRIMARY KEY, Cassandra will key off the first field and every subsequent field will be a part of the column name. In Listing 3.5, we restructure the code to store fields by hour in the table to make hourly lookups of events easier.

板凳
Nicolle(未真实交易用户) 学生认证  发表于 2015-5-27 08:29:34
提示: 作者被禁止或删除 内容自动屏蔽

报纸
Nicolle(未真实交易用户) 学生认证  发表于 2015-5-27 08:30:21
提示: 作者被禁止或删除 内容自动屏蔽

地板
Nicolle(未真实交易用户) 学生认证  发表于 2015-5-27 08:31:53
提示: 作者被禁止或删除 内容自动屏蔽

7
Nicolle(未真实交易用户) 学生认证  发表于 2015-5-27 08:33:00
提示: 作者被禁止或删除 内容自动屏蔽

8
Nicolle(未真实交易用户) 学生认证  发表于 2015-5-27 08:33:40
提示: 作者被禁止或删除 内容自动屏蔽

9
Nicolle(未真实交易用户) 学生认证  发表于 2015-5-27 08:34:21
提示: 作者被禁止或删除 内容自动屏蔽

10
Nicolle(未真实交易用户) 学生认证  发表于 2015-5-27 08:36:11
提示: 作者被禁止或删除 内容自动屏蔽

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-9 10:12