2023-03-12-TIL

Today I Learned

Instagram Architecture

  • https://channel.io/ko/blog/distributedlock_2022_backend

Google Pagination

내가 생각하는 검색기능과 구글의 검색기능은 차이가 있다. 우선 구글은 검색엔진과 대상 DB(아마도 도큐먼트 DB)가 별도로 분리되어 있고, 해당 DB를 참조해서 쿼리 결과를 반환할 것 이다. 반면에, 내가 주로 구현하고자 하는 검색 기능은 RDB에서 쿼리를 통해서 결괏값을 가져오는 게 전부이다. 따라서 페이지네이션도 같은 로직을 통해서 구현한다고 해서 같은 성능 개선을 기대할 수는 없다.

  • https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading
  • https://gist.github.com/kottenator/9d936eb3e4e3c3e02598
  • https://groups.google.com/g/api-craft/c/0jHKgRZ2PBY?pli=1
  • https://www.lumar.io/learn/seo/site-architecture/pagination-seo-guide/
  • https://stackoverflow.com/questions/11272108/logic-behind-pagination-like-google
  • https://www.seoclarity.net/blog/pagination-seo
  • https://www.link-assistant.com/news/seo-pagination.html
  • https://medium.com/swlh/sql-pagination-you-are-probably-doing-it-wrong-d0f2719cc166
  • https://www.cybertec-postgresql.com/en/pagination-problem-total-result-count/
  • https://itnext.io/the-best-database-pagination-technique-is-530abf2aab51
  • https://betterprogramming.pub/you-are-doing-sql-pagination-wrong-739a700acbd0