Saturday, April 21, 2018

Sharding: Database, Protractor Tests, Architecture

Database

Jason Tee explains: "In the simplest sense, sharding your database involves breaking up your big database into many, much smaller databases that share nothing and can be spread across multiple servers."

Technically, sharding is a synonym for horizontal partitioning. In some cases, database sharding can be done fairly simply. One common example is splitting a customer database geographically. Customers located on the East Coast can be placed on one server, while customers on the West Coast can be placed on a second  server.

source: https://searchcloudcomputing.techtarget.com/definition/sharding

Protractor Tests

Protractor can run your tests in parallel when you enable sharding. The files are executed across different browsers as they become available. Make your tests independent at the file level because the order in which they run is not guaranteed and it's easier to run a test in isolation.

source: https://www.protractortest.org/#/style-guide

Architecture


The Shard skyscraper in London

By © User:Colin / Wikimedia Commons, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=39978232






No comments:

Post a Comment