Tuesday, September 21, 2021

Innovation: Systems for Innovation - Adrian Cockcroft, at USI

Sept. 21, 2021

Here is the link.

The repot of Adrian Cockcroft's talk is available on our blog : http://bit.ly/1LH7oaP Information and subscription on http://www.usievents.com Before joining Battery, Adrian helped lead Netflix’s migration to a large scale, highly available public-cloud architecture and the open sourcing of the cloud-native NetflixOSS platform. Many companies say they would like to be more innovative, but their processes prevent innovation from happening and their best employees get frustrated and leave. What would it look like if your company culture gave employees freedom and responsibility, systematically created high talent density, and wasn’t afraid of trying new ideas? In 2011 Netflix’s CEO Reed Hastings published “The Netflix Culture Deck”, which has influenced many other companies from Nordstrom to Facebook, whose COO Sheryl Sandberg said it "may well be the most important document ever to come out of the Valley.” This presentation will give an insider’s view of the principles, systems and feedback loops that made Netflix successful, and show how they can be applied to your own organization, whether it’s a startup or an established enterprise.

Follow USI on Twitter: https://twitter.com/USIEvents Follow USI on LinkedIn: http://linkd.in/13Ls21Y Subscribe to our channel: http://bit.ly/19sPpSp

Systems for Innovation - Adrian Cockcroft, at USI

Sept. 21, 2021

Here is the link. 

The repot of Adrian Cockcroft's talk is available on our blog : http://bit.ly/1LH7oaP Information and subscription on http://www.usievents.com Before joining Battery, Adrian helped lead Netflix’s migration to a large scale, highly available public-cloud architecture and the open sourcing of the cloud-native NetflixOSS platform. Many companies say they would like to be more innovative, but their processes prevent innovation from happening and their best employees get frustrated and leave. What would it look like if your company culture gave employees freedom and responsibility, systematically created high talent density, and wasn’t afraid of trying new ideas? In 2011 Netflix’s CEO Reed Hastings published “The Netflix Culture Deck”, which has influenced many other companies from Nordstrom to Facebook, whose COO Sheryl Sandberg said it "may well be the most important document ever to come out of the Valley.” This presentation will give an insider’s view of the principles, systems and feedback loops that made Netflix successful, and show how they can be applied to your own organization, whether it’s a startup or an established enterprise. Follow USI on Twitter: https://twitter.com/USIEvents Follow USI on LinkedIn: http://linkd.in/13Ls21Y Subscribe to our channel: http://bit.ly/19sPpSp

36:50

Summary of freedom & responsibility: 

  • As we grow, minimize rules
  • Inhibit chaos with ever more high performance people
  • Flexibility is more important than efficiency in the long term


System design: Service oriented architecture | Why Amazon Retail Went To A Service Oriented Architecture

Sept. 21, 2021

Here is the article. 

Why Amazon Retail Went To A Service Oriented Architecture


Iona Stephen | Professional golfer | My favorite post from Iona stephen

Instagram reel 

Here is the link. 

We’ve been exploring the topic of health, both mental and physical @therandagolf over the last few months and some of the stories we’ve uncovered are extremely moving.

In today’s fast paced life, it doesn’t take much to let our mental and physical health slip down the priority list in place of other demands. How often do you take time to step away from the whir of life and step into the calm of something that makes you feel good?

There are many things in my life that fill me up with health, journaling in the morning with a fresh cup of coffee, running on the beach with Ghillie, surfing in the North Sea come rain or shine and most definitely golf.

I’m shortly setting off on a trip to restore my soul and visiting some golf courses I’ve had on my bucket list for quite some time @broragolfclub @royal.dornoch …. and while I’m switching off and recharging over these few days I’m going to be reflecting on some of the truths about golf and the positive impact it has on our health all round. For you, for me and for the people we love.

What do you do to recharge your soul? And are you doing it regularly enough?

#taketime #healthisyourwealth #golf #R&A #wellness

Google search | Iona Stephen's net worth 

