GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SuNaMe/twitter

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 

Repository files navigation

How To Build and Run

  • Unzip twitter.zip
  • Run "java -cp ./twitter.jar:code-challenge.jar -Dfactory=com.twitter.ChirpServiceFactoryImpl com.twitter.challenge.tester.Main"

Design Constraints

  • Making use of a persistent storage for storing mappings between tiny hash and its corresponding expanded url.
  • Making use of a persistent storage for storing mappings between a long id and its corresponding chirp instance.
  • Making use of a cache instance to store the mapping between tiny hash to its corresponding expanded url, so that we can avoid fetch expanded url, given a tiny url in an efficient manner without needing persistent storage lookup.
  • Making use of a cache instance to store the mapping between chirp id to its corresponding chirp instance, so that we can avoid fetch chirp instance, given a long id in an efficient manner without needing persistent storage lookup.
  • Make use of cache for tiny hash and chirp id lookup, if not available, lookup in persistent storage and then store it into cache. This way, only the most used mappings at any point in time, would reside on the cache and thus helping avoid persistent storage lookups.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.