Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the new features of RGW

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article focuses on "how to use the new features of RGW". Friends who are interested may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn how to use the new features of RGW.

12.2.3 data caching support for new features of RGW

12.2.3 enhanced cache support for rgw. The previous version of cache only implemented metadata caching, while the new version L began to implement object-based data caching, which is also based on the LRU algorithm. It is believed that there will be a better performance improvement in some scenarios with frequent reads. Note that before this, if you want to implement data caching, you always add a special caching service to the front end of RGW, such as varnish or traffic server.

Add admin command to implement cache control

12.2.3 added management commands for several admin interfaces: cache list, cache inspect, cache erase and cache zap. For more information on how to query and clean up the cache, please see PR below.

Asynchronous boost _ asio

Boost is used at the bottom of ceph, which is a C++ library. Boost has added strong asio support (also mentioned by some people in the community) since boost, which can achieve some low-level asynchronous network data communication and easily build HTTP server. From the current RGW implementation, the official introduction of a third-party small HTTP Server framework civetweb, from my personal experience, civetweb still has the following problems.

Future development: the update of civetweb features basically depends on the official team of civetweb. Rgw's team is less involved in this area, and civetweb may not be able to adapt to the future development of RGW.

PR process is complicated: all existing civetweb feature updates for RGW PR, basically feature updates for RGW need to be pushed upstream to civetweb,civetweb after merging, and then to the downstream RGW to merge, if the upstream civetweb does not accept, then can only be an independent civetweb branch, developers often need to communicate between civetweb and RGW teams to submit a PR, making the whole process much more complicated.

Civetweb's open source ecology: this is also a point to worry about. Civetweb is relatively minority compared to nginx and apache2. Although the sparrow is complete, if there is no good open source ecology to support it, the follow-up is also a relatively large pit.

At this point, I believe you have a deeper understanding of "how to use the new features of RGW". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report