Build a Spell Checker Web Client

Build a Spell Checker Web Client
Slide Note
Embed
Share

Interact with a spell checker web service using a servlet class and JSP page. Learn how to create a web client that communicates with the service, pass information from JSP to the servlet, and generate client stubs for service operations.

  • Spell Checker
  • Web Service
  • Web Client
  • Servlet
  • JSP

Uploaded on Apr 03, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Ingredients of a Scalable System Anshul Gupta

  2. Philosophy Functional Requirement Non Functional Requirement

  3. Functional Requirement What product Manager cares What end customer cares Example: A system which can allow people to manage/search property

  4. Identify Logical Components Property Repository Upload Image Search across Property User Authentication, Session

  5. Simplest Logical View User Auth Search Storage Property Repo UI Image Application

  6. Non Functional View System(s) Identification Tech stack choice(s) Understand Scaling Requirement

  7. System Tech View (Desktop App) Image UI User Auth Search Property Repo Storage Java Runtime

  8. Limitations? Stateful System, Image hosted as files on Server Machine Search is heaveliy dependendent on MYSQL MYSQL potential bottle neck Not horizontally scalable Image UI User Auth Search Property Repo Storage Java Runtime

  9. How to Scale Horizontally? Image Service S3 Bucket Image App CDN <html> <img src=CDN /> .. </html> Desktop App N G I N X Desktop App

  10. Monolithic System Pros - One Runtime, easy to manage and deploy - Low latency calls to other modules (nothing going on network) - Ideal choice for small scale application with low scaling requirements.

  11. Monolithic System Cons - Common runtime (thread, memory), a single bug can lead to complete application failure - Troubleshooting is difficult. Typically thread dumps, heap dumps to identify buggy API

  12. Service Oriented Architecture Pros: - Every system is a logical citizen in overall architecture. - Incremental development of feature, new functionality onboard as citizen - No shared resources - Each service scale independently. - Instrumentation @service level. Foresee problems via metrics trends. - A/B testing of new service before migrating the complete traffic

  13. Service Oriented Architecture Cons: - Multiple services to be managed, better instrumentation is a key here - Deployment has to be planned and backward compatible.

  14. NFR system characteristics Horizontally scalable Highly Available or Highly Consistent Recoverable Serviceable

  15. Benchmark Bottle necked on what? CPU RAM Disk Network

  16. Availability from App side - Hystrix (https://github.com/Netflix/Hystrix)

  17. How to Monitor Grafana - https://github.com/grafana/grafana

  18. Functional Metrics Foxtrot https://github.com/Flipkart/foxtrot

  19. Data builder framework https://github.com/flipkart-incubator/databuilderframework

More Related Content