Design Url Shortening Service | Spring Boot | System Design

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 30

  • @agarwalshubham23
    @agarwalshubham23 3 ปีที่แล้ว +10

    For those who are getting error while running the application. At 7:38
    Add these 2 lines in application.properties
    spring.h2.console.enabled=true
    spring.h2.console.path=/h2-console

  • @hemanthkumarallam3894
    @hemanthkumarallam3894 2 ปีที่แล้ว +1

    Thanks you Much I have implemented this project completely.. I have used mysql workbench.... I have learned a lot..

    • @gauzammalhotra
      @gauzammalhotra 8 หลายเดือนก่อน

      can you share your github link please?

  • @madhurendra-nath-tiwari
    @madhurendra-nath-tiwari 8 หลายเดือนก่อน

    Small suggestions use lombok for getter setter toString allargs constructor and no args constructor

  • @SR-we1vl
    @SR-we1vl 2 ปีที่แล้ว

    Thanks bro for the video! Crisp and clean explanation!

  • @kedareshwarawasthi2383
    @kedareshwarawasthi2383 ปีที่แล้ว +1

    I was just looking over the main parts of video , hope I didnt missed anything, At @29:51 why are we saving different short urls in db for same input url, shouldnt we check if originalurl already exist in db then dont insert in DB, can you please correct me if my understanding is wrong or am I just missing something here

    • @athul03
      @athul03 6 หลายเดือนก่อน

      i think he wants to create unique short urls each time

  • @sksamassa95
    @sksamassa95 ปีที่แล้ว

    Thanks you so much Brooooo! My project was about this.

  • @Shredder220
    @Shredder220 3 ปีที่แล้ว

    Great explanation!!! Really like your approach of doing. Keep making such informative videos pls🙂🙂

  • @saikrishnaa1374
    @saikrishnaa1374 2 ปีที่แล้ว

    Superb ..You are teaching.. very good.

  • @athul03
    @athul03 6 หลายเดือนก่อน

    Is there any reason why you are annotating @service with the service interface and @component with the service implementation?

    • @____Alien____
      @____Alien____ 4 หลายเดือนก่อน +1

      No Specific Reason. Instead of this approach you can leave interface without any annotation and annotate the service class with @Service annotation.

  • @gauzammalhotra
    @gauzammalhotra 7 หลายเดือนก่อน

    hey!
    can you explain the "response" on line 73 in the controller
    when I'm writing the same code, IntelliJ is suggesting me that it can't resolve symbol: 'response'
    Please help!

    • @____Alien____
      @____Alien____ 4 หลายเดือนก่อน

      Instead of response use httpServletResponse

  • @sgr7ss
    @sgr7ss 6 หลายเดือนก่อน

    Nice explanation

  • @RichaKumari-ec3ud
    @RichaKumari-ec3ud 7 หลายเดือนก่อน

    hii I am not getting Apache common & Guava dependency suggest alternative for that ?

    • @____Alien____
      @____Alien____ 4 หลายเดือนก่อน

      Create project without these annotation. After creation, search these dependecies in maven repository and add in the pom.xml of your project.

  • @manobet
    @manobet 3 ปีที่แล้ว +1

    Very good!! thank you very much!

  • @MahadiHasan-qb9zw
    @MahadiHasan-qb9zw 3 ปีที่แล้ว

    how to customize the generated short url ? Like i need only 6 character in generated url ? can you help me ?

    • @CachedInsights
      @CachedInsights  3 ปีที่แล้ว

      There is no compulsion on using one of the available hashing algorithm like the one we used in the video.
      You can write you own tiny algorithm to convert the urls into smaller hashed value which is 6 characters long.

  • @dugerahypahybrahycoisaytal3891
    @dugerahypahybrahycoisaytal3891 ปีที่แล้ว

    why it's not working anymore? always receiving the message "error": "Url does not exist or it might have expired!"

    • @dugerahypahybrahycoisaytal3891
      @dugerahypahybrahycoisaytal3891 ปีที่แล้ว +2

      and this error too {"status":"200","error":"Url Expired. Please try generating a fresh one."}

    • @CachedInsights
      @CachedInsights  ปีที่แล้ว +2

      Please check we have a logic to expire the generated url automatically after sometime. If you don’t want it to expire until the generated url exists in the datastore, you can disable the logic to automatically expire the url

  • @vishalmishra1937
    @vishalmishra1937 2 ปีที่แล้ว

    unable to use murmur hash in springboot