Iona Stephen Husband, Age, Net Worth, Education, InstagramInside This Article..............
Iona Stephan Husband: Who is she married to? Read the complete article to know about her.
Iona Stephen is a professional golfer and sports broadcaster. She is currently based in London. Moreover, she is also an ambassador for the charity BIG CHANGE, which supports young people throughout the UK to thrive in life, not just in exams.
Iona Stephen Husband: Who Is She Married To?
This professional golfer has never mentioned anything about her husband or married life. Therefore, for now, we can say that she is single and very much determined to build her career. 
Moreover, she has not even been in any kind of relationship yet.
Name
Iona Stephen
Gender
Female
Nationality
British
Profession
Journalist, Host
Instagram
ionastephen
Twitter
Iona_Stephen Some Facts About Iona Stephen 
There is no exact information about Iona Stephen’s age. However, by her looks, she seems to be between 25 to 35 years old.
The information regarding Iona Stephen’s net worth has still not been revealed. However, she earns a lot of money as she is a professional golfer as well as a broadcaster. Also, she spends her money on charity.
Talking about her education, Iona Stephen has studied History of Arts at the University of St. Andrews before turning into golf full-time. Moreover, she also has a diploma in Sports Nutrition and a level 2 PT qualification.
Iona turned into a professional golfer in 2016 and then made her debut on Ladies European Tour in December at the Qatar Ladies Masters. However, she played 4 years as an amateur, breaking 3-course records on her way to a +3 handicap before turning into a professional golfer.
This professional golfer can be seen presenting and commenting with Sky Sports Golf and hosting events all over the world.
Iona Stephen is active on Instagram as @ionastephen. She has shared 987 posts from her Instagram profile and her Instagram profile has 52.3 thousand followers.

  Iona Stephen is a British Journalist who earns a salary of $62,000 per year from her career. 

Monday, September 20, 2021

Columnar database | HBase vs Cassandra | Book: Cassandra definitive guide | My 20 minutes reading

HBase

HBase is a clone of Google’s Bigtable, originally created for use with Hadoop (it’s actually a subproject of the Apache Hadoop project). In the way that Google’s Bigtable uses the Google File System (GFS), HBase provides database capabilities for Hadoop, allowing you to use it as a source or sink for MapReduce jobs. Unlike some other columnar databases that provide eventual consistency, HBase is strongly consistent.

Perhaps it is interesting to note that Microsoft is a contributor to HBase, following their acquisition of Powerset.

  • Website: http://hbase.apache.org
  •  Orientation: Columnar
  •  Created: HBase was created at Powerset in 2007 and later donated to Apache.
  •  Implementation language: Java
  •  Distributed: Yes. You can run HBase in standalone, pseudodistributed, or fully distributed mode. Pseudodistributed mode means that you have several instances of HBase, but they’re all running on the same host.
  •  Storage: HBase provides Bigtable-like capabilities on top of the Hadoop File System.
  •  Schema: HBase supports unstructured and partially structured data. To do so, data is organized into column families (a term that appears in discussions of Apache Cassandra). You address an individual record, called a “cell” in HBase, with a combination of row key, column family, cell qualifier, and timestamp. As opposed to RDBMS, in which you must define your table well in advance, with HBase you can simply name a column family and then allow the cell qualifiers to be determined at runtime. This lets you be very flexible and supports an agile approach to development.
  • Client: You can interact with HBase via Thrift, a RESTful service gateway, Protobuf (see “Additional Features” below), or an extensible JRuby shell.
  • Open source: Yes (Apache License)
  • Production use: HBase has been used at Adobe since 2008. It is also used at Twitter, Mahalo, StumbleUpon, Ning, Hulu, World Lingo, Detikcom in Indonesia, and Yahoo!.
  • Additional features: Because HBase is part of the Hadoop project, it features tight integration with Hadoop. There is a set of convenience classes that allow you to easily execute MapReduce jobs using HBase as the backing data store. 

HBase requires Zookeeper to run. Zookeeper, also part of the Hadoop project, is a centralized service for maintaining configuration information and distributed synchronization across nodes in a cluster.  Although this does add an external dependency, it makes maintaining the cluster easier and helps simplify the HBase core.

HBase allows you to use Google’s Protobuf (Protocol Buffer) API as an alternative to XML. Protobuf is a very efficient way of serializing data. It has the advantage of compacting the same data two to three times smaller than XML, and of being 20–100 times faster to parse than XML because of the way the protocol buffer encodes bytes on the wire. This can make working with HBase very fast. Protobuf is used extensively within Google; they incorporate nearly 50,000 different message types into Protobuf across a wide variety of systems. Check out the Protobuf Google code project at http://code.google.com/p/protobuf.

The database comes with a web console user interface to monitor and manage region servers and master servers.

Columnar database | BigTable vs Cassandra | My 20 minutes to review | Cassandra definitive guide

Sept. 20, 2021

Introduction

I cannot wait to watch some youtube system design videos, but I know that it is better for me to read a chapter first, so I can learn better. 

Columnar database | Book: Cassandra definitive guide 

 A columnar database simply means a data store that organizes data around columns instead of rows. This slight shift in focus optimizes the workload for certain kinds of problems—in particular, data warehouses and analytics applications that require computing aggregate values over very large sets of similar data. Columnar (or “columnoriented”) databases are well-suited to online analytical processing (OLAP) work, where queries are executed over a broad dataset.

Data storage works a little differently with columnar databases, in order to optimize disk space and the amount of time spent in IO. For example, columnar databases allow you to write a record containing a value for only one out of a large number of possible columns, and only that single column value will be stored and take up space. This is different from RDBMS, in which nulls are not stored for free. It can be useful to think of RDBMS tables like spreadsheets, in which all columns are of the same size for each row, and null values are maintained to keep the grid-like shape of the data structure. This model doesn’t work for columnar databases, though, because null values are not present. It’s more helpful to think of columnar data as tags: values can be of arbitrary length, and the names and widths of columns are not preset.

Columnar databases often require the data to be of a uniform type, which presents an opportunity for data compression.

Columnar databases have been around since the early 1970s. Sybase IQ, for example, is one of these, and was for many years the only commercial columnar database.

But of the recent (mostly open source) projects that are part of the NoSQL conversation, there are a few databases that are an evolution of basic key-value stores in that they feature a richer data model. You can think of these columnar databases as multidimensional key-value stores or distributed hash tables that, instead of supporting merely straight key-value pairs, allow for arrangements called column families to help organize columns and provide a richer model. These are Google’s Bigtable, HBase, Hypertable, and Cassandra.

Google’s Bigtable is really the parent of the modern columnar databases. It is proprietary, but there are a few published papers on its design, and each of the other columnar databases discussed are  implementations that closely follow Bigtable’s design or, as in the case of Cassandra, take certain key ideas from Bigtable.

Google Bigtable

Bigtable is Google’s internally used custom database, designed to scale into the petabyte range. Bigtable is described in the paper published by Google in 2006 called “Bigtable: A Distributed Storage System for Structured Data.” The goals of the project are stated in that paper: “wide applicability, scalability, high performance, and high availability.” Bigtable is used extensively within Google as the underlying data store, supporting more than 60 projects, including Gmail, YouTube, Google Analytics, Google Finance, Orkut, Personalized Search, and Google Earth. Bigtable runs on top of the Google File System (GFS).

It is useful to understand Bigtable, at least to a certain degree, because many of its attributes and design decisions are explicitly copied in Cassandra. Although Cassandra gets its design for consistency and partition tolerance from Amazon Dynamo, Cassandra’s data model is based more closely on Bigtable’s. For example, Cassandra borrows from Bigtable (sometimes with modification) the implementation of SSTables, memtables, Bloom filters, and compactions (see the Glossary for definitions of these terms; they are explored in detail elsewhere in this book as appropriate). In this way, Cassandra supports a somewhat richer data model than Dynamo, something more flexible and layered than a simple key-value store, as it supports sparse, semistructured data.

Cassandra does contrast with Bigtable in several areas, however, not least of which is that Cassandra maintains a decentralized model. In Bigtable there is a master server that controls operations using the Chubby persistent distributed locking mechanism; in Cassandra, all the nodes are on even par with no centralized control, and they communicate using a gossip model.

Bigtable relies on a distributed lock service called Chubby for several different things: ensuring that there is at most a single master replica at any given time; managing server bootstrapping, discovery, and death; and storing the schema information.

  • Website: None, but you might be interested in a related project called Google Fusion Tables, which is available at http://tables.googlelabs.com.
  •  Orientation: Columnar
  •  Created: By Google, Inc. Development started in 2004, with the paper published in 2006.
  •  Implementation language: C++
  •  Distributed: Yes
  •  Storage: Google File System (GFS). Files are divided into 64-megabyte chunks, and a typical write operation will only ever append to the files in order to provide maximum throughput. GFS has as a driving principle that the filesystem must run on banks of inexpensive commodity servers, which can be prone to failure, and therefore it must be able to manage availability in such a scenario. Bigtable features two server types: one master node and many chunkservers. The chunkservers store the data chunk files, and the master node stores all of the metadata about the chunks, such as the location of some particular piece of data. This is a clear point where Cassandra diverges from Bigtable’s design, as Cassandra nodes are all the same and there is no master server centrally controlling the ring.
  • Schema: The data model in Bigtable is a sparse, distributed, multidimensional sorted map. It allows you to store data in a richer way than, say, Amazon SimpleDB, as you can use list types. The map is indexed using a row key, a column key, and a timestamp; the values themselves are uninterpreted byte arrays.
  • Client: C++. Queries are also sometimes written in a scripting language developed at Google called Sawzall. Initially, the Sawzall API did not support writing values to the database, but did allow data filtering, transformation, and summarizing. MapReduce is typically used as both an input source and an output source.
  • Open source: No
  • Additional features: While Bigtable itself is not directly available for your own use, you can use it indirectly if you build an application with Google App Engine. 
  • Bigtable was designed with use of the MapReduce algorithm in mind. There are a few clones of Bigtable, and Hadoop is an open source implementation of MapReduce.

FANNG company preparation call | 15 minutes | My notes

 Sept. 20, 2021

Interactive - make it conversation 

