简体   繁体   English

ibmjstart / wp-bluemix-objectstorage的性能问题

[英]Performance issue with ibmjstart/wp-bluemix-objectstorage

My app is running on WordPress in the bluemix environment. 我的应用程序在bluemix环境中的WordPress上运行。 I have an Object Storage service in my bluemix environment where I store all my media files like pictures. 我在bluemix环境中有一个对象存储服务,其中存储了所有我的媒体文件(如图片)。

I am using the https://github.com/ibmjstart/wp-bluemix-objectstorage plugin to upload media files directly to the my Object storage when saving media files from the dashboard. 从仪表板保存媒体文件时,我正在使用https://github.com/ibmjstart/wp-bluemix-objectstorage插件将媒体文件直接上传到我的对象存储中。

Everything seems to work perfectly - the files get saved to Object storage. 一切似乎都正常运行-文件保存到对象存储。 However, when I render pages that contain a lot of images, I face a huge lag - my page takes almost 1 minute to render. 但是,当我渲染包含很多图像的页面时,我面临巨大的滞后-我的页面需要花费近一分钟的时间来渲染。

I have noticed that the images are saved in the wp_posts table with the url you would expect for WordPress and another row is saved in the wp_postmeta table for mapping the image to the object storage. 我注意到,图像以您期望的WordPress URL保存在wp_posts表中,另一行保存在wp_postmeta表中,用于将图像映射到对象存储。 During render of a page this row is used to change the url of each image and I believe that this is why my webpage is slowing down. 在页面渲染期间,此行用于更改每个图像的url,我相信这就是为什么我的网页运行缓慢的原因。

Is there any other solution or have i missed something out? 还有其他解决方案还是我错过了一些东西?

I was using the IBM Object storage V3 service which is still in Beta version. 我正在使用仍处于Beta版的IBM Object Storage V3服务。 I have decided to change to Object Storage V1 and using the v1.0 of the ibmjstart/wp-bluemix-objectstorage plugin. 我决定更改为对象存储V1,并使用ibmjstart / wp-bluemix-objectstorage插件的v1.0。

My application is now running smoothly. 我的应用程序现在运行顺利。

IBM Object Storage v3 has moved out of Beta (2/15) https://console.ng.bluemix.net/catalog/services/object-storage IBM Object Storage v3已移出Beta(2/15) https://console.ng.bluemix.net/catalog/services/object-storage

Might be worth another look, very curious to see if it was the beta service or if the plugin was causing performance issues. 可能值得再看一遍,非常想知道它是否是Beta版服务或该插件是否引起了性能问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM