Frage im Vorstellungsgespräch bei CDC Informatique

API Layer: Provide a RESTful API to accept long URLs and return shortened ones.

Antwort im Vorstellungsgespräch

Anonym

22. Mai 2025

I proposed using a hash function to convert long URLs into unique short codes and storing them in a key-value database. I mentioned the use of load balancers for handling high traffic, database replication for reliability, and Redis or Memcached for fast access to frequently requested URLs. I also explained how to implement rate limiting and logging for analytics.