Multi-tenant architecture in 20 minutes

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • Carmel (Hinks) Saxby from Atlassian gives a presentation on multi-tenant architectures; what they are, why you would use them, and how Atlassian managed to make it work.
    Please note - some technical difficulties were experienced at the beginning of the presentation, and approximately 20 seconds of footage has been cut out because of this.

Komentáře • 80

  • @ChrisLow06
    @ChrisLow06 Před rokem +3

    Literally the BEST video about multi-tenancy

  • @juniorbansal
    @juniorbansal Před 4 lety +9

    How is this video having only 200 likes? Very important architectural information given out for free.

  • @naveenkamaraj7986
    @naveenkamaraj7986 Před 2 lety

    This is one of the best explanations ever on MT-DB

  • @rorycawley8334
    @rorycawley8334 Před 3 lety

    Incredibly clear and great deck.

  • @ritulsonania
    @ritulsonania Před rokem +1

    Amazing story telling. It's crisp and clear.

  • @ValentineMasina
    @ValentineMasina Před 2 lety +14

    This is like an entire AWS architecture series in 18 minutes. Loved every minute of it. Thanks for sharing

  • @petersonmuchiri8011
    @petersonmuchiri8011 Před 4 lety

    Fantastic Talk!!Kinesis is real love for multitenant applications!

  • @dhruvdhiman2658
    @dhruvdhiman2658 Před 5 lety +3

    Simple short yet so informative!

  • @kbrnsr
    @kbrnsr Před rokem

    As someone who maintained Atlassian products in-house (2014-2016) this talk really brings me back to the good old days.

  • @shayanchaudhary8613
    @shayanchaudhary8613 Před 4 lety +5

    Awesome talk. Thank you for uploading this.
    We're just about to re-platform our legacy product and this video has answered many questions and verified a lot of my thinking :)

  • @vinitjoshi3361
    @vinitjoshi3361 Před 4 lety

    Thanks for sharing. Found this useful for something I'm designing/architecting right now.

  • @natashastopa1849
    @natashastopa1849 Před 5 lety +1

    This was probably one of my favorite talks at GHC!

  • @vijayvenkataraman1242
    @vijayvenkataraman1242 Před 4 lety

    Thanks for sharing. A good learning experience.

  • @yanli2810
    @yanli2810 Před 4 lety

    Great talk! Thank you.

  • @ak.amar12
    @ak.amar12 Před 3 lety +2

    Whoaa!! This was more clarifying than AWS itself could hv been.

  • @polyglotdev
    @polyglotdev Před 5 lety +12

    Bloody Beautiful!

  • @mohidk4913
    @mohidk4913 Před rokem

    AWESOME! Brilliantly Explained 🎯Cheers Carmel 👍🏻

  • @rprithvi
    @rprithvi Před 2 lety

    Awesome talk and thanks for uploading

  • @getmrraj
    @getmrraj Před 5 lety +1

    Excellent presentation

  • @saffodumbo
    @saffodumbo Před 5 lety +2

    very interesting, short and sweet!

  • @marvellouschandan
    @marvellouschandan Před rokem

    Super awesome content. Thanks Carmel!

  • @stefc4663
    @stefc4663 Před 3 lety

    Fantastic video. Now I want to know how they structured there single-tenant architecture!!

  • @lihtness
    @lihtness Před 3 lety

    Beautiful.

  • @catmando1786
    @catmando1786 Před 3 lety

    "single source of truth"
    imagine that. It's a good thing modern sensibilities regarding truth haven't infiltrated the computing world. yet.
    Good speech. I enjoyed it very much. I'm a total noob so it's refreshing learning about this without all the inside tech jargon. It's also quite refreshing hearing how it all came about and why. Thank you.

  • @mayurpandey7010
    @mayurpandey7010 Před 4 lety

    You are awesome. Great Talk

  • @arifshouqi3160
    @arifshouqi3160 Před 3 lety +3

    Simply fantastic. Can you tell us more about your single tenant architecture ? How many customers were you able to serve with that arch? how did you upgrade these thousands of customers? how frequently did you upgrade? were you able to keep all of them on the same version? etc.

  • @mohammadkaab
    @mohammadkaab Před 3 lety

    If i could like this talk 10 times, I would do that. Thanks for the talk.

  • @MammadovAdil
    @MammadovAdil Před 2 lety

    excellent talk, thanks

  • @ukazap
    @ukazap Před 4 lety

    Interesting approach to multi-tenancy.

  • @akshaypawar9314
    @akshaypawar9314 Před 4 lety

    Great talk Carmel :)

  • @Surgebrawlstars693
    @Surgebrawlstars693 Před rokem

    Amazing talk!!

  • @dipendra-sharma
    @dipendra-sharma Před 4 lety

    Amazing !!

  • @kushalbhabra
    @kushalbhabra Před 4 lety

    Nice explanation!

  • @debusinha3434
    @debusinha3434 Před 5 lety +2

    great talk !

  • @i-meta2708
    @i-meta2708 Před 4 lety

    Excellent presentation! I must admit, though, the material reminded me of the excitement of Novell's Netware Directory Services back in 1995. Multi-tenancy is nothing new, but I am happy to hear how it has matured and remained relevant especially in cloud computing.

    •  Před 4 lety

      If you use a JAMStack and deploy your app on a serverless platform like Zeit, you can abstract away from the Dev Ops and not have to worry about managing compute nodes, load balancers or caching. It also has built in redundancy and availability. The front end is served on a CDN so latency is very low too.

  • @samaga123
    @samaga123 Před 3 lety

    this is gold !!!

  • @deecm22
    @deecm22 Před 2 lety

    Great talk!!!!

  • @godwinyoh3700
    @godwinyoh3700 Před 2 lety

    One of the best talks ever. So crisp, clear and packed.

  • @sridharmurari3007
    @sridharmurari3007 Před rokem

    Simple And clear thanks

  • @cpc4466
    @cpc4466 Před 3 lety

    Thank you

  • @touchwithbabu
    @touchwithbabu Před 4 lety

    Fast and Fantastic

  • @mohitgupta-jq3wp
    @mohitgupta-jq3wp Před 3 lety +5

    Hello Carmel, this video is probably one of those rare hidden gems where deep architectural insights are explained in the simplest manner possible.. kudos to you for sharing this... I do have a request - will it be possible for you to share the presentation slide deck

  • @MrJohn360
    @MrJohn360 Před 5 lety +1

    Hey, Carmel. Thanks for sharing!

  • @gamingbeast710
    @gamingbeast710 Před 2 lety

    impressive deisnging and ingeneering

  • @paragmangal3796
    @paragmangal3796 Před rokem

    @Carmel Hinks : at @13:31, If we are still fine with eventual consistency for read then what was the need for single source of truth. I believe while writing data, you can set quorum and decide how many nodes should receive data before confirming write successful. Later all nodes will get sync data and have upto date information. In that way even write will also get performance improvement because write operation will also happen based on nearest datacenter. Please correct me if I have wrong understanding.

  • @cdgtopnp
    @cdgtopnp Před 2 lety

    Note to self : Watch it before any interview

  • @VishalPatel-hf4lg
    @VishalPatel-hf4lg Před 2 lety

    Thanks for sharing. very interesting. I am curious if anyway possible to only have cache at TCS side, no dynamo db. I.e (Catalog =dynamo+ec2) --> stream --> (Tcs=ec2 writing on cache)

  • @akdham
    @akdham Před 4 lety +1

    Great presentation Carmel. I think you mentioned it, but wanted to verify that you are using TCS to obtain one which server a users data resides on. I know Altassian as I have used them before and know there are thousands and thousands of users. Were you setting up a different database per client or different schema per client within the database? I ask because at one time when I was using Altassian, I didn't use it as much only because I didn't have the time to learn it, great product though, and I know there are probably hundreds of users like me and dedicating a database per client seems a bit expensive to me. Perhaps I have it wrong, but curious to know how you managed this or did I miss this in the presentation. Like you said updating thousands of database if there is a change is time-consuming. Thanks...

    • @perarneng
      @perarneng Před 3 lety

      Would like to know as well i don't think it was mentioned in the presentation.

  • @poshakmahe
    @poshakmahe Před 6 měsíci

    Thank you for such an amazing video !
    One request , Can someone explain more about the client side caching ? Does it mean that client(say chrome browser accessing Jira) queries TCS and stores the DB info, and sends it in each request ? Or client refers to a microservices receiving the request from an app or web browser ?

  • @wennwenn1422
    @wennwenn1422 Před 3 lety

    With reference at 12:49.
    At 14:21, Why do we need to have a tool to sync data from single point of truth, write again and flush it back? Shouldn't Kinesis stream hold unread streams in its queue? and when Western EU is back online, start accepting messages inorder and save it?

  • @soumakchongder5953
    @soumakchongder5953 Před 2 lety +1

    In multi-tenant architecture how do we provide a certain feature to only a selected customer ? Acc. to me we can achieve this in single tenant by only upgrading a customer specific node..

  • @gadothegado
    @gadothegado Před 4 lety

    Thanks for sharing! And i want to say that using Jira a couple of years ago inspired me to start thinking about changing my app to MT SaaS app. But there is one part that i'am still struggling with. How are you implementing the url subdomain architecture? i mean infrastructure wise? I mean when i deploy my app to a webserver it responds to domain.com but how can i make it respond to subdomain.domain.com so that i could grab the subdomain in the app and query the relative DB.

    • @carmelhinks7341
      @carmelhinks7341  Před 4 lety +2

      Hi Mostafa, thanks for your question!
      So the answer to this kind of depends on your use case. In our case, we use subdomains to identify our customers. For example, say we had carmel.atlassian.net and mostafa.atlassian.net. In this case, `carmel` and `mostafa` would be two completely different customers. Given that, we can actually use the entire hostname (subdomain included) to query the TCS for the data we need.
      It's also worth pointing out that in my talk, I've actually simplified the whole process. In reality, we actually assign unique identifiers to all of the customers. So, we'll use the hostname during the first request to the TCS, which will get us access to the unique identifier. All subsequent requests use the unique identifier instead of the hostname.
      I'm not sure if that answers your question, but good luck all the same!

    • @gadothegado
      @gadothegado Před 4 lety +1

      @@carmelhinks7341 Hi Carmel, Thanks for your reply! Yeah that was really helpful. But what I wanted to know is how are you creating the subdomains? Or are you using a wildcard subdomain?

    • @mosesnandi
      @mosesnandi Před rokem

      @@gadothegado I had the same question about creating those subdomains. And how should you handle the customization of the UI per tenant

  • @ateekain5739
    @ateekain5739 Před 2 lety

    How do I create architecture for azure appservice+functions with two same but separate databases that are in diffferent regions and should not be replicated. code base can be one or multiple, whats best option. Will it Azure front door in front of codebase with db in two different region or Will it be same code base with only db in two separate regions

  • @kgck15
    @kgck15 Před rokem

    if you cache per ec2 nodes how do you ensure ordering ..was it write through.?

  • @srsvg
    @srsvg Před 3 lety

    useful but in the middle you skipped couple of things... like where did catalogue service come all of a sudden with no background?

  • @scottamolinari
    @scottamolinari Před 2 lety

    Wait, wait, wait. I'm making an assumption here, but they talked about "stateless" nodes. Then they put caching (which is storage of state), on each of the EC2 nodes requesting information from the database? Why not have a separate caching server, where any node can invalidate/ update the cache centrally? That should have gotten rid of the need for the SNS service and leaves the nodes stateless. And, btw.....we use Jira and it is slow. So..... whatever.

  • @ooogabooga5111
    @ooogabooga5111 Před 2 lety

    basically K8 architecture pattern

  • @KrishLove143
    @KrishLove143 Před 9 měsíci

    Wow

  • @DotnetistEnterprise
    @DotnetistEnterprise Před 2 lety

    Nice. I’m building my own server

  • @bdjeosjfjdskskkdjdnfbdj
    @bdjeosjfjdskskkdjdnfbdj Před 4 lety +4

    more like an aws talk haha

  • @happyandhealthy888
    @happyandhealthy888 Před rokem

    i am also software engineer.

  • @alex_chugaev
    @alex_chugaev Před 3 lety

    But why do your products still slow? You claim you achieved excellent performance (Req/sec) but it feels far from fast and responsive.

  • @solomonogu1393
    @solomonogu1393 Před 7 měsíci

    Aws sponsored

  • @ak.amar12
    @ak.amar12 Před 3 lety

    Whoaa!! This was more clarifying than AWS itself could hv been.