This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void | |
| server_ref(struct conn *conn, void *owner) | |
| { | |
| struct server *server = owner; | |
| ASSERT(!conn->client && !conn->proxy); | |
| ASSERT(conn->owner == NULL); | |
| uint8_t *p, *q, *start, *addr; | |
| uint32_t addrlen; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ref: http://www.datastax.com/dev/blog/basic-rules-of-cassandra-data-modeling | |
| Data Modeling | |
| Spread Data Evenly Around the Cluster | |
| Minimize the Number of Partitions Read | |
| Ref: http://www.datastax.com/dev/blog/cql3_collections | |
| Remember about Cassandra has collections (Sets, Lists and Map) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmd-alt-b - run current file | |
| cmd-alt-g - goto definition | |
| ctrl-space - code completion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| example of http rest call | |
| curl -s -H 'X-Presto-Catalog:cassandra' -H 'X-Presto-User:venkat' -X POST -d @query.json http://<your presto server ip>:<port number>/v1/execute | jsonlint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /usr/local/spark-1.6.0-bin-hadoop2.6/ | |
| ./sbin/start-master.sh | |
| telnet sandbox 7077 | |
| ./sbin/start-slave.sh spark://sandbox:7077 | |
| ./sbin/start-thriftserver.sh --master spark://sandbox:7077 | |
| Spark caching and persistence. | |
| http://stackoverflow.com/questions/28981359/why-do-we-need-to-call-cache-or-persist-on-a-rdd | |
| Livy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Reference Docs | |
| -- | |
| 1. http://www.easysoft.com/support/kb/kb01045.html | |
| 2. http://www.datastax.com/dev/blog/tableau-spark-cassandra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://engineering.linkedin.com/distributed-systems/log-what-every-software-engineer-should-know-about-real-time-datas-unifying |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| of-course hadoop | |
| hbase/cassandra | |
| spark | |
| redshift/snowflake | |
| kibana |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| For success, there won't be short paths. Workhard with patience and one day it will knock our door |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| message delivary (at-least once, at-most once, exactly once) | |
| “When you publish a message and you don’t hear back, you either lost it or you didn’t, and so you try to send it again and that’s when you introduce a duplicate.” | |
| https://www.datanami.com/2017/02/09/exactly-big-deal-apache-kafka/ |
OlderNewer