Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Scalability Best Practices: Lessons from

Sumit Rawal answered on May 9, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • learn Scala
  • what is scalability testing
  • scalability testing
  • scala learn

  • Scalability Best Practices: Lessons from

    0

    Best Practices Highlights

    #1 Partition By Function

    • Decouple the Unrelated Functionalities.

    • Selling functionality is served by one set of applications, bidding by another, search by yet another.

    • 16,000 App Servers in 220 different pools

    • 1000 logical databases, 400 physical hosts

    #2 Split Horizontally

    • Break the workload into manageable units.

    • eBay’s interactions are stateless by design

    • All App Servers are treated equal and none retains any transactional state

    • Data Partitioning based on specific requirements

    #3 Avoid Distributed

    Transactions

    • 2 Phase Commit is a pessimistic approach comes with a big COST

    • CAP Theorem (Consistency, Availability, Partition Tolerance). Apply any two at any point in time.

    • @ eBay No Distributed Transactions of any kind and NO 2 Phase Commit.

    #4 Decouple Functions

    Asynchronously

    • If Component A calls component B synchronously, then they are tightly coupled. For such systems to

    scale A you need to scale B also.

    • If Asynchronous A can move forward irrespective of the state of B

    • SEDA (Staged Event Driven Architecture)

    #5 Move Processing to

    Asynchronous Flow

    • Move as much processing towards Asynchronous side

    • Anything that can wait should wait

    #6 Virtualize at All Levels • Virtualize everything. eBay created their on O/R layer for abstraction

    #7 Cache Appropriately • Cache Slow changing, read-mostly data, meta data, configuration and static data. 

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 09 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.