Hadoop at datasift

6,048 views

Published on

Slides from the presentation at Hadoop UK User group meetup in London as part of BigDataWeek.

Published in: Technology, Business
1 Comment
4 Likes
Statistics
Notes
  • Bonjour
    Mon nom est Mlle merci hassan j'ai vu votre profil aujourd'hui et je
    est devenu intéressé à vous, je tiens également à vous en savez plus
    et je veux que vous envoyez un e-mail à mon adresse email afin que je puisse vous donner ma photo
    votre nouvel ami.

    mercy_hassan22@yahoo.in

    =====================================================================

    Hello
    My name is Miss mercy hassan I saw your profile today and i
    became interested in you, I will also want to know you more
    and I want you to send an email to my mailbox so that I can give you my picture
    yours new friend.

    mercy_hassan22@yahoo.in
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
6,048
On SlideShare
0
From Embeds
0
Number of Embeds
816
Actions
Shares
0
Downloads
88
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

Hadoop at datasift

  1. Hadoop At Datasift
  2. About me Jairam Chandar Big Data Engineer Datasift @jairamc http://about.me/jairam http://blog.jairam.me
  3. Outline  What is Datasift?  Where do we use Hadoop? – The Numbers – The Use-cases – The Lessons
  4. !! Sales Pitch Alert !!
  5. What is Datasift?
  6. What is Datasift?
  7. What is Datasift?
  8. What is Datasift?
  9. What is Datasift?
  10. What is Datasift?
  11. What is Datasift?
  12. What is Datasift?
  13. What is Datasift?
  14. What is Datasift?
  15. The Numbers  Machines – 60 machines ● Datanode ● Tasktracker ● RegionServer – 2 machines ● Namenode – 2 machines ● HBase Master – In the processing of doubling our capacity
  16. The Numbers  Machines – 2 * Intel Xeon E5620 @ 2.40GHz (16 core total) – 24GB RAM – 6 * 2 TB disks in JBOD (small partition on frst disk for OS, rest is storage) – 1 Gigabit network links
  17. The Numbers  Data – Avg load of 3500 interactions/second – Peak load of 6000 interactions/second – Highest during the Superbowl – 12000 interactions/second – Avg size of interaction 2 KB – thats 2 TB a day with replication (RF = 3) – And that's not it!
  18. The Use Cases  HBase – Recordings – Archive/Ultrahose  Map/Reduce – Exports – Historics
  19. The Use Cases  Recordings – User defned streams – Stored in HBase for later retrieval – Export to multiple output formats and stores – <recording-id><interaction-uuid> ● Recording-id is a SHA-1 hash ● Allows recordings to be distributed by their key without generating hot-spots.
  20. The Use Cases  Recordings continued ...
  21. The Use Cases  Exporter – Export data from HBase for customer – Export fles 5 – 10 GB or 3-6 million records – MR over HBase using TableInputFormat – But the data needs to be sorted ● TotalOrderPartioner
  22. The Use Cases  Exporter Continued
  23. !! Sales Pitch Alert !!
  24. Historics
  25. The Use Cases  Archive/Ultrahose – Not just the Firehose but the Ultrahose – Stored in HBase as well – HBase architecture (BigTable) creates Hotspots with Time Series data ● Leading randomizing bit (see HBaseWD) ● Pre-split regions ● Concurrent writes
  26. The Use Cases  Archive continued …  2 years of Tweets – 11 TB compressed – <Number of tweets we got>
  27. The Use Cases  Historics – Export archive data – Slightly different from Exporter ● Much larger time lines (1 – 3 months) ● Unfltered Input Data ● Therefore longer processing time ● Hence more optimizations required
  28. The Use Cases  Historics continued ...
  29. The Lessons - HBase  Tune Tune Tune (Default == BAD)  Based on use case tune - – Heap – Block Size – Memstore size  Keep number of column families low  Be aware of hot-spotting issue when writing time- series data  Use compression (eg. Snappy)
  30. The Lessons - HBase  Ops need intimate understanding of system  Monitor metrics (GC, CPU, Compaction, I/O)  Don't be afraid to fddle with HBase code  Using a distribution is advisable
  31. Questions?

×