Ask Your Question

new to openstack. If swift uses http and object store, how can you run mysql?

asked 2019-08-02 04:59:33 -0600

nutmix gravatar image

Ok, this is a really dumb question. With vmware, you get access to a "drive" which the os sees as if it was a local HD. It has reasonably fast random access to this drive. The actual drive could be local or on a SAN.

We are trying to see if openstack is suitable for our applications. We have been told that openstack is for new generation of scalability aware apps, not typical 3 tier arcitectured apps.

We have seen that swift uses http to communicate with an object store. http would seem to be the last choice in a protocol for an OS and its applications to access the storage.

Given the http limitation, is it feasible to run mysql, or galera cluster, on openstack?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-08-02 05:57:14 -0600

You can run database software on OpenStack, but I can't imagine an application for which Swift and Mysql are equivalent alternatives.

edit flag offensive delete link more


Swfit and mysql are not alternatives, but I understand that openstack does all its storage through swift, which uses http as the transport, not iSCSI or equivalent. I just cant imagine that mysql will perform well if the underlying OS is using http as a storage access protocol.

nutmix gravatar imagenutmix ( 2019-08-02 06:44:58 -0600 )edit

No, OpenStack doesn't do all its storage through Swift. You can run an OpenStack cloud without Swift. There are some 60-70 supported storage backends: Disk arrays, LVM, NFS, Ceph, ...

Swift is commonly used to store images and volume backups, thus your confusion I think.

Bernd Bausch gravatar imageBernd Bausch ( 2019-08-02 07:01:44 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2019-08-02 04:59:33 -0600

Seen: 37 times

Last updated: Aug 02 '19