trade off - system design | service oriented architecture | Software engineer position 

unique example for behavior | think and prepare | interviewers will gather data points | Academic and industry 

Behavior interview | STAR - situation, task, action, result, and more - L - lesson learned | 14 leadership principles 

unique example for behavior questions | Conversation style | clarification 

Recommendation | interview us in return | ask tough questions -> dive deep -> as much as I can

managers | individual manager | hiring manager | shadowing - managers

Dress code - feel comfortable | interviewer - head down - Amazon style - take notes | Get back in 5 business day | It may take longer | No feedback - Why or why not


Vacation week: Sept. 20 to Sept. 24 | Stay at home

Sept. 20, 2021

Introduction

I like to make some plans for my vacation this week, five day vacation and stay at home. I am so excited and enjoy the great weather and everything. 

Vacation plan | Study and stay home | Visit some places

I like to study most of time in a day, but I also like to visit one place a day nearby my home. 

I like to enjoy the scenic view and also play some sports. 

I like to put together a few places to visit in five minutes:

  1. Parks nearby - Deer lake etc. 
  2. Walk or run - daily 3 miles a day, each time one mile a day
  3. Books to read - Cassandra definitive guide
  4. System design videos
  5. Algorithms to review 

Sunday, September 19, 2021

System Design Mock Interview: Design Facebook Messenger

Sept. 19, 2021

Here is the link.

Don't leave your career to chance. Sign up for Exponent's system design interview course today: https://bit.ly/2Nl5Bn5 In this interview, Jacob (Dropbox Software Engineer) answers a system design interview question of designing Facebook Messenger, commonly asked in software engineering and technical program management (TPM) interviews. 👉 Subscribe to our channel: http://bit.ly/exponentyt 🕊️ Follow us on Twitter: http://bit.ly/exptweet 💙 Like us on Facebook for special discounts: http://bit.ly/exponentfb 📷 Check us out on Instagram: http://bit.ly/exponentig ABOUT US: Did you enjoy this Facebook system design interview question and answer? Want to land your dream system design, software engineering, or technical program management career (TPM)? Exponent is an online community, course, and coaching platform to help you ace your upcoming system design interview. Exponent has helped people land their dream careers at companies like Facebook, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, INSEAD, and others. Our courses include interview lessons, questions, and complete answers with video walkthroughs. Get access to hours of real interview videos, where we analyze what went right or wrong, as well as our 1000+ community of expert coaches and industry professionals, to help you get your dream engineering job and more! #softwareengineer #systemdesign #mockinterview #technicalprogrammanagement #tpminterview #tech #technicalprogrammanager #coding #programming #systemdesign #entrepreneurship #exponent #softwareengineering #facebook Chapters - 00:00:00 Introduction 00:00:41 System requirements 00:01:56 Overall architecture 00:09:08 Data model 00:11:48 Scale discussion

System Design Mock Interview: Design TikTok ft. Google TPM

Sept. 19, 2021

Here is the link.

Don't leave your career to chance. Sign up for Exponent's system design interview course today: https://bit.ly/2Nl5Bn5 In this interview, Adam (Google Technical Program Manager) a system design interview question of designing Tiktok, commonly asked in software engineering and technical program management (TPM) interviews. 👉 Subscribe to our channel: http://bit.ly/exponentyt 🕊️ Follow us on Twitter: http://bit.ly/exptweet 💙 Like us on Facebook for special discounts: http://bit.ly/exponentfb 📷 Check us out on Instagram: http://bit.ly/exponentig ABOUT US: Did you enjoy this TikTok system design interview question and answer? Want to land your dream system design, software engineering, or technical program management career (TPM)? Exponent is an online community, course, and coaching platform to help you ace your upcoming system design interview. Exponent has helped people land their dream careers at companies like Facebook, Microsoft, Amazon, and high-growth startups. Exponent is currently licensed by Stanford, Yale, UW, INSEAD, and others. Our courses include interview lessons, questions, and complete answers with video walkthroughs. Get access to hours of real interview videos, where we analyze what went right or wrong, as well as our 1000+ community of expert coaches and industry professionals, to help you get your dream engineering job and more! #softwareengineer #systemdesign #mockinterview #technicalprogrammanagement #tpminterview #tech #technicalprogrammanager #coding #programming #systemdesign #entrepreneurship #exponent #softwareengineering #tiktok Chapters - 00:00:00 Introduction 00:02:25 Functional requirements – Backend infrastructure 00:05:58 Non functional requirements 00:09:54 Overall architecture and Data models 00:25:37 Bottlenecks 00:31:54 Interview feedback

Facebook Product Manager Execution Interview: YouTube Goals & Decline

Aug. 19, 2021

Here is the link. 


System Design Mock Interview: Design Instagram

 Here is the link.