This document discusses using Rails as a backend for front (BFF) layer in a microservices architecture. It describes how Rails was used to build the BFF layer for an e-commerce site called HPB, acting as an API gateway between the client and various backend services. Key points discussed include using Puma to improve throughput, caching APIs to reduce response time, and implementing an API gateway to further optimize network performance between the BFF and backend services.
This document discusses using Rails as a backend for front (BFF) layer in a microservices architecture. It describes how Rails was used to build the BFF layer for an e-commerce site called HPB, acting as an API gateway between the client and various backend services. Key points discussed include using Puma to improve throughput, caching APIs to reduce response time, and implementing an API gateway to further optimize network performance between the BFF and backend services.
29. ベンチ:更新性能
クエリ例
LOAD DATA LOCAL INFILE
'/path/to/wikipedia_mecab.tsv'
INTO TABLE search_with_innodb_mecab
FIELDS TERMINATED BY 't'
LINES TERMINATED BY 'n'
(id,subject,content);